| < Free Open Study > |
|
We have considered servlets and how they fit into the multi-tiered J2EE infrastructure. J2EE and servlets offer a wide range of services through the range of APIs provided. Servlets have a range of advantages in enterprise web applications such as security, cross-platform and cross-server portability, protocol flexibility, as well as a wide range of J2EE APIs available for the servlet developer to make use of.
In the chapter we examined the J2EE container architecture and the web container architecture in particular. We saw that containers manage and provide services for the components they contain. Web applications and components, and their place in the web architecture were also discussed.
We noted that the Tomcat web server/container is the reference implementation of the Servlet 2.3 specifications, although there are many other implementations of the specifications too, which means that we can choose the one best suited to the needs of our web application.
We finished the chapter by considering the range of possibilities that business web applications could encompass, and examined the roles that servlets had to play in such applications. The variety of roles we saw illustrated the versatility of these components.
In the next chapter we will look at the Servlet 2.3 API in detail. We will see the recent developments in the API and start to develop and run servlets using the Tomcat reference implementation.
A |
---|
applet container, 10
application container, 10
architectures
auction e-business
authentication
authorization
|
B |
---|
bus network topology, 2 business tier
|
C |
---|
Catalina
CGI (Common Gateway Interface)
client containers
client tier
communication
components
containers
CORBA (Common Object Broker Request Architecture), 5 |
D |
---|
database connectivity
|
E |
---|
e-commerce store
EJB (Enterprise JavaBean) container, 11
Enterprise Architecture, 2
|
H |
---|
HTTP (Hypertext Transfer Protocol), 4 |
J |
---|
J2EE (Java 2.0 Platform Enterprise Edition)
J2EE connector architecture
J2EE container architecture, 7
J2EE platform
J2EE web components
J2SE (Java 2 Platform, Standard Edition)
JAAS (Java Authentication and Authorization Service
Java servlets
JavaMail
javax.servlet package
javax.servlet.http package
JAXP (Java API for XML Processing)
JMS (Java Message Service)
JNDI (Java Naming and Directory Interface)
JSP (JavaServer Pages)
JTS (Java Transaction Service)
|
L |
---|
legacy system interface
|
M |
---|
messaging in J2EE
middle tier
|
N |
---|
networks
|
P |
---|
packages
presentation tier see web tier, 6 protocols
|
R |
---|
reservation system
ring network topology, 2 RMI (Remote Method Invocation)
RPC (Remote Procedure Calls)
|
S |
---|
sales e-business
security
server tier see middle tier. Servlet 2.3 API
servlet based applications
Servlet specification implementation, 13
servlets
star network topology, 2 |
T |
---|
TCP/IP (Transmission Control Protocol/Internet Protocol), 4 tiered architectures, 5
Tomcat
|
W |
---|
web applications
web container, 11
web server
web services
web tier
|
| < Free Open Study > |
|