Synopses & Reviews
The Java Enterprise Edition 6 platform provides capabilities that make it easier for Java programmers to develop and deploy enterprise and Web applications. This handy guide provides an overview of the main technologies in the Java EE 6 platform, including extensive easy-to-understand code samples that demonstrate many improvements.
Whether youre familiar with Java EE 5 or a Java programmer approaching the enterprise edition for the first time, this book will quickly get you up to speed on Java EE 6.
- Discover how Java EE 6 provides a simplified developer experience and improves on the developer productivity features introduced in Java EE 5
- Delve into Java EE 6 profiles, including a comprehensive profile for lightweight, standards-based modern web applications
- Explore how the platform enables extensibility with open source libraries and frameworks
- Learn how specifications such as Contexts & Dependency Injection, Java API for RESTful Services, and Servlets 3 make the platform more powerful
This handy guide provides an overview of Java Enterprise Edition 6s main technologies and includes extensive, easy-to-understand code samples that demonstrate the platforms many improvements. Youll quickly understand how Java EE 6 simplifies the process of developing and deploying web and enterprise applications.
- Explore whats 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 platforms “one size fits all” approach
- Get started with Java EE 6 development and deployment, using NetBeans IDE and GlassFish
About the Author
Arun Gupta is a Java evangelist working at Oracle. Arun has over 15 years of experience in the software industry working in the Java™ platform and several web-related technologies. In his current role, he works to create and foster the community around Java EE and GlassFish. He has been with the Java EE team since its inception and contributed to all releases. Arun has extensive world wide speaking experience on myriad of topics and loves to engage with the community, customers, partners, and Java User Groups everywhere to spread the goodness of Java.
He is a prolific blogger at http://blogs.oracle.com/arungupta with over 1300 blog entries and frequent visitors from all around the world with a cumulative page visits > 1.2 million. He is a passionate runner and always up for running in any part of the world. You can catch him at @arungupta.
Table of Contents
Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1: Java Platform, Enterprise Edition; 1.1 Introduction; 1.2 Deliverables; 1.3 What's New in Java EE 6; Chapter 2: Managed Beans; 2.1 Define and Use a Managed Bean; 2.2 Lifecycle Callback; Chapter 3: Servlets; 3.1 Servlets; 3.2 Servlet Filters; 3.3 Event Listeners; 3.4 Asynchronous Support; 3.5 Web Fragments; 3.6 Security; 3.7 Resource Packaging; 3.8 Error Mapping; 3.9 Handling Multipart Requests; Chapter 4: Java Persistence API; 4.1 Entities; 4.2 Persistence Unit, Persistence Context, and Entity Manager; 4.3 Create, Read, Update, and Delete Entities; 4.4 Validating the Entities; 4.5 Transactions and Locking; 4.6 Caching; Chapter 5: Enterprise JavaBeans; 5.1 Stateful Session Beans; 5.2 Stateless Session Beans; 5.3 Singleton Session Beans; 5.4 Message-Driven Beans; 5.5 Portable Global JNDI Names; 5.6 Transactions; 5.7 Asynchronous; 5.8 Timers; 5.9 Embeddable API; 5.10 EJB.Lite; Chapter 6: Contexts and Dependency Injection; 6.1 Injection Points; 6.2 Qualifier and Alternative; 6.3 Producer and Disposer; 6.4 Interceptors and Decorators; 6.5 Scopes and Contexts; 6.6 Stereotypes; 6.7 Events; 6.8 Portable Extensions; Chapter 7: JavaServer Faces; 7.1 Facelets; 7.2 Resource Handling; 7.3 Composite Components; 7.4 Ajax; 7.5 HTTP GET; 7.6 Server and Client Extension Points; 7.7 Navigation Rules; Chapter 8: SOAP-Based Web Services; 8.1 Web Service Endpoints; 8.2 Provider-Based Dynamic Endpoints; 8.3 Endpoint-Based Endpoints; 8.4 Web Service Client; 8.5 Dispatch-Based Dynamic Client; 8.6 Handlers; Chapter 9: RESTful Web Services; 9.1 Simple RESTful Web Services; 9.2 Binding HTTP Methods; 9.3 Multiple Resource Representations; 9.4 Binding Request to a Resource; 9.5 Mapping Exceptions; Chapter 10: Java Message Service; 10.1 Sending a Message; 10.2 Quality of Service; 10.3 Receiving a Message Synchronously; 10.4 Receiving a Message Asynchronously; 10.5 Temporary Destinations; Chapter 11: Bean Validation; 11.1 Built-in Constraints; 11.2 Defining a Custom Constraint; 11.3 Validation Groups; 11.4 Integration with JPA; 11.5 Integration with JSF; Getting Started with Java EE 6 Development and Deployment; Further Reading; Web Technology Specifications; Enterprise Technology Specifications; Web Service Technologies; Management and Security Technologies; Colophon;