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
Chapter 1 Java Platform, Enterprise Edition
Introduction
Deliverables
What’s New in Java EE 6
Chapter 2 Managed Beans
Define and Use a Managed Bean
Lifecycle Callback
Chapter 3 Servlets
Servlets
Servlet Filters
Event Listeners
Asynchronous Support
Web Fragments
Security
Resource Packaging
Error Mapping
Handling Multipart Requests
Chapter 4 Java Persistence API
Entities
Persistence Unit, Persistence Context, and Entity Manager
Create, Read, Update, and Delete Entities
Validating the Entities
Transactions and Locking
Caching
Chapter 5 Enterprise JavaBeans
Stateful Session Beans
Stateless Session Beans
Singleton Session Beans
Message-Driven Beans
Portable Global JNDI Names
Transactions
Asynchronous
Timers
Embeddable API
EJB.Lite
Chapter 6 Contexts and Dependency Injection
Injection Points
Qualifier and Alternative
Producer and Disposer
Interceptors and Decorators
Scopes and Contexts
Stereotypes
Events
Portable Extensions
Chapter 7 JavaServer Faces
Facelets
Resource Handling
Composite Components
Ajax
HTTP GET
Server and Client Extension Points
Navigation Rules
Chapter 8 SOAP-Based Web Services
Web Service Endpoints
Provider-Based Dynamic Endpoints
Endpoint-Based Endpoints
Web Service Client
Dispatch-Based Dynamic Client
Handlers
Chapter 9 RESTful Web Services
Simple RESTful Web Services
Binding HTTP Methods
Multiple Resource Representations
Binding Request to a Resource
Mapping Exceptions
Chapter 10 Java Message Service
Sending a Message
Quality of Service
Receiving a Message Synchronously
Receiving a Message Asynchronously
Temporary Destinations
Chapter 11 Bean Validation
Built-in Constraints
Defining a Custom Constraint
Validation Groups
Integration with JPA
Integration with JSF
Appendix Getting Started with Java EE 6 Development and Deployment
Appendix Further Reading
Web Technology Specifications
Enterprise Technology Specifications
Web Service Technologies
Management and Security Technologies
|
0 commentaires:
Post a Comment