Use of RMI in Java

RMI introduction RMI (Remote Method Invocation) model is a distributed object application. Using RMI technology, objects in one JVM can call object methods in another JVM and obtain the call results. The other JVM here can be on the same computer or a remote computer. Therefore, RMI means a Server side and a Client side. The Server side usu ...

Posted by Mgccl on Fri, 11 Feb 2022 17:52:06 +0100

Building microservices from scratch: annotation function integration and password encryptor adjustment

Annotation function integration So far, there are a few customized annotations on the entry class of each micro service module, such as the entry class of Elsa server demo module: @EnableDiscoveryClient @SpringBootApplication @EnableGlobalMethodSecurity(prePostEnabled = true) //Annotation indicating permission to open Spring Cloud Security @E ...

Posted by laurajohn89 on Thu, 10 Feb 2022 02:15:54 +0100

Lecturer management module of grain College (back end) | swagger | unified log | unified return result

1, Instructor query function 1. Write query controller code content @RestController @RequestMapping("/eduservice/teacher") public class EduTeacherController { @Autowired private EduTeacherService eduTeacherService; // Instructor query all data list // Use restful style @GetMapping("findAll") public List<EduTea ...

Posted by mattd8752 on Wed, 09 Feb 2022 19:28:16 +0100

Microservices have everything from code to k8s deployment series (II. Gateway)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...

Posted by pedromau on Wed, 09 Feb 2022 17:14:31 +0100

6. Microservices family - distributed transaction Seata

Catalog Spring Cloud Alibaba microservice series articles 0. Spring Cloud Alibaba micro service series - preparations1. Spring Cloud Alibaba micro service series - service registry Nacos2. Spring Cloud Alibaba micro service series - configuration center Nacos3. Spring Cloud Alibaba micro service series - service call Open Feign4. Spring Cloud ...

Posted by remlabm on Tue, 08 Feb 2022 16:02:30 +0100

Use qiankun to build micro services

Use qiankun to build micro services background A WEB-based management system contains several separate modules, which are not coupled with each other. If they are placed in the same project and maintained by several people at the same time, it is not conducive to management. The launch of a single sub module will pose a great risk to the full ...

Posted by gillypogi on Tue, 08 Feb 2022 07:37:38 +0100

GoFrame framework (RK boot): fast implementation of CSRF verification

introduceThis article describes how to pass rk-boot Implement the CSRF verification logic of the server.What is CSRF?Cross Site Request Forgery (English: Cross Site Request Forgery), also known as one click attack or session riding, usually abbreviated as CSRF or XSRF, is an attack method to coerce users to perform unintentional operations on t ...

Posted by Cailean on Mon, 07 Feb 2022 09:01:54 +0100

springBoot and Micro Services

Spring 1,Spring 1.1. Introduction: Spring:spring spring concept: making existing technology easier to use is a hodgepot in itself SSH: Struct2+Spring+Hibernat SSM: SpringMVC+Spring+Mybatis <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --> <dependency> <groupId>org.springframework</gr ...

Posted by JJ2K on Sun, 06 Feb 2022 18:10:15 +0100

Microservice design guidance - use the "dead letter delay" queue to completely solve the database "deadlock" problem during business timeout compensation

brief introduction We often encounter the scenario of business timeout. For example: after the payment is requested to the payment gateway, but the payment gateway is either due to the problem of the third-party payment channel or the network, the payment callback is not "successful" or there is no callback request to notify the ...

Posted by Zoofu on Fri, 04 Feb 2022 11:06:31 +0100

GoFrame framework (RK boot): differentiated configuration file (Config) based on cloud native environment

introduceThrough a complete example, in gogf/gf In the framework, the configuration files are distinguished according to the environment. That is, how to read different configuration files in [test], [Online] and other environments.We will use rk-boot To start gogf/gf Microservices.Please visit the following address for a complete tutorial:http ...

Posted by westair on Thu, 03 Feb 2022 13:08:00 +0100