Detailed explanation of pom file in Maven
Using Maven in the IDE
IDE tools
MyEclipse Integrated maven plug-in Eclipse
Eclipse For Java EE
IDEA Integrated Maven plug-in In IDE Configure Maven
Specify maven installation directory and configuration fileAutomatically update maven projects: check import projects automatically (2020 version: Ctrl + Shift + O)
Create Maven proje ...
Posted by Aleks on Fri, 21 Jan 2022 22:47:23 +0100
Spring02--IOC starting example analysis + essence + case (step by step) + points for attention + extended knowledge
IOC starting example analysis
Raw data
1. Create a blank maven project
2. Write a UserDao interface first
public interface UserDao {
public void getUser();
}
3. Write Dao's implementation class again
public class UserDaoImpl implements UserDao {
@Override
public void getUser() {
System.out.println("Get user");
}
}
4. ...
Posted by Pottsy on Fri, 21 Jan 2022 07:23:18 +0100
Do you really understand reflection?
1. What is reflection
1. First knowledge reflex
When I first started to learn reflection, I was confused. This thing is really "abstract mother opens the door to abstract - abstract is home."
Why do you need to get the Class object before creating an object? Isn't that unnecessary? Isn't it easier for me to new directly?
What is ...
Posted by s2r on Fri, 21 Jan 2022 05:02:53 +0100
What about MyBatis annotation development of SSM / MyBatis annotation development in IDEA? How to use the MyBatis annotation?
Write before: Continue to record your MyBatis learning journey. If you don't understand it, it is recommended to read it first Previous blogs , detailed codes can be found in My Gitee warehouse SSM learning Clone download learn to use!
3.11 annotation development
3.11.1 notes
MyBatis can also be developed with annotations to reduce the writi ...
Posted by charlieholder on Wed, 19 Jan 2022 12:05:18 +0100
SMBMS supermarket order management project
SMBMS
Basic architecture
database
Database architecture
[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-vli3iozs-1626496921096) (C: \ users \ Hasee \ appdata \ roaming \ typora user images \ image-20210715140247552. PNG)]
...
Posted by webbyboy on Wed, 19 Jan 2022 05:29:36 +0100
maven authentication when publishing components
1. Release
mvn deploy is used to distribute the artifacts generated by the project to the remote Maven warehouse.
The components of the local Maven warehouse can only be used by the current user. After being distributed to the remote Maven warehouse, all users who can access the warehouse can use your components. To do this, you need to creat ...
Posted by Oldiesmann on Wed, 19 Jan 2022 05:15:17 +0100
Java arrays that can't be used, from bronze to King, fully parsed arrays, recommended collection!!!
Like and watch again to form a habit
catalogue
1. Definition of array
2. array traversal
3. Conversion between List and array
4. Possible problems
Regular benefits
1. Definition of array
Declare before use
Data type [] array name = new data type [length]; String[] arr3 = new String[5];
Data type array name [] = new data type ...
Posted by jmdavis on Wed, 19 Jan 2022 03:04:55 +0100
How do I get the type of a generic in a collection object?
1. The concept of generics
Generic concept
Generic type: parameterized type, that is, the type of data to be operated is uncertain at the beginning. Only when it is used can it be determined. Specify the data type to be operated as a parameter, and pass in a specific type when it is used to realize code templating.
2. Problems encountered in ...
Posted by steveangelis on Wed, 19 Jan 2022 01:23:38 +0100
Java Web: Filter
1, What is a filter
1. Filter is one of the three major components of Java Web. The three components are: Servlet program, Listener listener and filter filter
2. Filter is a Java EE specification. That is, the interface.
3. The function of Filter is to intercept requests and Filter responses.
Common application scenarios:
1. Permission che ...
Posted by azaidi on Tue, 18 Jan 2022 15:33:29 +0100
Exercise (object oriented 1)
The running result of the following Java code is public class Dog { String name=null; int age = 10; public Dog() { this.name = "Wangcai"; this.age = 20; } public void show(){ System.out.println("Name:" + name + "age:" + age); } public static void main(String[] args) { new Dog().show(); } } //Name: Wangcai age: 20 I ...
Posted by ignite on Tue, 18 Jan 2022 04:46:57 +0100