java day58 [Case: CRUD use spring of IoC implementation accounts, IOC annotation-based configuration, Spring integration Junit [master]]

Chapter 1 Case: Using the spring of IoC implementation accounts CRUD

1.1 requirements and technical requirements

1.1.1 Demand

1.1.2 Technical Requirements

1.2 environment to build

1.2.1 Copy jar package

1.2.2 create a database and write entity class

1.2.3 Persistence Layer write the code

1.2.4 business layer code is written

1.2.5 create and write configuration files

1.3 Configuration Steps

1.3.1 configuration object

1.4 Test Case

1.4.1 Test Class Code

1.4.2 Analysis of test questions

Chapter 2 IOC annotation based configuration

2.1 Definition: Write on Top

2.2 environment to build

2.2.1 The first step: copy the necessary jar package lib directory to the project.

2.2.2 Step 2: Use @Component annotation configuration management of resources

2.2.3 Step 3: Create spring xml configuration file and open support for annotations

2.3 Common Notes

2.3.1 for creating an object

2.4spring managed object details

2.5spring pure annotation configuration

2.5.1 issue to be modified

2.5.2 Description new comment

Chapter 3 Spring integration Junit [master]

Issues and Solutions 3.1 test class

3.1.1 problem

3.1.2 Analysis Solutions

3.2 Configuration Steps

3.2.1 The first step: copy the necessary integration junit jar package to the lib directory

 

Guess you like

Origin www.cnblogs.com/xuweng/p/11322870.html