Integration of SSM framework

1. Create database first 2. Create project 3. Import required coordinates 4. Configure mybatis (using annotation method), and write SqlMapConfig.xml, the content is as follows (Dao layer configuration), and test <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLI ...

Posted by snrecords on Wed, 05 Feb 2020 16:23:23 +0100

Using external Servlet container in SpringBoot

1, Comparison between the spring boot embedded Servlet container and the external Servlet container The embedded Servlet container application packs the program as Jar package, and the external Servlet container application packs the program as War package. Advantages of embedded Servlet container: s ...

Posted by halfman on Tue, 04 Feb 2020 18:49:04 +0100

How to write the SSM integration configuration file?

Article directory 1, Setting up the environment 1. Create Maven project 2. Import dependency 1. Version lock 2. Import dependencies dependencies 3. Write entity class 2, Integration 1. Configure SqlMapConfig.xml 2. Configure springmvc.xml 3. Configure applicationContext.xml (the commonly used na ...

Posted by StefanRSA on Tue, 04 Feb 2020 18:25:11 +0100

Nacos configuration center

The configuration of Nacos configuration center can be obtained by Namespace, group and Data ID to locate a configuration set. 1. Configuration set (Data ID) In a system, a configuration file is usually a configuration set. A configuration set can contain various configuration information of the sy ...

Posted by Yippee on Tue, 04 Feb 2020 12:42:35 +0100

Spring framework learning notes Xml advanced configuration

The second chapter has written the basic configuration method of XML, so this one starts to write the advanced configuration of XML (nothing, maybe I just said that...) Talk less now 1. Relationship between beans: inheritance or dependency If you configure two beans, but find that many of the prope ...

Posted by todding01 on Tue, 04 Feb 2020 11:11:47 +0100

Chapter 1 of java - Basic Grammar

java learning resources https://www.bilibili.com/video/av37413483 1. Process control statements 1. Sequential structure From top to bottom, from left to right, brackets are counted first; public class Test { public static void main(String[] args) { //Execute from top to bottom int a = 10; Sys ...

Posted by paulnaj on Tue, 04 Feb 2020 03:20:46 +0100

Sending and receiving data of Kafka

First, configure the port number and the topic should be Second, load the configured producers and consumers in spring bean.xml As follows: Consumer: consumer configuration <?xml version="1.0" encoding="UTF-8"?> <bean id="consumerProperties" class="java.util.HashMap"> <constructor-arg&g ...

Posted by francoisp on Sun, 02 Feb 2020 18:44:41 +0100

RSA algorithm -- using private key signature and public key verification signature

1. Symmetric encryption and asymmetric encryption Encryption technology is the most common security means. The key of data encryption technology is encryption / decryption algorithm and key management. The basic process of data encryption is to process the original plaintext file or data according t ...

Posted by Mod-Jay on Sun, 02 Feb 2020 13:47:27 +0100

Day30 - specifies the priority of the facet

1, Knowledge reserve When more than one facet is applied to the same join point, their priority is uncertain unless explicitly specified The priority of facets can be specified by implementing the Ordered interface or by using the @ Order annotation Implement the Ordered interface. The smaller the r ...

Posted by truckie2 on Sat, 01 Feb 2020 15:28:34 +0100

Get to know SpringBoot in one article

Write before I should have gone to Hangzhou on February 2nd to find a job, because the outbreak of the epidemic had to postpone my trip. Why not do anything at home?Better play games and watch movies than go out and brag with the interviewer.I first came into contact with SpringBoot in Black Malleyou S ...

Posted by theda on Fri, 31 Jan 2020 02:12:37 +0100