The Java™ Web Services Tutorial
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > The Java™ Web Services Tutorial
The Java™ Web Services Tutorial

The Java™ Web Services Tutorial


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

The Java Web Services Tutorial is a comprehensive, example-driven, "roll up your sleeves and dive in" guide to building Web services applications with Java technology. This edition provides a head start on using the Java Web Services Developer Pack (WSDP) from Sun Microsystems. This complete, ready-to-use package includes a variety of technologies and tools required to build and deploy comprehensive Web services applications today.Web services offer powerful new ways for enterprises to effectively communicate with each other using diverse computing hardware. This paradigm takes the Java platform's "Write Once, Run Anywhere " capabilities to a new level by providing a completely portable data model. By supporting the latest standards for XML-based Web services, the Java APIs for XML make it easy to build Web services with minimal hand tweaking of data. This tutorial explains these APIs in detail and provides practical examples to reinforce your understanding of key concepts. The accompanying CD-ROM includes:Java API for XML Messaging (JAXM) 1.0 EA 1Java API for XML Processing (JAXP) 1.2 EA 1 (with XML Schema support)Java API for XML Registries (JAXR) 1.0 EA 1Java API for XML-based RPC (JAX-RPC) 1.0 EA 1JavaServer Pages Standard Tag Library (JSTL) 1.0 EA 3Ant Build Tool 1.4.1Java WSDP Registry Server 1.0 EA 1Tomcat Java Servlet and JavaServer Pages container 4.1-devThis package also includes instructions for deploying Web services applications on the Java 2 SDK, Enterprise Edition. 0201768119B03262002

Table of Contents:
Foreword. Preface. 1. Introduction to Web Services. The Role of XML and the Java Platform. What Is XML? What Makes XML Portable? Overview of the Java APIs for XML. JAXP. The SAX API. The DOM API. The XSLT API. JAX-RPC. Using JAX-RPC. JAXM. Getting a Connection. Creating a Message. Populating a Message. Sending a Message. JAXR. Using JAXR. Sample Scenario. Scenario. Conclusion. 2. Understanding XML. Introduction to XML. What Is XML? Why Is XML Important? How Can You Use XML? XML and Related Specs: Digesting the Alphabet Soup. Basic Standards. Schema Standards. Linking and Presentation Standards. Knowledge Standards. Standards That Build on XML. Summary. Designing an XML Data Structure. Saving Yourself Some Work. Attributes and Elements. Normalizing Data. Normalizing DTDs. 3. Getting Started with Tomcat. Setting Up. Getting the Example Code. Checking the Environment Variables. Creating the Getting Started Application. The Converter Class. The Web Client. Building and Deploying the Getting Started Application Using Ant. Setting the CLASSPATH. Creating the Build File for Ant. Compiling the Source Files. Deploying the Application. Running the Getting Started Application. Starting Tomcat. Running the Web Client. Shutting Down Tomcat. Modifying the Application. Modifying a Class File. Modifying the Web Client. Reloading the Application. Common Problems and Their Solutions. Cannot Start the Tomcat Server. Compilation Errors. Deployment Errors. 4. Java API for XML Processing. The JAXP APIs. An Overview of the Packages. The Simple API for XML (SAX) APIs. The SAX Packages. The Document Object Model (DOM) APIs. The DOM Packages. The XML Stylesheet Language for Transformation (XSLT) APIs. The XSLT Packages. Compiling and Running the Programs. Where Do You Go from Here? 5. Simple API for XML. Writing a Simple XML File. Creating the File. Writing the Declaration. Adding a Comment. Defining the Root Element. Adding Nested Elements. Adding HTML-Style Text. Adding an Empty Element. The Finished Product. Echoing an XML File with the SAX Parser. Creating the Skeleton. Importing Classes. Setting up for I/O. Implementing the ContentHandler Interface. Setting up the Parser. Writing the Output. Spacing the Output. Handling Content Events. Compiling and Running the Program. Checking the Output. Identifying the Events. Compressing the Output. Inspecting the Output. Documents and Data. Adding Additional Event Handlers. Identifying the Document's Location. Handling Processing Instructions. Summary. Handling Errors with the Nonvalidating Parser. Substituting and Inserting Text. Handling Special Characters. Using an Entity Reference in an XML Document. Handling Text with XML-Style Syntax. Handling CDATA and Other Characters. Creating a Document Type Definition (DTD). Basic DTD Definitions. Defining Text and Nested Elements. Limitations of DTDs. Special Element Values in the DTD. Referencing the DTD. DTD's Effect on the Nonvalidating Parser. Tracking Ignorable Whitespace. Cleanup. Documents and Data. Empty Elements, Revisited. Defining Attributes and Entities in the DTD. Defining Attributes in the DTD. Defining Entities in the DTD. Echoing the Entity References. Additional Useful Entities. Referencing External Entities. Echoing the External Entity. Summarizing Entities. Referencing Binary Entities. Using a MIME Data Type. The Alternative: Using Entity References. Using the Validating Parser. Configuring the Factory. Changing the Environment Variable. Experimenting with Validation Errors. Error Handling in the Validating Parser. Defining Parameter Entities and Conditional Sections. Creating and Referencing a Parameter Entity. Conditional Sections. Parsing the Parameterized DTD. DTD Warnings. Handling Lexical Events. How the LexicalHandler Works. Working with a LexicalHandler. Using the DTDHandler and EntityResolver. The DTDHandler API. The EntityResolver API. 6. Document Object Model. Reading XML Data into a DOM. Creating the Program. Additional Information. Looking Ahead. Displaying a DOM Hierarchy. Echoing Tree Nodes. Convert DomEcho to a GUI App. Create Adapters to Display the DOM in a Jtree. Finishing Up. Examining the Structure of a DOM. Displaying A Simple Tree. Displaying a More Complex Tree. Finishing Up. Constructing a User-Friendly JTree from a DOM. Compressing the Tree View. Acting on Tree Selections. Handling Modifications. Finishing Up. Creating and Manipulating a DOM. Obtaining a DOM from the Factory. Normalizing the DOM. Other Operations. Finishing Up. Using Namespaces. Defining a Namespace. Referencing a Namespace. Defining a Namespace Prefix. 7. XML Stylesheet Language for Transformations. Introducing XSLT and XPath. The XSLT Packages. How XPath Works. Summary. Writing Out a DOM as an XML File. Reading the XML. Creating a Transformer. Writing the XML. Writing Out a Subtree of the DOM. Summary. Generating XML from an Arbitrary Data Structure. Creating a Simple File. Creating a Simple Parser. Modifying the Parser to Generate SAX Events. Using the Parser as a SAXSource. Doing the Conversion. Transforming XML Data with XSLT. Defining an Ultra-Simple Article Document Type. Creating a Test Document. Writing an XSLT Transform. Processing the Basic Structure Elements. Writing the Basic Program. Trimming the Whitespace. Processing the Remaining Structure Elements. Process Inline (Content) Elements. Printing the HTML. What Else Can XSLT Do? Concatenating XSLT Transformations with a Filter Chain. Writing the Program. Understanding How it Works. Testing the Program. Conclusion. 8. Java API for XML Messaging. Overview of JAXM. Messages. Connections. Messaging Providers. Running the Samples. The Sample Programs. The Provider Administration Tool. Tutorial. Client without a Messaging Provider. Client with a Messaging Provider. Adding Attachments. Code Examples. Request.java. MyUddiPing.java. 9. Java API for XML-based RPC. What is JAX-RPC? A Simple Example: HelloWorld. HelloWorld at Runtime. HelloWorld Files. Overview of Steps. Setting Up. Coding the Service Definition Interface and Implementation Class. Compiling the Service Definition Code. Creating the Configuration File. Generating the Stubs and Ties. Creating the Deployment Descriptor. Packaging the Service Definition. Deploying the Service Definition. Coding the Client. Compiling the Client Code. Running the Client. The Dynamic Invocation Interface. When to Use DII. A DII Client Example. 10. Java API for XML Registries. Overview of JAXR. What is a Registry? What Is JAXR? JAXR Architecture. Implementing a JAXR Client. Establishing a Connection. Querying a Registry. Managing Registry Data. Running the Client Examples. Using the Registry Browser. Querying a Registry. Managing Registry Data. 11. The Java WSDP Registry Server. Setting Up the Registry Server. Using the JAXR Registry Browser with the Registry Server. Adding Organizations. Querying the Registry. Using the Command Line Client Scripts with the Registry Server. Using the JAXR API to Access the Registry Server. Using the Indri Tool to Access the Registry Server Database. 12. Web Applications. Web Application Life Cycle. Web Application Archives, Creating a WAR File. Web Application Deployment Descriptors. Prolog. Context Parameters. Filter Mappings. Event Listeners. Alias Paths. Error Mappings. References to Environment Entries, Resource Environment Entries, or Resources. Deploying Web Applications. Specifying the Web Application Context. Example. Running Web Applications. Updating Web Applications. Internationalizing and Localizing Web Applications. Accessing Databases from Web Applications. The Examples. Downloading and Starting the Database Server. Populating the Database. Configuring the Web Application to Use the Database. Configuring the Server to Recognize the Database. 13. Java Servlet Technology. What is a Servlet? The Example Servlets. Troubleshooting. Servlet Life Cycle. Handling Servlet Life Cycle Events. Handling Errors. Sharing Information. Using Scope Objects. Controlling Concurrent Access to Shared Resources. Accessing Databases. Initializing a Servlet. Writing Service Methods. Getting Information From Requests. Constructing Responses. Filtering Requests and Response. Programming Filters. Programming Customized Requests and Responses. Specifying Filter Mappings. Invoking Other Web Resources. Including Other Resources in the Response. Transferring Control to Another Web Component. Accessing the Web Context. Maintaining Client State. Accessing a Session. Associating Attributes with a Session. Session Management. Session Tracking. Finalizing a Servlet. Tracking Service Requests. Notifying Methods to Shut Down. Creating Polite Long-Running Methods. 14. JavaServer Pages Technology. What is a JSP Page? The Example JSP Pages. The Life Cycle of a JSP Page. Translation and Compilation. Execution. Initializing and Finalizing a JSP Page. Creating Static Content. Creating Dynamic Content. Using Objects Within JSP Pages. JSP Scripting Elements. Including Content in a JSP Page. Transferring Control to Another Web Component. Param Element. Including an Applet. Extending the JSP Language. 15. JavaBeans Components in JSP Pages. JavaBeans Component Design Conventions. Why Use a JavaBeans Component? Creating and Using a JavaBeans Component. Setting JavaBeans Component Properties. Retrieving JavaBeans Component Properties. 16. Custom Tags in JSP Pages. What is a Custom Tag? The Example JSP Pages. Using Tags. Declaring Tag Libraries. Making the Tag Library Implementation Available. Types of Tags. Defining Tags. Tag Handlers. Tag Library Descriptors. Simple Tags. Tags with Attributes. Tags with Bodies. Tags That Define Scripting Variables. Cooperating Tags. Examples. An Iteration Tag. A Template Tag Library. How Is a Tag Handler Invoked? 17. JavaServer Pages Standard Tag Library. The Example JSP Pages. Using JSTL. Expression Language Support. Twin Libraries. Specifying an Expression Language Evaluator. Simplest Possible Expression Language (SPEL). Tag Collaboration. Core Tags. Expression Tags. Flow Control Tags. Import Tags. XML Tags. Core Tags. Flow Control Tags. Transformation Tags. Internationalization Tags. Messaging Tags. Formatting Tags. SQL Tags. Query Tag Result-Related Interfaces. 18. The xrpcc Tool. Syntax. Configuration File. Starting with RMI Interfaces. Starting with a WSDL Document. Specifying the Type Mapping. 19. HTTP Overview. HTTP Requests. HTTP Responses. Appendix: Java Encoding Schemes. About the Authors. Index. 0201768119T03262002

About the Author :
Stephanie Bodoff is a staff writer at Sun Microsystems. In previous positions she worked as a software engineer on distributed computing and telecommunications systems and object-oriented software development methods. Since her conversion to technical writing, Stephanie has documented object-oriented databases, application servers, and enterprise application development methods. Maydene Fisher, a native of San Jose, California, specializes in object-oriented languages. She has experience spanning both coasts of the United States, having documented everything from complex financial models on Wall Street to Java APIs in Silicon Valley. Dale Green is a staff writer with Sun Microsystems, where he documents the J2EE platform. In previous positions he programmed business applications, designed databases, taught technical classes, and documented RDBMS products. In his current position he writes about Enterprise JavaBeans technology and the J2EE SDK. Kim Haase is a staff writer with Sun Microsystems, where she documents the J2EE platform. In previous positions she has documented compilers, debuggers, and floating-point programming. She currently writes about the Java Message Service and J2EE SDK tools.


Best Sellers


Product Details
  • ISBN-13: 9780201768114
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Spine Width: 34 mm
  • Width: 235 mm
  • ISBN-10: 0201768119
  • Publisher Date: 07 Jun 2002
  • Binding: SA
  • No of Pages: 544
  • Weight: 1106 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
The Java™ Web Services Tutorial
Pearson Education (US) -
The Java™ Web Services Tutorial
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

The Java™ Web Services Tutorial

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!