Java EE 6 Pocket Guide

Book description

This handy guide provides an overview of Java Enterprise Edition 6’s main technologies and includes extensive, easy-to-understand code samples that demonstrate the platform’s many improvements. You’ll quickly understand how Java EE 6 simplifies the process of developing and deploying web and enterprise applications.

  • Explore what’s new in Java EE 6, including Contexts and Dependency Injection and the Java API for RESTful Web Services
  • Discover how Java EE 6 features relate to design patterns in web and enterprise applications
  • Get the specifications for making your application Java EE compliant
  • Learn about revisions to Enterprise JavaBeans, JavaServer Faces, and other components
  • Find out how Java EE 6 profiles change the platform’s “one size fits all” approach
  • Get started with Java EE 6 development and deployment, using NetBeans IDE and GlassFish

Table of contents

  1. Java EE 6 Pocket Guide
  2. Dedication
  3. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  4. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Safari® Books Online
    4. How to Contact Us
    5. Acknowledgments
  5. 1. Java Platform, Enterprise Edition
    1. Introduction
    2. Deliverables
    3. What’s New in Java EE 6
  6. 2. Managed Beans
    1. Define and Use a Managed Bean
    2. Lifecycle Callback
  7. 3. Servlets
    1. Servlets
    2. Servlet Filters
    3. Event Listeners
    4. Asynchronous Support
    5. Web Fragments
    6. Security
    7. Resource Packaging
    8. Error Mapping
    9. Handling Multipart Requests
  8. 4. Java Persistence API
    1. Entities
    2. Persistence Unit, Persistence Context, and Entity Manager
    3. Create, Read, Update, and Delete Entities
    4. Validating the Entities
    5. Transactions and Locking
    6. Caching
  9. 5. Enterprise JavaBeans
    1. Stateful Session Beans
    2. Stateless Session Beans
    3. Singleton Session Beans
    4. Message-Driven Beans
    5. Portable Global JNDI Names
    6. Transactions
    7. Asynchronous
    8. Timers
    9. Embeddable API
    10. EJB.Lite
  10. 6. Contexts and Dependency Injection
    1. Injection Points
    2. Qualifier and Alternative
    3. Producer and Disposer
    4. Interceptors and Decorators
    5. Scopes and Contexts
    6. Stereotypes
    7. Events
    8. Portable Extensions
  11. 7. JavaServer Faces
    1. Facelets
    2. Resource Handling
    3. Composite Components
    4. Ajax
    5. HTTP GET
    6. Server and Client Extension Points
    7. Navigation Rules
  12. 8. SOAP-Based Web Services
    1. Web Service Endpoints
    2. Provider-Based Dynamic Endpoints
    3. Endpoint-Based Endpoints
    4. Web Service Client
    5. Dispatch-Based Dynamic Client
    6. Handlers
  13. 9. RESTful Web Services
    1. Simple RESTful Web Services
    2. Binding HTTP Methods
    3. Multiple Resource Representations
    4. Binding Request to a Resource
    5. Mapping Exceptions
  14. 10. Java Message Service
    1. Sending a Message
    2. Quality of Service
    3. Receiving a Message Synchronously
    4. Receiving a Message Asynchronously
    5. Temporary Destinations
  15. 11. Bean Validation
    1. Built-in Constraints
    2. Defining a Custom Constraint
    3. Validation Groups
    4. Integration with JPA
    5. Integration with JSF
  16. A. Getting Started with Java EE 6 Development and Deployment
  17. B. Further Reading
    1. Web Technology Specifications
    2. Enterprise Technology Specifications
    3. Web Service Technologies
    4. Management and Security Technologies
  18. Index
  19. About the Author
  20. Colophon
  21. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  22. Copyright

Product information

  • Title: Java EE 6 Pocket Guide
  • Author(s): Arun Gupta
  • Release date: September 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449338343