Spring understanding of the overall architecture of
A), spring is used to do?
spirng using the basic JavaBean EJB to complete the previously done thing.
Two), EJB
The EJB: Enterprise JavaBean, Enterprise JavaBean.
It is used to encapsulate the business logic of the application server component for the development server.
C) compared with the spring of EJB
spring is a server-side component, but it is not limited to the development of server-side, it also has simplicity, testability, loose coupling characteristics.
Four), spring overall architecture
1.Data Access / intergration (Data Access / Integration)
1-1: JDBC (database connectivity)
1-2: ORM (object relation mappler: Object - relational mapping)
1-3: OXM (object xml mapper: object - xml mapping)
1-4: JMS (java message service: java information services for producers and consumers to consume between passing)
1-5: transactions (Transaction)
2.Web
2-1:web
2-2: Servlet (service jump)
2-3: Portlet (container management)
3.Aop (Aspect Oriented programming: Oriented Programming)
3-1: Aspects (Aspect Oriented Programming is an open source library that provides integrated support for AspectJ's)
3-2: instrumentation
4.Core container (core container)
4-1: beans (access configuration files, create and manage bean, conduct related operations Ioc and DI)
4-2: core (Core Tools)
4-3: context (the application to access context, builds on the core module and the base beans
Context is key ApplicationContext module).
4-4: Query Expression Language (runtime and manipulating objects, set / get the value of the property, the property call distribution method, accessing the context data, and indexes the container, a logical and arithmetic operators, and from the variable name Title search target container according Ioc)
5.test (supports JUnit and TestNG components for spring test)