Home > Store

Enterprise Java Programming with IBM WebSphere, 2nd Edition

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

Enterprise Java Programming with IBM WebSphere, 2nd Edition

Book

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

Description

  • Copyright 2004
  • Edition: 2nd
  • Book
  • ISBN-10: 0-321-18579-X
  • ISBN-13: 978-0-321-18579-2

Enterprise Java Programming with IBM WebSphere, Second Editionby Kyle Brown, Gary Craig, Greg Hester, Russell Stinehour, W. David Pitt, Mark Weitzel, JimAmsden, Peter M. Jakab, Daniel BergForeword by Martin Fowler

Enterprise Java Programming with IBM WebSphere, Second Edition is the definitive guide tobuilding mission-critical enterprise systems with J2EE, WebSphere, and WebSphere StudioApplication Developer. Fully updated for Versions 5.x of WebSphere Application Server andWebSphere Studio Application Developer, it combines expert architectural best practices with acase study that walks you through constructing an entire system.

The authors are an extraordinary team of WebSphere insiders: developers, consultants,instructors, and IBM WebSphere development team members. Together, they offer unprecedentedinsight into the use and behavior of WebSphere's APIs in real-world environments—andsystematic guidance for delivering systems of exceptional performance, robustness, and businessvalue.

Coverage includes—

  • Practical introductions to J2EE, WebSphere Application Server 5.0, and Web application architecture
  • Detailed coverage of Web application construction, including MVC partitioning with Struts, servlets/JSP, and session management
  • Step-by-step guidance for building and testing application business models, including JUnit testing
  • In-depth insight into EJB architecture, including transactions, security, and advanced object relational mapping
  • Web services: examples and best practices leveraging WebSphere Application Server 5.x's latest enhancements
CD-ROMs Included

The CD-ROMs contain trial copies of IBM WebSphere Studio Application Developer (Version 5.0.2),IBM WebSphere Application Server (Version 5.02), and DB2 Universal Database, Personal Edition(Version 8.1.2) for Microsoft Windows 2000/XP. The CD-ROMs also include source code for thecase study examples used in the book.

Sample Content

Online Sample Chapter

An Overview of J2EE with IBM WebSphere

Downloadable Sample Chapter

Untitled Document Download Sample Chapter related to this title.

Table of Contents



Foreword.


Preface.


1. Introduction.

Why Software Development Must Consider the Whole Enterprise. How Iterative Development Addresses Key IT Management Issues. Today's Enterprise Applications Have New Requirements. What Is the Starting Point? What Is a Layered Architecture? Layered Architecture Benefits. Summary.



2. Introduction to the Case Study.

Case Study Analysis and Design Artifacts. Use Case Definitions. Designing the Case Study Domain Model. Using the Case Study in Our Book. Summary.



3. J2EE Overview.

Why J2EE? J2EE Architecture. J2EE Platform Roles. J2EE Versions and Evolution. A J2EE Perspective. Summary.



4. What Is WebSphere?

WebSphere Foundation and Tools. The WAS Core Architecture. Administering a local WAS Server. Leveraging the Scalability of WAS ND. Summary.



5. Presentation Layer Patterns.

Java User Interface Technologies. Decoupling the User Interface. Mediating Logical View Logic. Summary.



6. Servlets.

HTTP Technology Primer. Servlet Concepts. Servlet Life Cycle. An Example Servlet. Web Deployment Descriptors. Filters. Servlet API Classes and Interfaces. Summary.



7. Developing Servlets Using IBM WebSphere Studio Application Developer.

The IBM WebSphere Studio Family of Tools. Building an Example Servlet with WSAD. Some Problems with This Example. Summary.



8. Testing Servlets Using WSAD.

Edit the Web Deployment Descriptor. Summary.



9. Managing Session State.

Some Client-Side Session Approaches. Servlets and Session State. Choosing the Right Approach. Session Persistence. Summary.



10. JavaServer Pages Concepts.

Page Templates and Server-Side Scripting. A Short History of Java Server Pages. Page Compilation—Runtime View. JSP Syntax. Scripting Elements. Directives. JSP Documents. Roles for JSP. Summary.



11. Tag Libraries and Custom Tags.

Introduction. Basic Model for Custom Tags. JSTL and Other Widely Used Tag Libraries. Writing Tag Handlers. Tag Library Descriptor (.tld). Taglib Directive and Coding Custom Actions. Support for Custom Actions. Summary.



12. Design Considerations for Controllers.

Where Do Controllers Come From? Controller Design Alternatives. Exception Handling. Logging. Servlet Filters. Summary.



13. Developing and Testing JSPs in WSAD.

Another Look at MVC. JavaBeans, Introspection, and Contracts. Building Applications Using JSPs with WSAD. Editing JavaServer Pages. Validating the JSP Page. Running on the Server. Debugging the JSP. Simplifying JSPs. XML compliance. Summary.



14. Apache Struts as an MVC Framework.

Road Map. Why Do You Need a Framework? What Is Struts? A Simple MVC Struts Example. Struts Best Practices. Summary.



15. XML/XSL Web Interfaces in WSAD.

Strategy for Using XML/XSL for Web Interfaces. Example XML/XSL Web Interface with WSAD. Creating the XSL File. Enhanced Example of XML/XSL Web Interface with WSAD. Dynamic Example XML/XSL Web Interface with WSAD. When to Use XML/XSL for Web Interfaces. Summary.



16. Developing and Testing the Domain Model.

The Domain Model Layer. The Data Mapping Layer. Testing the Model. Summary.



17. Unit and Functional Testing Applications in WSAD.

Overall Testing Approaches. What Is JUnit? A Simple Example. Unit Testing Containers with Cactus. Function Testing Applications in WSAD. Function Testing. What Is HttpUnit? The HttpUnit API. Following Links. Working with Forms. Working with Tables. Working with Frames. Working with a Document Object Model (DOM). Functional Test Design Considerations. Summary.



18. Supporting Enterprise Applications.

Another Look at the n-Tier Architecture. Why Aren't HTML, Servlets, and JSPs Enough? Object Distribution. Integration Styles and Messaging. Object Persistence. Objects and Transactions. Security in Enterprise Applications. Summary.



19. Basic EJB Architecture.

Core EJB Concepts. The EJB Types. Introducing the EJB Programming Model. 19.4EJBs—Distributed or Not? Basic Architectural Patterns for EJBs. The Role of Persistence. When Do You Need EJBs? Summary.



20. Developing EJBs with WSAD.

The J2EE Perspective. J2EE Projects. Creating a Session Bean. Testing the New Session Bean. Summary.



21. Testing and Debugging EJBs in WSAD.

Developing the Service Layer. Overview of the Testing Process. Summary.



22. EJB Client Development.

Using Servlets as EJB Clients. Building Java Application Clients. Applet Clients in WebSphere. Naming and the WebSphere Namespace. Creating a Test Client. Deploying Application Clients in WebSphere. Deploying and Running the EJB Client to the WebSphere Client Container. Some Design Points about EJB Clients. Summary.



23. Simple CMP Entity Beans.

Entity Bean Basics. CMP in WebSphere and WebSphere Studio. Creating a CMP EJB Using WebSphere Studio. The Parts of an Entity Bean. Deployment Descriptor. Summary.



24. CMP Mapping Strategies and Mapping in WSAD.

Databases, CMPs, and Maps. Multiple Mapping Back-end Support. Exporting Database Tables. EJB Query Language. Summary.



25. Advanced CMP Mapping.

Simple Mapping Rules. Object-Relational Basics. Concepts in EJB 2.0 Relationships. Associations in UML. Relationships in WSAD V5.0. Creating a Single-Valued Relationship. Creating a Multivalued Relationship. Read Ahead Hints. Mapping Relationships. Weak vs Strong Entities. EJB Inheritance in WSAD. Advanced EJB QL. Summary.



26. Bean-Managed Persistence.

Applying BMP. A Simple BMP Bean. Examining BMP Persistence. BMP vs CMP. Summary.



27. Introduction to Message-Driven Beans.

Java Messaging Service. JMS API Basics. Message-Driven Beans. Summary.



28. Transactions in WebSphere 5.0.

JDBC Transactions. Transactions and 2-Phase Commit. JTA and Transaction Demarcation. Enabling 2-PC in WebSphere 5.0. EJBs and Container-Managed Transactions. Participating in a Transaction. Using XA Resources with 2-PC in WebSphere. Transaction Settings for J2EE 1.3 in WAS 5.0. Advice on Using Transactions. Extended Transaction Settings in WebSphere. Special Transaction Considerations for JMS. Dealing with Concurrency. Summary.



29. J2EE Security in WebSphere.

J2EE Security Overview. J2EE Authorization. Securing Resources with WebSphere Studio. EJB Security Recommendations. Handling Instance-Based Security. GUI-Based Security. Summary.



30. Building Layered Architectures for EJB Systems.

Problems with an All-Entity EJB Solution. The Session Façade and DTO Solution. Design Points for Session Façades. Rules for Session Façades. Reasons for EJB Objects. A Simple Example from the Case Study. A More Complex Example. Mappers Revisited. Simulated Mappers. An Updating Example. Testing the Session Façade Example with JUnit. Running the Test Client. Rules for Creating Session Façades. Should Session Façades Return XML? Summary.



31. Implementing the Case Study User Interface.

User's Guide. Summary.



32. An Introduction to J2EE Web Services for WebSphere.

If Web Services Is the Solution, What's the Problem? Web Services Architecture. Web Services in J2EE. Web Services in WAS. The Standardization Nightmare. Summary.



33. Constructing J2EE Web Services for WebSphere.

Getting Started with Web Services. Building Web Service Clients. Summary.



34. Web Services Architectures and Best Practices.

Some Web Services Dos and Don'ts. Addressing the Limitations of Web Services. Choosing the Right Level of Granularity in SOA. Interoperability Lessons Learned. Summary.



35. A Final Look.

Application Layering. Case Study and J2EE Technologies. Tooling. A Parting Thought.



Appendix A: Installing Products and Examples from the CDs.

Installing the Products from the CDs. Installing the Case Study Examples.



Appendix B: Constructing J2EE Web Services Using WSAD 5.1.

What's New? Creating the RandomIDGenerator Service. Running and Testing the RandomIDGenerator Service. Using the Existing J2SE Client. Summary.



Bibliography.


Index.

Updates

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.

Overview


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.

Surveys

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.

Newsletters

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.

Security


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

Children


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

Marketing


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.

Choice/Opt-out


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.

Links


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