Wiley Professional Oracle WebLogic Server 978-0-470-48430-2 Manuel D’Utilisation

Codes de produits
978-0-470-48430-2
Page de 30
Patrick
c01.tex
V3 - 09/18/2009
12:15pm
Page 1
Building Web Applications
in WebLogic
Web applications are an important part of the Java Enterprise Edition (Java EE) platform because
the Web components are responsible for key client-facing presentation and business logic. A poorly
designed web application will ruin the best business-tier components and services. In this chapter,
we review key web application concepts and technologies and their use in WebLogic Server,
and we provide a number of recommendations and best practices related to web application design
and construction in WebLogic Server.
This chapter also provides the foundation for the discussion of recommended web application archi-
tectures in Chapter 2 and the construction and deployment of a complex, realistic web application
in Chapters 3, 4, and 5.
Java Ser vlets and JSP Key Concepts
In this section we review some key concepts related to Java servlets and JavaServer Pages. If you
are unfamiliar with these technologies, or if you need additional background material, you should
read one of the many fine books available on the subject. Suggestions include Head First Servlets
and JSP: Passing the Sun Certified Web Component Developer Exam 
by Bryan Basham et. al. (O’Reilly &
Associates, 2008), Java Servlet Programming Bible by Suresh Rajagopalan et. al. (John Wiley & Sons,
2002), and Java Servlet Programming by Jason Hunter (O’Reilly & Associates, 2001).
Characteristics of Servlets
Java servlets are fundamental Java EE platform components that provide a request/response inter-
face for both Web requests and other requests such as XML messages or file transfer functions. In
this section, we review the characteristics of Java servlets as background for a comparison of servlets
with JavaServer Pages (JSP) technology and the presentation of best practices later in the chapter.
COPYRIGHTED MATERIAL