Moderately complex enterprise applications can be developed entirely using servlets and JSP
technology. More complex business applications often use Enterprise JavaBeans (EJB)
components. The Application Server integrates the web and EJB containers in a single process.
Local access to EJB components from servlets is very ecient. However, some application
deployments may require EJB components to execute in a separate process; and be accessible
from standalone client applications as well as servlets. Based on the application architecture, the
server administrator can employ the Application Server in multiple tiers, or simply host both
the presentation and business logic on a single tier.
It is important to understand the application architecture before designing a new Application
Server deployment, and when deploying a new business application to an existing application
server deployment.
EJB
Pure
HTML
Browser
Java
Applet
Java
Application
Desktop
J2EE
Client
J2EE
Platform
Other
Device
Client-Side
Presentation
JSP
Web
Server
JSP
Java
Ser vlet
Server-Side
Presentation
J2EE
Platform
EJB
EJB
Container
EJB
Server-Side
Business Logic
Enterprise
Information
System
FIGURE1–1 JavaEE ApplicationModel
UnderstandingOperationalRequirements
SunGlassFishEnterpriseServer2.1PerformanceTuningGuide • January200920