Java EE 7 Developer Handbook
- Length: 634 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2013-09-20
- ISBN-10: 1849687943
- ISBN-13: 9781849687942
- Sales Rank: #3972337 (See Top 100 Books)
Develop professional applications in Java EE 7 with this essential reference guide
Overview
- Learn about local and remote service endpoints, containers, architecture, synchronous and asynchronous invocations, and remote communications in a concise reference
- Understand the architecture of the Java EE platform and then apply the new Java EE 7 enhancements to benefit your own business-critical applications
- Learn about integration test development on Java EE with Arquillian Framework and the Gradle build system
- Learn about containerless builds featuring the GlassFish 4.0 embedded application server
- Master Java EE 7 with this example-based, up-to-date guide with descriptions and explanations
In Detail
The seventh edition of the Enterprise Java platform is aimed at helping Java engineers take advantage of the advancements in HTML5 and web standards. Web Sockets, asynchronous input and output with Servlets, and strong type safety through the CDI containers will ensure that Java EE 7 remains popular for server-side applications.
If you are a user aiming to get acquainted with the Java EE 7 platform, this book is for you.
“Java EE 7 Handbook” provides a solid foundation of knowledge for developers to build business applications. Following the lead of Agile practices, there is a focus on writing tests to demonstrate test-driven development principles, using the embedded GlassFish 4.0 container examples and the Gradle build system. You will learn about CDI, EJB, JPA, JMS, MDB, Servlets, WebSocket, JAX-RS, Bean Validation, and so much more.
“Java EE 7 Handbook” is designed as a companion to the professional software developer who quickly needs to lookup some working code, understand the basics of the framework, and then go out and fulfill the business contract with the customer. Typically, engineers are under pressure to develop professional code that is of high quality and contains a low number of bugs. Java EE 7 Handbook relies heavily on the Arquillian framework to illustrate how much easier it is to write Java EE tests, and together with the modern practice of writing containerless applications that actually embed an application container, developing agile Java EE suddenly becomes reasonable, smart, pragmatic, and achievable.
What you will learn from this book
- Understand the JSR and the API that are assembled together for Java EE 7
- Write server side and client side WebSocket connection in Java
- Understand the essential differences and similarities between the EJB and CDI containers, as well as dependency injection
- Learn about Gradle builds, embedded containers, and the Arquillian Framework
- Build server side endpoints with EJB in stateless, stateful, and singleton modes
- Write REST server side endpoints on the client and server side
- Write asynchronous Servlet input and output and also annotated Servlet, Context Listeners
- Map entities in Java Persistence with the essential cardinalities including the Java side of many-to-many relationships
- Learn about mapping entities to stored procedures and entity graphs
- Fully understand how to verify your POJO before they hit the database with Bean Validation API
- Be prepared for the Java EE 8 journey and beyond, which may include deployment to the cloud
Table of Contents
Chapter 1: Java EE 7 HTML5 Productivity
Chapter 2: Context and Dependency Injection
Chapter 3: Enterprise Java Beans
Chapter 4: Essential Java Persistence API 3.2
Chapter 5: Object-Relational Mapping with JPA
Chapter 6: Java Servlets and Asynchronous Request-Response
Chapter 7: Java API for HTML5WebSocket
Chapter 8: RESTful Services JAX-RS 2.0
Chapter 9: Java Message Service 2.0
Chapter 10: Bean Validation
Chapter 11: Advanced Topics in Persistence
Appendix A: Java EE 7 Platform
Appendix B: Java EE 7 Persistence
Appendix C: Java EE 7 Transactions
Appendix D: Java EE 7 Assorted Topics