What's 1,j2ee?
Java 2 Platform Enterprise Edition is a software platform for creating large application software and service systems on the server side. Java EE is suitable for the development of large-scale business systems, this level of system distribution and running on multiple computers, interaction between each other unusually frequent. The Java EE platform provides the interface and standard services to achieve this capability. 2, what's the effect?
A collection of APIs, services, and protocols for implementing distributed computing. The goal is to provide support tools for developers to reduce development complexity, shorten development cycles, and improve system performance.
3, basic understanding 1) Architecture
2 three Components Web Components: including JSP, Servlet, JSF, etc., running on the server. EJB Component: Java class that is used to complete business logic, running on the server. Client components: Including Java applications, applets, etc., running on the client.
Three components is to facilitate the Java EE application function module, generally composed of functional code classes and related files, and other components to communicate, complete the corresponding level of function.
3) Four levels
Customer Layer
Client: The portion of the presentation layer that interacts with the user.
Server side: Java EE application Server, responsible for deploying Web Components and EJB components, providing basic services for these components, while allowing clients access to these components
Presentation Layer
JSP: is a "view" component in Java EE, a text file that creates a dynamic Web page based on client requests.
Including HTML tags, jsp tags, java code
Servlet: Is a Java class that interacts with a Web customer using a request/corresponding pattern based on the HTTP protocol
Business Logic Layer
EJB: Is a Java component that implements distributed business logic.
Role: To provide customers with distributed and deployable business logic services, with well-defined interfaces, reusable between application servers, and executed within containers providing management and control services.
Data Tier
Above is the basic understanding of the Java EE, the following content there are many ...