+612 9045 4394
 
CHECKOUT
J2ee Frontend Technologies : A Programmer's Guide to Servlets, JavaServer Pages, and Enterprise JavaBeans - Lennart Jorelid

J2ee Frontend Technologies

A Programmer's Guide to Servlets, JavaServer Pages, and Enterprise JavaBeans

Paperback Published: 7th December 2001
ISBN: 9781893115965
Number Of Pages: 400

Share This Book:

Paperback

$81.22
or 4 easy payments of $20.31 with Learn more
Ships in 5 to 9 business days

Servlets and JSP (Java Server Pages) are the main way that Java is used in the Web today. These are Java programs that run on a Web server that allow HTML content to be dynamically generated (often by querying a database) and then sent via the Web to a "client" machine that made the request in the first place. Jorelid's book concentrates on teaching the programmer how to fit the various pieces together, spending as little time as possible on plumbining. By concentrating on the patterns needed for Servlet/JSP development, this book avoids the trap that all existing books on Servlets and Java Server Pages fall victim to: that of spending far too much time on the various APIs and not enough time on the bigger picture that is necessary for successful enterprise application development. Concise and relentlessly practical, Jorelid draws on his extensive consulting experience to deliver the most useful book on subject. About the author: Lennart 'Haxx' Jorelid has consulted in Java-based solutions to some of the largest European companies. Through his affiliation as a Java Manager with jGuru (one of the most popular Web sites for Java Developers), he has explained Java technology to thousands of programmers.

Acknowledgmentsp. xi
About the Authorp. xiii
Servletsp. 1
Servlet Theoryp. 3
What Are Servlets?p. 3
The J2EE Approach to Servletsp. 5
Touring the javax.servlet Packagep. 25
Touring the javax.servlet.http Packagep. 78
Maintaining State in an HTTP Connectionp. 120
Sharing Servlet Resourcesp. 125
What Are the Forwarding and Including Patterns?p. 126
Leading-Edge Patterns-in a State of Fluxp. 127
Sharing Resources between Servlets-A UML Approachp. 158
Sharing a PingerServlet Resourcep. 165
Servlet Examplesp. 185
Shopping Cart Servletp. 185
The Servlet Mediator (HTTP Tunneling Servlet)p. 217
Proceeding with Your Servlet Developmentp. 273
JSPp. 275
JavaServer Pagesp. 277
Why JavaServer Pages?p. 277
Creating a JSP Documentp. 278
JSP Tag Librariesp. 363
Describing Tagsp. 363
The Life Cycle of a Tag Handler Classp. 369
IterationTag Interfacep. 374
Touring the javax.servlet.jsp.tagext Packagep. 423
The Role of JSP Tag Libraries in Middle-Tier System Developmentp. 447
JSP Examplesp. 451
Using JSP Standard Objectsp. 451
Custom JSP Tags-Nesting and Loopingp. 477
The If-Then-Else Custom JSP Tag Examplep. 506
Strutsp. 527
The Apache Struts Framework Walkthroughp. 529
Overview of the Struts Architecturep. 529
Struts Controller Componentsp. 540
Struts Model Componentsp. 550
Struts View Componentsp. 558
The View and JSP Documentsp. 587
Error Handling in the Survey Wizard Applicationp. 602
Reflections on the Struts Framework Walk through Examplep. 604
EJBp. 607
Integrating with the Business Tierp. 609
Reviewing the Structure of a J2EE Applicationp. 609
Advantages of Using a Separate Business Logic Layerp. 610
The EJB Development Processp. 616
The EJB Life Cyclep. 679
EJB Deployment Descriptorsp. 684
Touring the javax.ejb Packagep. 723
Example 1: Centralizing Exchange Ratesp. 745
Using a Stateless Session EJB Componentp. 745
Example 2: Refactoring an Old-Style Web Applicationp. 791
The View of the Old-Style Web Applicationp. 792
The Model of the Old-Style Web Applicationp. 797
Creating a Generic EJB Facade for the Databasep. 811
The LegacyFacade EJB Component Deployment Descriptorp. 828
The Web Application Deployment Structurep. 844
Example 3: Entity EJBs for Database Integrationp. 847
Step 1-JNDI Registry Cleanupp. 848
Step 2-DataSource Schema Modificationp. 849
Step 3-Implementing the Image Subsystemp. 852
Step 4-Configuring the Image Subsystemp. 909
Step 5-Implementing the WebPage Search System Classesp. 924
Step 6-Configuring the WebPage Search Systemp. 974
Reflections on the Second Refactoring Stepp. 984
Appendixp. 987
The Java 2 Enterprise Edition Reference Implementation Serverp. 989
Configuring the Serverp. 992
Deploying J2EE Application Componentsp. 1005
Application Deployment in the J2EE 1.3 Reference Implementation Serverp. 1050
Configuring the J2EEv1.3 Serverp. 1052
Deploying J2EE Application Componentsp. 1054
Indexp. 1085
Table of Contents provided by Publisher. All Rights Reserved.

ISBN: 9781893115965
ISBN-10: 1893115968
Series: Apress Ser.
Audience: General
Format: Paperback
Language: English
Number Of Pages: 400
Published: 7th December 2001
Publisher: Apress
Country of Publication: US
Dimensions (cm): 23.55 x 19.0  x 5.08
Weight (kg): 1.87