Notes on the development of mybatis+jpa
1. Add, delete, modify and check.
1, For the add operation, if the id is generated automatically, the primary key needs to be returned. Note that if the primary key is of Long type, the int type should also be returned, because mybatis does not support Long.
mybatis ResultMap application
My ...
Posted by krraleigh on Sun, 01 Mar 2020 19:20:45 -0800
java learning stage 5 (SpringIoC&DI)
0. framework 1
0.1 what is a framework?
Framework is a kind of combination of toolkits
We know that when I develop a function, if the function is more complex, we are likely to extract common things into tool classes, and if this tool class has many java tool classes to form a certain function, and ...
Posted by py343 on Sun, 01 Mar 2020 03:01:46 -0800
Struts2 framework -- internationalization of Struts2 and data verification of struts2
Article directory
1, Struts 2 internationalization
1. Overview of struts 2 internationalization
2. Internationalization of struts 2
2, Struts2 data verification framework
1. Steps of Struts2 data verification framework
2. Using validate method to verify data
3. Provide corresponding verification m ...
Posted by sorenchr on Sun, 01 Mar 2020 02:25:45 -0800
CAS project deployment and basic operation
Article directory
1, Deploy cas
1. Copy cas.war to webapps
2. Login page
2, CAS server configuration
2.1. Add user
2.2. Port modification
2.3. Remove https authentication
1, Deploy cas
1. Copy cas.war to webapps
Put cas.war under the webapps of Tomcat and start Tomcat
2. Login page
2, ...
Posted by noise on Sun, 01 Mar 2020 01:43:30 -0800
MyBatis source code parsing -- MyBatis initialization process parsing
1. Preparation
To see the whole initialization process of MyBatis, first create a simple Java project. The directory structure is shown in the following figure:
1.1 Product entity class
public class Product {
private long id;
private String productName;
private String productCo ...
Posted by youngsei on Sat, 29 Feb 2020 23:25:01 -0800
C#Develop windows services
Introduction to Windows Service Application
Microsoft Windows Services (formerly known as NT Services) allow users to create executable applications that can run for a long time in their own Windows sessions.These services start automatically when the computer starts, can be paused and restarted, an ...
Posted by jrbilodeau on Sat, 29 Feb 2020 19:48:13 -0800
0228 My Pandora
My Pandora
Start with a story.In the past, there was a Java programmer who liked writing programs, studying source code, and reading English documents.But it works in a small company with an old technology stack.There are many xml configurations in a single system code, configuring the entry adapters for various middleware and similar configu ...
Posted by jpr on Fri, 28 Feb 2020 10:02:51 -0800
Introduction and simple use of Spring
1. Introduction to spring
spring is a lightweight open source framework created by Rod Johnson in 2003 to solve the problem of high code coupling.
spring composition:
spring consists of 20 modules, the core of which are IOC and AOP
spring benefits:
In the process of web application development, ...
Posted by drkstr on Fri, 28 Feb 2020 03:52:52 -0800
Spring AOP custom label parsing
Article directory
AOP implementation based on XML -- label parsing
Annotation based AOP implementation -- label parsing
summary
Reference resources
stay Get to know Spring AOP In this paper, we have a preliminary understanding of the concept and implementation of Spring AOP. Then we will have a de ...
Posted by parkie on Fri, 28 Feb 2020 00:12:24 -0800
Detailed explanation of Spring AOP pointcut expression
1. introduction
The biggest advantage of object-oriented programming, also known as OOP (Object Oriented Programming), is that it can encapsulate business modules to achieve the purpose of function reuse. Through object-oriented programming, different templates can be assembled with each other to re ...
Posted by blackhorse on Thu, 27 Feb 2020 19:20:45 -0800