Home > Store

J2EE Technology in Practice: Building Business Applications with the Java 2 Platform, Enterprise Edition

Register your product to gain access to bonus material or receive a coupon.

J2EE Technology in Practice: Building Business Applications with the Java 2 Platform, Enterprise Edition


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2001
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-74622-0
  • ISBN-13: 978-0-201-74622-8

Since its introduction, The Java 2 Platform, Enterprise Edition (J2EE) has achieved remarkable success among application server providers and their customers. More than a dozen leading application server companies have announced J2EE compatible products, and over one million developers have downloaded the J2EE SDK from Sun's J2EE Web site (http://java.sun.com/j2ee).

Today, numerous enterprises face the challenge of developing distributed applications. IT professionals deal with a variety of issues: connecting dispersed users with centralized applications, building applications quickly and efficiently, and connecting heterogeneous clients and servers.

J2EE in Practice provides ten examples of ways that J2EE technology has helped leading corporations, educational institutions, and government organizations face these challenges and reap significant rewards. Chapters in this book explore how:

  • JCrew enhanced its traditional catalog sales operation using J2EE technology from Art Technology Group (ATG).
  • One of the country's largest mortgage companies, HomeSide Lending, produced innovative online lending services using the BEA WebLogic server.
  • The Borland Application Server enabled AT&T Unisource to respond quickly to demand in long-distance voice traffic routing.
  • Codexa Corporation used Brokat's GemStone/J platform to deliver information for widely dispersed financial services professionals.
  • eTapestry.com delivers applications to assist nonprofits in their fundraising using GemStone/J and Sun Microsystem's Forte for Java development environment.
  • Altura International used the HP BlueStone J2EE platform to implement the Web's first online catalog shopping portal, catalogcity.com.
  • IBM customers Honeywell and Bekins use Java technology to improve processes on the manufacturing floor and in the warehousing and delivery of large consumer products.
  • International Data Post (IDP), a service owned by seven European postal operators, brought snail mail to the Internet age using iPlanet's J2EE technology.
  • Physics research institute CERN worked with Oracle to provide electronic document handling services to over 5000 users worldwide.
  • J2EE technology helps the US Military Traffic Management Command, Freight Systems Office (FSO) manage and control costs of small package shipping.


Sample Content

Online Sample Chapter

International Data Post Brings Snail Mail to the Internet Age with iPlanet

Downloadable Sample Chapter

Click below for Sample Chapter related to this title:

Table of Contents



About the Editors.

1. A Multi-Vendor Standard for Distributed Enterprise Applications.

The Networked Economy

Why Standardize?

Why Standardize on JEE?

Why a Standard Based on Java Technologies?

Why a Book of Success Stories?

2. Overview of the JEE Technology and Architecture.

The Evolution of Distributed, Multitier Applications.

JEE Platform Architecture and Technologies.

Components and Containers.


Java Servlet Technology.

JavaServer Pages.

Enterprise JavaBeans.

JEE Standardized Services.

Application Configurations Supported by the JEE Architecture.

JEE Roles.

Things to Come.

3. J.Crew Rebuilds its Web Presence with the ATG Dynamo Suite.

Technology Evolution.

Why JEE Technology?

Problem/Opportunity Profile.

Scalability Limitations.

Personalization and Segmentation.

Cross-Channel Integration Opportunity.

Collaboration with Sun Professional Services.

Solution Analysis.

User Scenario.

Connection Pooling.

Caching Database Requests.

Dynamic, Personalized Presentation.

Multilingual Support for Expansion into New Markets.

Transaction Scenario.



Looking Forward.

4. HomeSide Deploys Electronic Lending on BEA's WebLogic JEE Server.

The Project.

The Company.

Technology Adoption.

Business Problem.


Technology Choices.

Java Technology.


Vendor Selection.

Application Architecture.

Client Tier.

Web-Server Tier.

Application-Server Tier.

Database Tier.

Data Integration.

Solution Analysis.

Enterprise JavaBeans (EJBs).

Session Maintenance

Entity Beans.


Interaction with Existing Applications.

Servlets and Java ServerPages.



Oracle Database.


Current Results.

Future Directions.

Distributed Deployment.


Lessons Learned.

5. Unisource: CostOptimized Routing Environment on the Borland AppServer.

Technology Adoption.

Business and Technological Challenges.

Business Problem.



Approaching the Challenges.

Architecture Choice.

Vendor Selection.

The Solution.

Architecture Overview.

Client Tier.

Web-Server Tier.

Application-Server Tier.

Process Tier.

Database Tier.

Life after CORE.



6. Codexa: Building a Big Bang Architecture with Brokat's GemStore JEE Server.

Codexa "Big Bang" Architecture Explodes onto the Scene.

Charting Galaxies of Financial Information.

JEE Helped Codexa Bring Order to Its Universe.

System Architecture: Layers Upon Layers.

GemStone/J Provides the Power.

JEE Provides the Tools.

Application Architecture: Billions and Billions of InfoBytes.

Data Acquisition.

Data Distribution.

Data Evaluation and Classification.

KnowledgeMQ and Filters.


The Working Solution: Codexa in Action.

Achieving the Big Bang.

Channel Neutrality.



Very High Availability.

Precision Failover.

Transparent Client Session State Persistence.

Lifecycle Management and Availability.


Codexa Through Time.

7. Java Technology Builds eTapestry.com ASP for Charities with Forte Tools.

The Project.

The Company.

Technology Adoption.

Opportunity: The Business Problem.


The Solution.

Technology Choices.

Java Technology.

Extensible Markup Language (XML).

Vendor Selection.

Application Architecture.

Client Layer.

Web-Server Layer

Application-Server Layer

Solution Analysis

Servlets and Java Server Pages.

Java Mail API.

Java Naming and Directory Interface (JNDI).

Java Secure Sockets Extension (JSSE).

Object-Oriented Database.

Future Directions.

Distributed Deployment.

Java Messaging Service API (JMS).

Partner Integration.

A Rich Tapestry.

8. HP Bluestone's TotaleServer at Altura International: Deploying JEE for Performance and Scalability.

The Company.

The Challenge.

The Solution.

Benefits of the HP Bluestone Implementation of JEE.

Altura Merchant Operating System.

Constructing the Altura Merchant Operating System.

Growing but not Scaling.

Sourcing a Viable Solution.

HP Bluestone TotaleServer and the JEE Specification.

TotaleServer's Universal Business Server and the JEE Specification.

Developing Applications for HP Bluestone TotaleServer.

.Deploying TotaleServer.

HP Bluestone EJB Server.

Monitoring JEE Applications.

Load Balancing.

Fault Tolerance.

Configuring the Altura Merchant Operating System Framework.

A Structure of Servlets.

The Role of XML and JSPs.

Benefits of the JEE Platform and HP Bluestone to Altura.

9. Honeywell and Bekins Succeed with IBM.

IBM and the Evolution of e-Business.

IBM Application Framework for e-Business.

The Java Platform.

IBM and the JEE Standard.

Key Java Technologies.

Application Programming Model.

Network Infrastructure.


Computing Environment.

Computing Infrastructure.

Company Vision.

JEE Technology Projects at Honeywell.

Lessons Learned.



Who is HomeDirectUSA?

Company Vision.

Initial Obstacles.

Why Java Technologies.



Shipment Tracking

Development Team.

Computing Environment.

Lessons Learned.

Maintenance and Performance.


Future Direction.

10. International Data Post Brings Snail Mail to the Internet Age with iPlanet.

Company Profile.

Hybrid Mail: The Technology Evolution.

Why JEE Technology?

Problem/Opportunity Profile: The Applet Dilemma.

Collaboration with Sun Professional Services.

Solution Analysis: The Lifecycle of a Hybrid Letter.

Future of Hybrid Mail.

A Multitiered Architecture.

A Bounty of Benefits.

11. CERN Simplifies Document Handling Using the Oracle Application Server.

EDH Application.

Why Move to JEE Technologies?

Why Use EJB?

.Why Choose Oracle JEE Products?

The EDH Component Model.

EDH Document Servlet.

EDH ServletExecutor.

Common Business Objects.

Common Input Objects.

Runtime Scenario.

Migration to EJB: First Steps.

The Currency Bean.

The Converter Bean.

Taking Stock.

The CERN Material Request.

The CERN Stores Catalog.

The Material Request Bean.

Object Relationships.

Deployment Descriptors

The Material Request Bean.

The Material Request Executor (Session) Bean.

Putting It All Together.

The Oracle Enterprise Java Engine (Oracle EJE).

Java Virtual Machine Overload.

Load Balancing.

CERN's Experience.

Expensive Entities.

Oracle EJE Accelerator.

Future Work.

12. USMTMC Overhauls Small Package Shipping with SunPS.

Global Freight Management, Military Traffic Management Command, Mission.

Technology Evolution.

Why JEE Technology?

The Small Package Application.

Collaboration with Sun Professional Services.

Solution Analysis.





This book is for the skeptics. In 1996, the skeptics thought the Java platform would have inadequate performance for Internet and intranet servers. But they were proven wrong: Thousands of scalable Java technology-based servers are now online. In 1997, the skeptics said that Sun's community consensus-building process could not compete with established standards processes to produce a viable platform. But it did--with an overwhelming groundswell. In 1998, the skeptics said the J2EE platform would be too big and complicated to implement, and that Sun would be unable to get others to adopt it. But it was widely adopted, and the design proved very powerful. In 1999, the skeptics said the J2EE platform would come out years late, that it would take too long to complete specifications, a reference implementation, and a compatibility test suite. But the J2EE platform came out right on schedule at the end of the year, with all these deliverables. In 2000, the skeptics said that vendors wouldn't take the compatibility tests seriously and would not implement the J2EE platform in their mainstream products. But they did; all the leading vendors became J2EE licensees, and a dozen vendor products have already passed the extensive J2EE compatibility test suite. In 2001, the skeptics questioned whether real enterprise applications would be implemented and deployed successfully on the J2EE platform. But they have been. This book is the proof.

This book is for the optimists--developers, engineering managers, CTOs, CEOs, and others who will have the foresight to bet their enterprise on a promising state-of-the-art platform that can put them ahead of their competition. In this book, these people will find examples that will help them design their own solutions, and case studies to demonstrate to their colleagues that J2EE is a powerful, proven platform. There have been nearly a million J2EE platform downloads from Sun since its release a year ago, not to mention thousands of customers who use J2EE-compatible products from one of the two dozen vendors that have licensed the J2EE platform to date.

This book is for those who want to better understand the J2EE platform. It demonstrates the most important feature of the platform--that it is an industry-wide initiative, with support and contributions from many companies and many people. The J2EE platform is not one product from one company. It's a standard framework around which the leading enterprise vendors are competing to build innovative, high-performance, distributed enterprise software platforms. In the pages of this book, you will find contributions from BEA, IBM, iPlanet, Oracle, and half a dozen other vendors, as well as their customers: AT&T, Bekins, CERN laboratories, the U.S. Army, and many others.

This book is for all the people who are already involved with the J2EE platform. The success of the platform is the result of outstanding work and vision from a lot of people. I would personally like to thank those people. In this book, you will read about the most important of them--the people who took the J2EE platform into the trenches to solve business problems and reap the benefits of this new technology. Their experience is enlightening. The book's editors, Rick Cattell and Jim Inscore, are ideally suited to bring these experiences to you: Jim has managed all the technical writing for the J2EE platform, and Rick was instrumental to the inception and technical architecture of the J2EE platform. We hope you enjoy reading the book as much as all these people enjoyed working with this technology.

Patricia Sueltz
Executive Vice President
Software Systems Group
Sun Microsystems, Inc.
May 2001




Abercrombie, Hank, 257, 263, 270
Abstractions, putting, into code, 105-110
Accelerators, 248, 252
ACID properties, 85, 122
ActionDescriptor component, 95
"Aiming to do nothing," principle of, 81, 98
Altura International, 157, 178-179. See also AMOS (Altura Merchant Operating System)
AMOS (Altura Merchant Operating System)
configuring, 173-178
constructing, 160-163
Apache Foundation, 147
Apache Xerces XML API, 68
Apache Web servers, 68, 147
Application Server (ATG Dynamo), 38, 43-46, 48, 49-51
Application-server tier, 66-67. 91, 97-99, 148-149
Application service providers (ASPs). See ASPs (application service providers)
Application tier, 48-49, 51
AppServer (Borland), 78-112
application-server tier and, 97-99
selection of, 89-90
solution provided by, 90-92
ART*Enterprise system, 59, 68, 69
Art Technology Group, 30
ASPs (application service providers), 50-52, 115-136, 139, 140
Asynchronous messaging, 25. See also JMS (Java Message Service)
AT&T Unisource, 79-112
ATG Dynamo suite
Application Server, 38, 43-46, 48, 49-51
basic description of, 37
caching database requests and, 46-47
Commerce Server, 38, 44, 46, 50
Global Services, 38, 41
multilingual support with, for expansion into new markets, 47-49
Personalization Server, 38, 46-47, 50
solution analysis and, 43-52
transaction scenarios and, 49-50
using, 35-54
Attributes, 20
Audit trails, 143
Authentication, 149
Automatic read-only detection, 98
Codexa Service and, 120, 133, 134-135
CORE and, 103-104
HomeSide project and, 66
jcrew.com project and, 54
lifecycle management and, 134-135
very high, 133
B2B (business-to-business) commerce
Codexa Service and, 119
eTapestry.com and, 143, 146
integration, 143
XML and, 26
Back-end applications, 195
Bank of Boston, 58
Barnhill, Lori, 259
Batch updates, 99


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020