12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■ PREFACECONTENTSChapter 1 briefly presents <strong>Java</strong> <strong>EE</strong> 6 essentials and the tools used throughout the book (JDK, Maven,JUnit, Derby, and <strong>GlassFish</strong>).The persistent tier is described from Chapter 2 to Chapter 5 and focuses on JPA 2.0. After a generaloverview <strong>with</strong> some hands-on examples in Chapter 2, Chapter 3 dives into object-relational mapping(mapping attributes, relationships, and inheritance). Chapter 4 shows you how to manage and queryentities, while Chapter 5 presents their life cycle, callback methods, and listeners.To develop a transaction business logic layer <strong>with</strong> <strong>Java</strong> <strong>EE</strong> 6, you can naturally use EJBs. This will bedescribed from Chapter 6 to Chapter 9. After an overview of the specification, its history, and a hands-onexample in Chapter 6, Chapter 7 will concentrate on session beans and their programming model, aswell as the new timer service. Chapter 8 focuses on the life cycle of EJBs and interceptors, while Chapter9 explains transactions and security.From Chapter 10 to Chapter 12, you will learn how to develop a presentation layer <strong>with</strong> JSF 2.0. Afteran overview of the specification in Chapter 10, Chapter 11 will focus on how to build a web page <strong>with</strong> JSFand Facelets components. Chapter 12 will show you how to interact <strong>with</strong> an EJB back end and navigatethrough pages.Finally, the last chapters will present different ways to interoperate <strong>with</strong> other systems. Chapter 13will show you how to exchange asynchronous messages <strong>with</strong> <strong>Java</strong> Message Service (JMS) and Message-Driven Beans (MDBs). Chapter 14 focuses on SOAP web services, while Chapter 15 covers RESTful webservices.Downloading and Running the CodeThe examples used in this book are designed to be compiled <strong>with</strong> the JDK 1.6, deployed to the <strong>GlassFish</strong>V3 application server, and stored in Derby. Chapter 1 shows you how to install all these softwareprograms, and each chapter explains how to build, deploy, run, and test components depending on thetechnology used. The code has been tested on the Windows platform, but not on Linux nor on OS X. Thesource code of the examples in the book is available from the Source Code page of the Apress web site atxxii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!