J2EE and XML Development
Kurt A. Gabrick and David B. Weiss
  • March 2002
  • ISBN 9781930110304
  • 304 pages
This title is out of print and no longer for sale.

Geared toward experienced developers, J2EE and XML Development demonstrates how Java 2 Platform, Enterprise Edition (J2EE), and XML technologies can be used together to create more robust distributed applications and software systems. The use of XML technology to extend and enhance the capabilities of the J2EE platform is covered in detail.

Table of Contents detailed table of contents



about this book

about the authors

about the cover illustration

author online

1. Getting started

1.1. Distributed systems overview

1.1.1. Distributed systems concepts

1.1.2. N-tier application architecture

1.1.3. Overcoming common challenges

1.2. The J2EE development process

1.2.1. J2EE and development methodologies

1.2.2. J2EE development tools

1.3. Testing and deployment in J2EE

1.3.1. Testing J2EE applications

1.3.2. Deploying J2EE applications

1.4. Summary

2. XML and Java

2.1. XML and its uses

2.1.1. XML validation technologies

2.1.2. XML parsing technologies

2.1.3. XML translation technologies

2.1.4. Messaging technologies

2.1.5. Data manipulation and retrieval technologies

2.1.6. Data storage technologies

2.2. The Java APIs for XML

2.2.1. JAXP

2.2.2. JDOM

2.2.3. JAXB

2.2.4. Long Term JavaBeans Persistence

2.2.5. JAXM

2.2.6. JAX-RPC

2.2.7. JAXR

2.3. Summary

3. Application development

3.1. XML component interfaces

3.1.1. Using value objects

3.1.2. Implementing XML value objects

3.1.3. When not to use XML interfaces

3.2. XML and persistent data

3.2.1. Querying XML data

3.2.2. Storing XML data

3.2.3. When not to use XML persistence

3.3. Summary

4. Application integration

4.1. Integrating J2EE applications

4.1.1. Traditional approaches to systems integration

4.1.2. XML-based systems integration

4.2. A web services scenario

4.3. J2EE and SOAP

4.3.1. Creating a simple SOAP message

4.3.2. Using SOAP with Attachments

4.3.3. Using JAXM for SOAP Messaging

4.4. Building web services in J2EE

4.4.1. What is a web service?

4.4.2. Providing web services in J2EE

4.4.3. Implementing our example web services

4.4.4. Consuming web services in J2EE

4.4.5. J2EE web services and Microsoft .NET

4.5. Summary

5. User interface development

5.1. Creating a thin-client user interface

5.1.1. Serving different types of devices

5.1.2. Serving multiple locales

5.1.3. An example to work through

5.2. The pure J2EE approach

5.2.1. The J2EE presentation tool kit

5.2.2. Issues in J2EE MVC architecture

5.2.3. Building our example in J2EE

5.2.4. Analyzing the results

5.3. The J2EE/XML approach

5.3.1. Adding XSLT to the web process flow

5.3.2. Analyzing the results

5.3.3. Extending to binary formats

5.4. XML web publishing frameworks

5.4.1. Introduction to Cocoon architecture

5.4.2. Using Cocoon to render the watch list page

5.4.3. Analyzing the results

5.5. A word about client-side XSLT

5.6. Summary

6. Case study

6.1. Case study requirements

6.2. The application environment

6.3. The analysis phase

6.3.1. Services and data layer analysis

6.3.2. Data storage analysis

6.3.3. Other necessary components

6.4. The design phase

6.4.1. Designing the application logic layer

6.4.2. Designing the user interface

6.5. Validating our design

6.6. The implementation phase

6.6.1. Building the controller servlet

6.6.2. Building the ApplicationMenu component

6.6.3. Building the ComponentLocator

6.6.4. Building the BugAccessorBean

6.6.5. Building the XSLTFilter

6.7. Structuring application data

6.8. The Amaya web service

6.9. Running the application

6.9.1. Installation

6.9.2. Viewing the main menu

6.9.3. Viewing common system problems

6.9.4. Viewing and updating the Amaya problem list

6.9.5. Inspecting the web services SOAP messages

6.10. Summary

Appendix A: Design patterns for J2EE and XML

Appendix B: Distributed application security

Appendix C: The Ant build tool



About the book

Discussed are J2EE and XML integration at each layer of an n-tier distributed application model. Design patterns, tradeoffs, and decision criteria are provided in terms of individual XML and J2EE technology combinations.

Hot topics in application integration are also covered, including Web services, architectures, and business partner integration.

About the authors

Kurt Gabrick is a software architect and developer specializing in server-side Java technologies and distributed systems. He has designed and developed numerous systems using J2EE and XML technology for a diverse group of Fortune 1000 clients. Kurt has led various engineering efforts for software development and professional services firms. He currently resides in the Phoenix, AZ area, where he continues to code for fun and profit.

David B. Weiss is an I/T architect specializing in use case driven, object-oriented development with Java and XML. Dave has worked for multiple professional services companies, where he was responsible for software development methodology and training programs, as well as leading distributed systems development projects. Dave has authored numerous pieces of technical documentation and training materials. He currently resides in the San Francisco Bay area.