The J2EE™ Tutorial
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > The J2EE™ Tutorial
The J2EE™ Tutorial

The J2EE™ Tutorial

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

The J2EE™ Tutorial, Second Edition, is the complete guide to all major components of the Java 2 Platform, Enterprise Edition (J2EE) version 1.4. Written by members of the J2EE platform team at Sun Microsystems, this is the task-oriented and example-driven book that will have new and intermediate Java programmers building J2EE applications right away. The first chapters introduce the J2EE 1.4 platform architecture and APIs, the Sun Java System Application Server Platform Edition 8, and the basics of working with XML and Web applications. The greater part of the book is devoted to describing and demonstrating the Java XML, Web-tier, and Enterprise JavaBeans technologies and platform services. Extensive examples and case studies show you how to put these technologies to work in the real world. The technologies and services detailed include: Java API for XML Processing (JAXP) Java API for XML-Based RPC (JAX-RPC) SOAP with Attachments API for Java (SAAJ) Java API for XML Registries (JAXR) Java Servlet JavaServer Pages (JSP) JSP Standard Tag Library (JSTL) JavaServer Faces Internationalization and localization Enterprise JavaBeans (EJB) Transactions Resource connections Security Java Message Service API (JMS API) The J2EE™ Tutorial, Second Edition, will give you a head start in developing and deploying J2EE applications. The accompanying CD-ROM includes the tutorial examples (binary and source code) and the J2EE Software Development Kit, Enterprise Edition 1.4 (J2EE 1.4 SDK), which contains the Sun Java System Application Server Platform Edition 8, Java 2 Software Development Kit (J2SE SDK), and BluePrints sample applications.

Table of Contents:
Foreword. About This Tutorial. 1. Overview. Distributed Multitiered Applications.2 J2EE Containers. Web Services Support. Packaging Applications. Development Roles. J2EE 1.4 Platform APIs. Sun Java System Application Server Platform Edition 8. 2. Understanding XML. Introduction to XML. Generating XML Data. Designing an XML Data Structure. Summary. 3. Getting Started with Web Applications. Web Application Life Cycle. Web Modules. Configuring Web Applications. Duke's Bookstore Examples. Accessing Databases from Web Applications. Further Information. 4. Java API for XML Processing. The JAXP APIs. An Overview of the Packages. The Simple API for XML APIs. The Document Object Model APIs. The Extensible Stylesheet Language Transformations APIs. Using the JAXP Libraries. Where Do You Go from Here? 5. Simple API for XML. When to Use SAX. Adding Additional Event Handlers. Handling Errors with the Nonvalidating Parser. Displaying Special Characters and CDATA. Parsing with a DTD. Choosing Your Parser Implementation. Using the Validating Parser. Parsing a Parameterized DTD. Handling Lexical Events. Using the DTDHandler and EntityResolver. Further Information. 6. Document Object Model. When to Use DOM. Reading XML Data into a DOM. Displaying a DOM Hierarchy. Examining the Structure of a DOM. Constructing a User-Friendly JTree from a DOM. Creating and Manipulating a DOM. Validating with XML Schema. Further Information. 7. Extensible Stylesheet Language Transformations. Introducing XSL, XSLT and XPath. How XPath Works. Generating XML from an Arbitrary Data Structure. Transforming XML Data with XSLT. Transforming from the Command Line with Xalan. Concatenating Transformations with a Filter Chain. Further Information. 8. Building Web Services with JAX-RPC. Setting the Port. Creating a Simple Web Service and Client with JAX-RPC. Types Supported by JAX-RPC. Web Service Clients. Web Services Interoperability and JAX-RPC. Further Information. 9. SOAP with Attachments API for Java. Overview of SAAJ. Tutorial. Code Examples. Further Information. 10. Java API for XML Registries. Implementing a JAXR Client . Running the Client Examples. Using JAXR Clients in J2EE Applications. Further Information. 11. Java Servlet Technology. What Is a Servlet? The Example Servlets. Servlet Life Cycle. Sharing Information. Initializing a Servlet. Writing Service Methods. Filtering Requests and Responses. Invoking Other Web Resources. Accessing the Web Context. Maintaining Client State. Finalizing a Servlet. Further Information. 12. JavaServer Pages Technology. What Is a JSP Page? The Example JSP Pages. The Life Cycle of a JSP Page. Creating Static Content. Creating Dynamic Content. Expression Language. JavaBeans Components. Using Custom Tags. Reusing Content in JSP Pages. Transferring Control to Another Web Component. Including an Applet. Setting Properties for Groups of JSP Pages. Further Information. 13. JavaServer Pages Documents. The Example JSP Document. Creating a JSP Document. Identifying the JSP Document to the Container. 14. JavaServer Pages Standard Tag Library. The Example JSP Pages. Using JSTL. Core Tag Library. XML Tag Library. Internationalization Tag Library. SQL Tag Library. Functions. Further Information. 15. Custom Tags in JSP Pages. What Is a Custom Tag? The Example JSP Pages. Types of Tags. Encapsulating Reusable Content Using Tag Files. Tag Library Descriptors. Programming Simple Tag Handlers. 16. Scripting in JSP Pages. The Example JSP Pages. Using Scripting. Disabling Scripting. Declarations. Scriptlets. Expressions. Programming Tags That Accept Scripting Elements. 17. JavaServer Faces Technology. JavaServer Faces Technology Benefits. What Is a JavaServer Faces Application? Framework Roles. A Simple JavaServer Faces Application. User Interface Component Model. Navigation Model. Backing Bean Management. How the Pieces Fit Together. The Life Cycle of a JavaServer Faces Page. Further Information. 18. Using JavaServer Faces Technology in JSP Pages. The Example JavaServer Faces Application. Setting Up a Page. Using the Core Tags. Using the HTML Component Tags. Using Localized Messages. Using the Standard Converters. Registering Listeners on Components. Using the Standard Validators. Binding Component Values and Instances to External Data Sources. Referencing a Backing Bean Method. Using Custom Objects. 19. Developing with JavaServer Faces Technology. Writing Component Properties. Performing Localization. Creating a Custom Converter. Implementing an Event Listener. Creating a Custom Validator. Writing Backing Bean Methods. 20. Creating Custom UI Components. Determining Whether You Need a Custom Component or Renderer. Understanding the Image Map Example. Steps for Creating a Custom Component. Creating the Component Tag Handler. Defining the Custom Component Tag in a Tag Library Descriptor. Creating Custom Component Classes. Delegating Rendering to a Renderer. Handling Events for Custom Components. 21. Configuring JavaServer Faces Applications. Application Configuration Resource File. Configuring Beans. Registering Messages. Registering a Custom Validator. Registering a Custom Converter. Configuring Navigation Rules. Registering a Custom Renderer with a Render Kit. Registering a Custom Component. Basic Requirements of a JavaServer Faces Application. 22. Internationalizing and Localizing Web Applications. Java Platform Localization Classes. Providing Localized Messages and Labels. Date and Number Formatting. Character Sets and Encodings. Further Information. 23. Enterprise Beans. What Is an Enterprise Bean? What Is a Session Bean? What Is an Entity Bean? What Is a Message-Driven Bean? Defining Client Access with Interfaces. The Contents of an Enterprise Bean. Naming Conventions for Enterprise Beans. The Life Cycles of Enterprise Beans. Further Information. 24. Getting Started with Enterprise Beans. Creating the J2EE Application. Creating the Enterprise Bean. Creating the Application Client. Creating the Web Client. Mapping the Enterprise Bean References. Specifying the Web Client's Context Root. Deploying the J2EE Application. Running the Application Client. Running the Web Client. Modifying the J2EE Application. 25. Session Bean Examples. The CartBean Example. A Web Service Example: HelloServiceBean. Other Enterprise Bean Features. Using the Timer Service. Handling Exceptions. 26. Bean-Managed Persistence Examples. The SavingsAccountBean Example. Mapping Table Relationships for Bean-Managed Persistence. Primary Keys for Bean-Managed Persistence. deploytool Tips for Entity Beans with Bean-Managed Persistence. 27. Container-Managed Persistence Examples. Overview of the RosterApp Application. The PlayerBean Code. Method Invocations in RosterApp. Building and Running the RosterApp Example. A Guided Tour of the RosterApp Settings. Primary Keys for Container-Managed Persistence. Advanced CMP Topics: The OrderApp Example. deploytool Tips for Entity Beans with Container-Managed Persistence. 28. A Message-Driven Bean Example. Example Application Overview. The Application Client. The Message-Driven Bean Class. Deploying and Running SimpleMessageApp. deploytool Tips for Message-Driven Beans. deploytool Tips for Components That Send Messages. 29. Enterprise JavaBeans Query Language. Terminology. Simplified Syntax. Example Queries. Full Syntax. EJB QL Restrictions. 30. Transactions. What Is a Transaction? Container-Managed Transactions. Bean-Managed Transactions. Summary of Transaction Options for Enterprise Beans. Transaction Timeouts. Isolation Levels. Updating Multiple Databases. Transactions in Web Components. 31. Resource Connections. JNDI Naming. DataSource Objects and Connection Pools. Database Connections. Mail Session Connections. URL Connections. Further Information. 32. Security. Overview. Realms, Users, Groups, and Roles. Web-Tier Security. Understanding Login Authentication. Installing and Configuring SSL Support. XML and Web Services Security. EJB-Tier Security. Application Client-Tier Security. EIS-Tier Security. Propagating Security Identity. What Is Java Authorization Contract for Containers? Further Information. 34. The Java Message Service API. Overview. Basic JMS API Concepts. The JMS API Programming Model. Writing Simple JMS Client Applications. Creating Robust JMS Applications. Using the JMS API in a J2EE Application. Further Information. 34. J2EE Examples Using the JMS API. A J2EE Application That Uses the JMS API with a Session Bean. A J2EE Application That Uses the JMS API with an Entity Bean. An Application Example That Consumes Messages from a Remote J2EE Server. An Application Example That Deploys a Message-Driven Bean on Two J2EE Servers. 35. The Coffee Break Application. Common Code. JAX-RPC Coffee Supplier Service. SAAJ Coffee Supplier Service. Coffee Break Server. JavaServer Faces Version of Coffee Break Server. Building, Packaging, Deploying, and Running the Application. 36. The Duke's Bank Application. Enterprise Beans. Application Client. Internationalization. Building, Packaging, Deploying, and Running the Application. Running the Clients. Appendix A : Java Encoding Schemes. Further Information. Appendix B: XML and Related Specs: Digesting the Alphabet Soup. Basic Standards. Schema Standards. Linking and Presentation Standards. Knowledge Standards. Standards That Build on XML . Summary. Appendix C: HTTP Overview. HTTP Requests. HTTP Responses. Appendix D: J2EE Connector Architecture. About Resource Adapters. Resource Adapter Contracts. Common Client Interface. Further Information. Glossary. About the Authors. Index.    


Best Sellers


Product Details
  • ISBN-13: 9780321245755
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Height: 234 mm
  • No of Pages: 1568
  • Weight: 2174 gr
  • ISBN-10: 032124575X
  • Publisher Date: 22 Jul 2004
  • Binding: SA
  • Language: English
  • Spine Width: 55 mm
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
The J2EE™ Tutorial
Pearson Education (US) -
The J2EE™ 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 J2EE™ 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

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!