Microservice framework

Nacos configuration managementUnified configuration managementConfigure hot updateUpdate the configuration in one place and take effect without restartingConfigure sharingBuild Nacos clusterThe configurations in nacos are all available in the cluster and need to be hot updated.When the microservice is restarted, first read the configuration of ...

Added by prudens on Thu, 13 Jan 2022 15:42:54 +0200

SpringBoot getting started to proficient - SpringBoot custom starter

Define your own starter SpringBoot entry to mastery - Spring annotation programming (1)SpringBoot introduction to mastery - SpringBoot Introduction (II)Introduction to SpringBoot - proficient in the basic use of Spring (3)SpringBoot entry to mastery - SpringBoot integrated SSM (IV)SpringBoot introduction to mastery - SpringBoot automatic confi ...

Added by skippa on Thu, 13 Jan 2022 15:10:56 +0200

How to use thread pool gracefully

The Thread class in JAVA is a Thread class. When JAVA is based on this class, the understanding of threads is based on this class. Why not use Thread to directly execute Thread examples, but use Thread pool? You can imagine that when there are a large number of concurrent threads and each Thread executes a task for a short time, the efficiency ...

Added by madhu on Thu, 13 Jan 2022 13:53:56 +0200

SpringBoot custom starter enhanced - scan custom annotations

1. Description The last article wrote a simple version of SpringBoot custom starter. The core principle is that during SpringBoot startup, it will get meta-inf / spring. Inf in all jar packages under the classpath Factories file, go to org. Org springframework. boot. autoconfigure. Enableautoconfiguration configuration item to judge whethe ...

Added by jawinn on Thu, 13 Jan 2022 13:40:22 +0200

SpringBoot implements Excel import and export, and its performance is explosive. It is elegant enough to use,

Operating Excel to import and export is a very common requirement. A very useful tool was introduced earlier EasyPoi  . Some readers suggested that in the case of a large amount of data, EasyPoi occupies a large memory and its performance is not good enough. Today, I recommend a better Excel import and export tool EasyExcel. I hope i ...

Added by iifs044 on Thu, 13 Jan 2022 08:15:02 +0200

RabbitMQ how to ensure the reliability of messages and Spring AMQP features

Mainstream Message Oriented Middleware ActiveMQ summary from Apache Produce,Java development,support JMS1.1 Agreement and J2EE14 standard. Support a wide range of connection protocols: OpenWire/STOMP/REST/XMPP/AMQP Support multiple voice clients,Support Plug-Ins Convenient management,Easy to configure cluster agent advantage be bas ...

Added by lordtrini on Thu, 13 Jan 2022 03:50:46 +0200

Unified certification center Oauth2 high availability pit

Front( Unified certification center Oauth2 certification pit )We use user info URI to realize the authentication information and authorization acquisition judgment of the consumer. Next, we use token info URI to realize authentication and authorization. For specific configuration, see:cas-server-url: http://cas-server security: path: ign ...

Added by Kurt on Wed, 12 Jan 2022 23:21:02 +0200

Get started with spring MVC

Spring MVC Spring MVC is the mainstream enterprise level development framework to realize MVC design pattern. As a sub module of spring framework, it is more convenient to develop without integration. What is MVC design pattern? The application is divided into three layers: Controller, Model and View. The Controller receives the client reque ...

Added by luketheduck on Wed, 12 Jan 2022 21:34:38 +0200

Framework technology -- Spring ending

Spring Javaweb —Spring Spring closeout - transaction, web The key to integrating mybatis in Spring is the three objects: Datasource object, SqlSessionFactory object and dao object created by mappercannerconfig - all are completed in the configuration file. druid does not need driver information Spring transaction What is a tra ...

Added by Ashoar on Wed, 12 Jan 2022 20:33:43 +0200

Spring MVC -- HelloWorld and RequestMapping request mode

HelloWorld 1. Import jar package 2. Configure web XML file <!-- to configure DispatcherServlet --> <!-- The front controller of this Spring Web application, responsible for handling all application requests --> <servlet> <servlet-name>springDispatcherServlet</servlet-name> <servlet-class>org.springfra ...

Added by luke_barnes on Wed, 12 Jan 2022 09:52:23 +0200