First, let's take a look at the Java platform. Currently, the Java platform has three versions: javame for small devices and smart cards (Java platform Micro Edition, Java Micro Edition) javase (Java platform Standard Edition, Java Standard Edition) for desktop systems, javaee (JAVA Platform Enterprise Edition, Java Enterprise Edition) for enterprise-level applications)
Javaee is a standard for developing distributed enterprise-level applications.
Typical Web applications based on a three-tier architecture
Advantages of the three-tier structure of javaee:
Changes to one component do not affect other components.
Because the presentation layer and the data layer are independent of each other, the presentation layer can be easily expanded to make the system highly scalable.
Reduce code duplication and share code among the three components as much as possible
Good division of labor and collaboration. This will allow different groups to develop different parts of the application independently and give full play to their respective strengths and advantages.
Java EE technical content
Presentation Layer
- Html
- Javascript
- The main function of AJAX is to send requests asynchronously to the server, process data, or refresh the display Page Based on the returned data.
Middle Layer
- JSP-server page displaying dynamic content
- Servlet-receives client requests and makes corresponding Java programs
- Jstl-Auxiliary SP display
- JavaBean-javaee model component
- The Struts-Struts framework extends the Servlet
Data Layer Technology
- JDBC-Java Database Connectivity: Java Database Connection
- The Hibernate-data layer framework provides us with the ability to operate relational database data in the form of Objects
System Integration Technology
- JAX-WS-Java API for XML Web Service, an important part of javaee platform, simplifies the Java technology development web service work
- JNDI-Java Naming and directory interfance is a group of APIs that access naming and directory services in Java applications. The Naming Service associates objects with names, you can also find the corresponding object by name.