HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
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 environmentsandsystematic guidance for delivering systems of exceptional performance, robustness, and businessvalue.
Coverage includes
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.
An Overview of J2EE with IBM WebSphere
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.
Case Study Analysis and Design Artifacts. Use Case Definitions. Designing the Case Study Domain Model. Using the Case Study in Our Book. Summary.
Why J2EE? J2EE Architecture. J2EE Platform Roles. J2EE Versions and Evolution. A J2EE Perspective. Summary.
WebSphere Foundation and Tools. The WAS Core Architecture. Administering a local WAS Server. Leveraging the Scalability of WAS ND. Summary.
Java User Interface Technologies. Decoupling the User Interface. Mediating Logical View Logic. Summary.
HTTP Technology Primer. Servlet Concepts. Servlet Life Cycle. An Example Servlet. Web Deployment Descriptors. Filters. Servlet API Classes and Interfaces. Summary.
The IBM WebSphere Studio Family of Tools. Building an Example Servlet with WSAD. Some Problems with This Example. Summary.
Edit the Web Deployment Descriptor. Summary.
Some Client-Side Session Approaches. Servlets and Session State. Choosing the Right Approach. Session Persistence. Summary.
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.
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.
Where Do Controllers Come From? Controller Design Alternatives. Exception Handling. Logging. Servlet Filters. Summary.
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.
Road Map. Why Do You Need a Framework? What Is Struts? A Simple MVC Struts Example. Struts Best Practices. Summary.
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.
The Domain Model Layer. The Data Mapping Layer. Testing the Model. Summary.
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.
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.
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.
The J2EE Perspective. J2EE Projects. Creating a Session Bean. Testing the New Session Bean. Summary.
Developing the Service Layer. Overview of the Testing Process. Summary.
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.
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.
Databases, CMPs, and Maps. Multiple Mapping Back-end Support. Exporting Database Tables. EJB Query Language. Summary.
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.
Applying BMP. A Simple BMP Bean. Examining BMP Persistence. BMP vs CMP. Summary.
Java Messaging Service. JMS API Basics. Message-Driven Beans. Summary.
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.
J2EE Security Overview. J2EE Authorization. Securing Resources with WebSphere Studio. EJB Security Recommendations. Handling Instance-Based Security. GUI-Based Security. Summary.
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.
User's Guide. Summary.
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.
Getting Started with Web Services. Building Web Service Clients. Summary.
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.
Application Layering. Case Study and J2EE Technologies. Tooling. A Parting Thought.
Installing the Products from the CDs. Installing the Case Study Examples.
What's New? Creating the RandomIDGenerator Service. Running and Testing the RandomIDGenerator Service. Using the Existing J2SE Client. Summary.