Home > Store

J2EE Platform Web Services

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

J2EE Platform Web Services


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


  • Copyright 2004
  • Dimensions: 7" x 9-1/4"
  • Pages: 592
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-101402-1
  • ISBN-13: 978-0-13-101402-2

Build robust, scalable, end-to-end business solutions with J2EE™ Web Services.

This is the definitive practitioner's guide to building enterprise-class J2EE Web Services that integrate with any B2B application and interoperate with any legacy system. Sun senior architect Ray Lai introduces 25 vendor-independent architectural patterns and best practices for designing Web Services that deliver outstanding performance, scalability, and reliability. Lai takes you to the frontiers of emerging Web Services technologies, showing how to make the most of today's leading-edge tools, from Java Web Services Developer Pack to Apache Axis. Coverage includes:

  • Web Services: making the business case, and overcoming the technical and business challenges
  • Real-life examples and scenarios, and a start-to-finish application case study
  • Expert guidance on reducing risk and avoiding implementation pitfalls
  • Building complete business solutions with rich messaging and workflow collaboration
  • Mainframe interoperability and B2B integration within and beyond the enterprise
  • Framework and methodology to develop your Web Services patterns and best practices
  • Up-to-the-minute coverage of Web Services security
  • New applications: service consolidation, wireless, and more
  • An extensive library of links to Web resources, reference material, and vendors

Whether you're an architect, designer, project leader, or developer, these are the best practices, patterns, and techniques you need to succeed with Web services in your enterprise environment. Enterprises seeking to leverage Web Services to revolutionize the ways they deliver services to customers, partners, and employees will find the answers they need in this book.

"Ray Lai's J2EETM Platform Web Services is a comprehensive look at J2EE platform architecture and should be a must read for any serious Web Services developer."
—Larry Tabb, Senior Strategic Advisor, Tower Group

"This is a book for true practitioners. It's for those interested in designing and implementing Web Services now-and preparing for new opportunities on the horizon."
—Jonathan Schwartz, Executive Vice President, Sun Microsystems



Untitled Document

As an aid to readers of J2EE Platform Web Services , we have established an FTP site for the book from which readers can download code, binaries, and related resources. Links to the principle directories on the FTP site and explanatory notes follow.

/src These subdirectories contain all source binaries used in the book for convenience. Since some of the packages may be outdated or unsupported, the binaries are included here.

/labs This subdirectory contains all lab exercises, and program excerpts.

/unix and /windows This subdirectories contain Chapter 8 case study source codes for Unix and Windows platform respectively. They are basically identical, except that the file locations of the sample_soap_keystore are different. Unix version points to /opt/myFX/requester but Windows version points to c:/opt/myFX/requester.

/setup This subdirectory contains all setup files, libraries for JWSDP and Axis. I've combined all jar files from various downloads/packages to save configuration time. This directory contains all jar files and configuration files that are necessary to deploy in the demo environment. Users of the book can follow the instructions in the Appendix C to download and configure. But these files are placed here for convenience.

/others This subdirectory contains a set of self-paced tutorial materials. It includes Appendix A resources (URLs) [ Ed. Note —see also the links page on this site] and a set of slides that summarizes each chapter. These slides are suitable for self-paced training in conjunction with the hands-on lab exercises.


All subdirectories are zipped in a jar file with a shorter file name. They contain the same information as the child subdirectories. They are zipped for easy portability across machines and platforms. Jar files can be opened and unzipped using "jar -xvf <zipped files>" on Unix platform, or dragging them to Winzip.

The necessary jar files and program sources (e.g. under /unix) are now zipped for Solaris OE for convenience. These files can be extracted by "jar -xvf <zipped files> in the designated directories.



Untitled Document

To facilitate your work with the resources mentioned in the text, below please find links to Web-based references mentioned at the end of each chapter and in Appendix A.

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Appendix A

The following URLs are online resources and references for different aspects of Web Services. Some URLs, such as information and news articles, may be updated or changed from time to time. Specific resources and references can be found at the end of each chapter.

A.1 Web Services Portals

The following portals contain a variety of Web Services sites with news, technical articles, and white papers. They not only provide some technical resources, but also references to other Web Services links. They are good starters.

A.2 Web Services News

The following Web sites contain many news and product updates related to Web Services. Some of them provide email alerts for subscription.

A.3 Development Platforms and Tools, Including Tutorials and Articles

These Web sites contain good online tutorials and technical articles, from technology overview to specific technical details. Some of them have sample codes for download.

A.4 Vendor-Specific Web Services Sites

These are vendor-specific Web Services Web sites that provide technical white papers and product evaluation copies for download.

A.5 Web Services Standards Bodies and Communities

Here are some Web Services standards bodies and communities that support Web Services implementation.

A.6 SOAP-Specific

Here is a list of SOAP-specific resources.

A.7 UDDI-Specific

Some UDDI-specific resources. UDDI has some good technical white papers on best practices.

A.8 Web Services Security

There are an increasing number of Web Services security resources. More references can be found in the Web Services security chapter.

A.9 Web Services Conferences

There are a few Web Services-focused conferences that are held regularly in different regions and countries. The following URLs are likely to change, as they are timely. They are listed here as examples.

A.10 Miscellaneous

These URLs contain some other categories, including security (such as XML Trust Center) and Web Services developer tools (such as Eclipse).

Sample Content

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents



1. Jumpstart.

What Are the Next Frontiers? How This Book Is Different. Bringing the Pieces Together. Tour of the Book. Special Features.

2. The Web Services Phenomenon and Emerging Trends.

Chapter Overview. Chapter Objectives. Changing Economic Landscape. Emerging Trends. Case Studies. Establishing a Business Case. Perspectives.

3. Web Services Technology Overview.

Chapter Overview. Chapter Objectives. Web Services—The Evolution. Enabling Technology. The Web Services Marketplace. Web Services-Enabling Your Applications. Web Services in Action. Perspectives.

4. Web Services Architecture and Best Practices.

Chapter Overview. Chapter Objectives. Web Services Architecture. What Is a Reference Architecture? Web Services Architecture Principles. Supporting Software Tools. Inside Web Services. Web Services Design Patterns. Perspectives.

5. Mainframe Integration and Interoperability.

Chapter Summary. Chapter Objectives. Background to Mainframe Interoperability. Integration Points. Alternatives to Mainframe Interoperability. Perspectives.

6. Enterprise and Cross-Enterprise Integration.

Chapter Overview. Chapter Objectives. Background. Web Services and EAI—Friends or Foes? Cross-Enterprise Integration Framework. Emerging Integration Technology. Integration Design Patterns. Perspectives.

7. Web Services Security.

Chapter Overview. Chapter Objectives. Some Myths and Common Beliefs. Web Services Security Requirements. Recent Web Services Security Initiatives. Web Services Security Patterns. Perspectives. Paper and Pencil.

8. Web Services in Action: Case Study.

Objective. Assumptions. Use Case Scenerio. Case Study Design. User Experience. Sample Code Analysis. Code Customization and Deployment. Lessons Learned.

9. The Next Frontiers.

So Many Changes. Are There Any Next Frontiers? Managing the Next Wave. Paper and Pencil.

Appendix A: Resources and References.

Appendix B: Some Web Services Vendors.

Appendix C: Demo Environment Set-up.



Untitled Document

This book is about big ideas and fine details--the possible and the practical. Amid thehype surrounding Web services, the central question is this: When will we get there?The answer, as you'll see in the following pages, is that we're already there--andstill have a long way to go.

By now, the vision is almost universal: Emerging standards will increase the Internet'sability to deliver exactly what we need, precisely when we need it.

Indeed, the conveniences are fun to imagine: Your car's navigation system checkingyour calendar to see where you want to go next and showing you the best way toget through traffic. Your flight delay triggering a change in your dinner reservation andan instant notification on your wireless phone or pager.

In this book, that vision of the future is at once tempered and validated with examplesof present-day projects. In other words, nirvana may be a ways off, but companiesare already deploying less complex Web services to eliminate steps and lowercosts.

This is a book for true practitioners. By that I mean not the dilettantes but the doers.It's for those interested in designing and implementing Web services now--andpreparing for new opportunities on the horizon.

At Sun Microsystems, we believe that Web services are only partly about technology.The real starting point is identifying existing resources and mapping them to thedifferent communities you deal with day to day--customers, partners, suppliers, yourown employees.

Once you know who needs access to what, you'll have a clear indication of the kindsof services you should offer--to boost employee productivity, streamline the supplychain, or personalize your marketing efforts. Then it's simply a matter of prioritizing:

Which services have the most value to your constituents? Which offer you the bestpayback?

This book can help you turn your vision into a reality.

--Jonathan Schwartz, Executive Vice President, Software, Sun Microsystems, Inc.


Download the Index file related to this title.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership