Spring Day01

Here Insert Picture Description
Role : Decoupling
Main business logic: Function general use in a particular situation, reusability lower
transfer library hotel occupancy
CROSS business logic (system level services): Different primary operational some functions may be multiplexed
logging, processing services
Spring core
IoC: Inversion of Control: coupling solve the main business
core objects used in the program does not require programmers to new (), Spring container to create our core object
AOP: Oriented Programming: solving main service and cross traffic directly coupled
to a cross-section encapsulated into service, woven into the main business.
Filter-doFilter () - cross traffic
/ ADMIN / *
/ ADMIN / addBookServlet ---- main service
/ admin / showAllOdersServlet ---- main service

We need to use the jar package
Entry procedures required jar package
Four core package
beans.jar core.jar context.jar springexpression .jar
dependencies:
logging.jar the log4j.jar (does not display the log information may not be added) the junit.jar

Here Insert Picture Description
download link
Download packages

Here Insert Picture Description

Here Insert Picture Description

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/Theniceday_99/article/details/91959806