The first springboot project

The company's recent projects use some components in springboot and springcloud. At first, they mainly write some business code, do not know how to configure it, etc. So recently, just have time to learn, record and summarize, and welcome to make corrections. Start the first springboot project (eclipse+maven): 1. New maven project, add depend ...

Posted on Fri, 17 Jul 2020 11:28:51 -0400 by businessman332211

Java Server-side CORS Cross-Domain Configuration

Now the web program architecture tends to be more and more front-end and back-end separated, the benefits of front-end and back-end separated, not to mention here.But one of the problems we face is cross-domain.Here is a brief record of the solution on the server side. References and references to relevant parts of this article http://blog ...

Posted on Tue, 14 Jul 2020 10:34:25 -0400 by jonasr

gradle configuration skills for a complete Android project

Gradle configuration skills I summarized four gradle configuration skills, which can be more convenient for debugging and packaging in Android projects 1. Use gradle's custom Property to realize unified management of configuration and dependency of Android project 2. Use gradle's produc ...

Posted on Tue, 30 Jun 2020 12:40:10 -0400 by Tomcat13

Using Netty to implement RPC

As an asynchronous event driven network application framework, Netty can be used to rapidly develop maintainable high-performance servers and clients. The bottom layer of Dubbo, a famous RPC framework in China, uses Netty as network communication. In this article, we will explore the nature of RPC fr ...

Posted on Tue, 30 Jun 2020 00:00:16 -0400 by adams0423

Quick media Chinese QR code support

Quick media Chinese QR code support Quick-Media The project provides a series of out of the box tools for multimedia operations, such as image editing and synthesis, markdown/html/svg rendering, audio processing; and of course, the two-dimensional code generation and analysis highlighted in this paper QRcode plugin supports the generation of ...

Posted on Mon, 29 Jun 2020 22:22:46 -0400 by webref.eu

Installation and use of neven private service Nexus

Transferred from: https://blog.csdn.net/ThinkWon/article/details/94346681 Whenever and wherever possible, dry cargo is read more and technical resources are obtained. Source code and learning materials are collected. Please pay attention to source code community official account (ydmsq666) and Gabor ...

Posted on Sun, 28 Jun 2020 23:34:32 -0400 by error_22

Call WebService interface

Last level we talked about generating maven project. In this episode, we talk about generating JavaBeans and String loaded Bean tool classes. 1. Add test class dependency <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> ...

Posted on Sun, 28 Jun 2020 01:59:41 -0400 by duncanmaclean

Spring cloud Part 3: service provision and Feign call

In the previous article, we introduced the construction of the registration center, including that of the cluster environment. This article introduces how to use the registration center, create a service provider, and use a simple client to call the services provided by the server. In this article, there are three roles: service provider, servi ...

Posted on Sun, 28 Jun 2020 00:34:28 -0400 by Hokus

What does Dubbo want to do with a gateway? Try to integrate Spring Cloud Gateway

1, Background In the microservice architecture, API gateway is very important. As a global traffic portal, the gateway is not only a reverse route, but also a public "service" (Gateway) to extract the common needs of various edge services (Web layer), such as security authentication, authority control, current limiting and fusing, mo ...

Posted on Sat, 27 Jun 2020 22:21:41 -0400 by erikjan

Spring Boot integrates Dubbo and uses zookeeper as the registry

preface The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions! Knowledge points to understand Dubbo and zookeeper environments and what they are Spring Boot knowledge points, limited to package structure pom dependency ...

Posted on Sat, 27 Jun 2020 02:39:33 -0400 by dhillarun