2020ok  Directory of FREE Online Books and FREE eBooks

Free eBooks > Computers & Internet > Web Development > Internet Commerce > Web Site Design > Designing Web Services With The J2ee 1.4 Platform: Jax-rpc, Soap, And Xml Technologies

Designing Web Services With The J2ee 1.4 Platform: Jax-rpc, Soap, And Xml Technologies

by Inderjeet Singh, Sean Brydon, Greg Murray, and Vijay Ramachandran

Download Book
(Respecting the intellectual property of others is utmost important to us, we make every effort to make sure we only link to legitimate sites, such as those sites owned by authors and publishers. If you have any questions about these links, please contact us.)

link 1
link 2

About Book

Book Description

This authoritative guide -- written by members of the Java BluePrints team at Sun Microsystems -- spells out the proven best practices for designing and developing enterprise-level Web services using J2EE 1.4. Web services are key for business-to-business interaction and enterprise application integration. This in-depth book provides all the information and advice that every developer needs to know in order to design and integrate effective web services with the new J2EE 1.4 platform. The Java BluePrints team has written extensively on J2EE enterprise applications, developed and documented design patterns, and has developed two sample applications to illustrate their guidelines and recommendations. All of their best information is shared through this supremely useful new book.

From the Back Cover

Written by Sun Microsystems' Javaâ„¢ BluePrints team, Designing Web Services with the J2EEâ„¢ 1.4 Platform is the authoritative guide to the best practices for designing and integrating enterprise-level Web services using the Java 2 Platform, Enterprise Edition (J2EE) 1.4. This book provides the guidelines, patterns, and real-world examples architects and developers need in order to shorten the learning curve and start building robust, scalable, and portable solutions.

The authors use the Java Adventure Builder application to bring the design process to life and help illustrate the use of Java APIs for XML Processing (JAXP), Java APIs for XML-Based RPC (JAX-RPC), and other Web service and Java-XML technologies.

Key topic coverage includes:

  • Web service requirements and design issues
  • Support for Web services provided by the J2EE 1.4 platform
  • Designing and implementing Web service end points
  • Writing efficient Web service client applications
  • Designing and developing XML-based applications
  • Integrating applications and data using Web services
  • The J2EE platform security model as it applies to Web services
  • A coherent programming model for designing and developing Web service endpoints and clients

    Designing Web Services with the J2EEâ„¢ 1.4 Platform provides the insight, advice, and detail that make it easier to create effective Web service applications using the J2EE 1.4 platform.

  • About the Author

    Inderjeet Singh is lead architect on the Java BluePrints Team, where he works with other architects and engineers to define best uses of Java technologies for application design. Beth Stearns is the principal partner of ComputerEase Publishing, a computer consulting firm she founded in 1982. Among her publications are Java Native Interface in The Java Tutorial Continued (Addison-Wesley), “The EJB Programming Guide” for Inprise Corporation, and “ Understanding EDT, ” a guide to Digital Equipment Corporation's text editor.

    Excerpt. © Reprinted by permission. All rights reserved.

    This book describes designing Web services using the current technologies available with the Java™ 2 Platform, Enterprise Edition. This book and the accompanying Java™ Adventure Builder Reference application (hereafter referred to as adventure builder) are part of the successful Java BluePrints program created by Sun Microsystems with the introduction of the J2EE platform. Application architects, developers, and students everywhere have used this program to better understand the programming model inherent in the J2EE platform.

    Rather than providing information on how to use individual Java technologies to write applications, which falls within the realm of the companion Java Tutorial program, the Java BluePrints focuses on guidelines for application architecture and design, such as distributing J2EE application functionality across tiers and choosing among design options for Web services endpoints. This book describes the Web services and related technologies of the J2EE platform. Its focus is how to best apply these J2EE platform technologies to writing Web service applications. This book assumes that you have a basic knowledge of the J2EE platform, which you can get from The J2EE™ Tutorial, and is meant to be read in conjunction with Designing Enterprise Applications with the J2EE Platform, Second Edition, since that book covers the J2EE platform technologies for writing traditional enterprise applications.

    This book is intended primarily for enterprise architects and application developers engaged in or considering writing Web services and Web service applications with the J2EE platform. It is also useful for product vendors interested in developing Web service applications consistent with the J2EE platform standard.

    Obtaining the Reference Application

    The adventure builder reference application, which is described in this book, is available on the compact disk included with this book. You can also download it from:


    The application requires a J2EE version 1.4-compliant platform on which to run. The accompanying compact disk includes an implementation of this platform and an application server. You can download the J2EE SDK™, which is a freely available implementation of that platform, from:


    The Java BluePrints Web site includes additional content, available only online, that describes in detail the architecture of the Java adventure builder sample application.

    References and Resources

    Pointers to J2EE documentation can be found at:


    For information on how to use the J2EE SDK to construct multi-tier enterprise applications, refer to the J2EE Tutorial, available at:


    We relied on many of the following references for technical details and background. These references are good sources for those interested in exploring Web services in greater detail.

    1. Designing Enterprise Applications with the J2EE Platform, Second Edition.
      I. Singh, B. Stearns, M. Johnson, Enterprise Team. Copyright 2002, Addison-Wesley.
    2. The Java BluePrints Web site, <http://java.sun.com/blueprints>.
    3. Core J2EE Patterns: Best Practices and Design Strategies, Second Edition.
      D. Alur, D. Malks, J. Crupi. Copyright 2003, Prentice Hall PTR.
    4. Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions.
      G. Hohpe, B. Woolf. Copyright 2003, Addison-Wesley.

    The Web services standards cited in this book are:

    1. WS-I Basic Profile, Version 1.0. Available at <http://www.ws-i.org>.
    2. Simple Object Access Protocol, Version 1.1. Available at <http://www.w3.org>.
    3. Extensible Markup Language (XML), Version 1.0. Available at <http://www.w3.org>.
    4. Web Services Description Language, Version 1.1. Available at <http://www.w3.org>.
    5. XML Schema, Part 1 and 2. Available at <http://www.w3.org>.
    6. Universal Description, Discovery and Integration (UDDI), Version 2. Available at <http://www.w3.org>.

    The J2EE technologies cited in this book are described in their specifications:

    1. Java™ 2 Platform, Enterprise Edition Specification, Version 1.4 (J2EE specification). Available at
    2. Java™ API for XML-Based RPC Specification, Version 1.1 (JAXP specification). Available at
    3. Java™ API for XML Processing Specification, Version 1.2 (JAXP specification). Available at
    4. SOAP with Attachments API for Java Specification, Version 1.2 (SAAJ specification). Availa
      ble at
    5. Java API for XML Registries Specification, Version 1.0 (JAXR specification). Available at <http://java.sun.com/xml/jaxr/>
    6. Web Services for J2EE Specification, Version 1.1. Available at <ftp://www.ibm.com/pub/jsr109/spec1.1/>
    7. Java API for XML Binding Specification (JAXB specification). Available at <http://java.sun.com/xml/jaxb/>
    8. Java™ Servlet Specification, Version 2.4 (Servlet specification). Available at <http://java.sun.com/products/servlet/>
    9. JavaServer Pages™ Specification, Version 2.0 (JSP specification). Available at <http://java.sun.com/products/jsp/>
    10. Enterprise JavaBeans™ Specification, Version 2.1 (EJB specification). Available at <http://java.sun.com/products/ejb/>
    11. J2EE™ Connector Architecture Specification, Version 1.5 (Connector specification). Available at
    12. Java™ Message Service Specification, Version 1.0.2 (JMS specification). Available at

    How This Book Is Organized

    This book is divided into the following chapters:

    • Chapter 1, "Introduction," describes Web services and explains the support provided by the J2EE 1.4 platform for Web services.
    • Chapter 2, "Standards and Technologies," enumerates and describes in detail the Web services-specific component, service, and communication technologies supported by the J2EE 1.4 platform.
    • Chapter 3, "Service Endpoint Design," describes how best to design and implement a Web service endpoint.
    • Chapter 4, "XML Processing," addresses in detail the issues for designing and developing XML-based applications and handling XML documents. In particular, it focuses on those issues that are of most concern to Web service endpoints and clients.
    • Chapter 5, "Client Design," describes the different communication modes that J2EE and non-J2EE clients alike use to access Web services. It includes guidelines and techniques for writing efficient Web service client applications.
    • Chapter 6, "Enterprise Application Integration," describes the capabilities provided by the J2EE platform for using Web services to integrate applications and data, and shows how to best use these capabilities in an enterprise application.
    • Chapter 7, "Security," describes the J2EE security model and how it applies to Web service endpoints and clients.
    • Chapter 8, "Application Architecture and Design," pulls the topics in the preceding chapters together into a coherent programming model that illustrates how best to design and develop Web service endpoints and clients.
    • "Glossary" is a list of words and phrases found in this book and their definitions.



    PLEASE READ: All comments must be approved before appearing in the thread; time and space constraints prevent all comments from appearing. We will only approve comments that are directly related to the article, use appropriate language and are not attacking the comments of others.

    Message (please, no HTML tags. Web addresses will be hyperlinked):

    Related Free eBooks

    Related Tags

    DIGG This story   Save To Google   Save To Windows Live   Save To Del.icio.us   diigo it   Save To blinklist
    Save To Furl   Save To Yahoo! My Web 2.0   Save To Blogmarks   Save To Shadows   Save To stumbleupon   Save To Reddit