Apress

Beginning Java™ EE 6 Platform with GlassFish™ 3

From Novice to Professional

By Antonio Goncalves

Beginning Java™ EE 6 Platform with GlassFish™ 3 Cover Image

Step-by-step and easy to follow, this book describes many of the Java EE 6 specifications and reference implementations and shows them in action using practical examples.

Full Description

  • ISBN13: 978-1-4302-1954-5
  • User Level: Beginner to Intermediate
  • Publication Date: May 24, 2009
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $44.99
  • eBook Price: $31.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Java Enterprise Edition (Java EE) continues to be one of the leading Java technologies and platforms from Oracle (previously Sun). Beginning Java EE 6 Platform with GlassFish 3, Second Edition is this first tutorial book on the final (RTM) version of the Java EE 6 Platform.

Step by step and easy to follow, this book describes many of the Java EE 6 specifications and reference implementations, and shows them in action using practical examples. This book uses the new version of GlassFish 3 to deploy and administer the code examples.

Written by an expert member of the Java EE 6 specification request and review board in the Java Community Process (JCP), this book contains the best information possible, from an expert’s perspective on enterprise Java technologies.

What you’ll learn

  • Get started with the final version of the Java EE 6 Platform.
  • Explore and use the new EJB 3.1 and JPA 2.0 APIs from entities to session beans to message-driven beans, and more.
  • Discover the web tier development APIs including JSPs, JSTL, and Expression Language, and especially JSF 2.0 and Facelets.
  • Uncover the new web services, RESTful services, and more available in Java EE 6.
  • Create dynamic user interfaces for your enterprise and transactional Java applications.

Who this book is for

This book is for advanced Java programmers as well as Java EE 6 beginners. Architects will also find information about how to layer their Java EE applications.

Table of Contents

Table of Contents

  1. Java EE 6 at a Glance
  2. Java Persistence
  3. Object-Relational Mapping
  4. Managing Persistent Objects
  5. Callbacks and Listeners
  6. Enterprise Java Beans
  7. Session Beans and the Timer Service
  8. Callbacks and Interceptors
  9. Transactions and Security
  10. JavaServer Faces
  11. Pages and Components
  12. Processing and Navigation
  13. Sending Messages
  14. SOAP Web Services
  15. RESTful Web Services
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 51:

The error isn't on page 48, but rather there is a problem with the source code for Chapter 2. In the pom.xml file for chapter 2 code, the dependencies javax.persistence and eclipselink both use version 1.1.0-snapshot. This does not work for me, and furthermore in the text, page 51, it shows the pom.xml without snapshot appended.

On page 196-197:
The 'mvn package' command is discussed in page 196. However, the result of this command appears to depend on the BookEJBTest class, whose modification is discussed later in the next page. If a reader is developing as she is reading the book, she would not have modified the BookEJBTest class when reading page 196. The 'mvn package' command execution will give errors.