Introduction
04 November 2025 20:52
J2EE: (java 2 Enterprise Edition):
1. It is platform for building and running enterprise level applications for java
2. It is a specification
3. J2EE extends J2SE with APIs and tools for developing large scale distributed multi tier application
4. It provides a standardized, component based architecture for web base applications that are portable ,scalable and secure
Layers in J2EE for web applications
Presentation Layer
Web Layer
Business Logic Layer
Persistence Layer
Difference Between Web Server and Application Server
1. Web server: it handles HTTP request and response
it handles mainly static content
passes dynamic request (JSP or Servlet) to the appropriate container or engine
2. Application Server: it provides an environment to run business logic and manage enterprise level services such as transactions, security messaging and persistence
it can host web applications and complex enterprise applications built with technologies like EJB(enterprise java beans), JMS(java messaging service),JPA(java persistence API)
New Section 1 Page 1