The complete guide to installing and configuring the GlassFish Application Server and developing Java EE 5 applications to be deployed to this server
- Concise guide covering all major aspects of Java EE 5 development
- Uses the enterprise open-source GlassFish application server
- Explains GlassFish installation and configuration
- Covers all major Java EE 5 APIs
GlassFish is a free, open-source Java EE 5-compliant application server that is quickly gaining massive popularity.
This book explains GlassFish installation and configuration, and then moves on to Java EE 5 application development, covering all major Java EE 5 APIs.
Chapter 1 provides an overview of Glassfish, including how to install it, configure it, and verify the installation.
Chapter 2 covers how to develop server-side web applications using the Servlet API.
Chapter 3 explains how to develop web applications using JavaServer Pages (JSPs), including how to develop and use JSP custom tags.
Chapter 4 discusses how to develop Java EE applications that interact with a relational database system through the Java Persistence API (JPA) and through the Java Database Connectivity API (JDBC).
Chapter 5 explains how to use the JSP Standard Tag Library (JSTL) when developing JavaServer Pages.
Chapter 6 covers how to develop applications using the JavaServer Faces (JSF) component framework to build web applications.
Chapter 7 explains how to develop messaging applications though the Java Messaging Service (JMS) API.
Chapter 8 covers securing J2EE applications through the Java Authentication and Authorization Service (JAAS).
Chapter 9 discusses how to develop Enterprise Java Beans that adhere to the EJB 3 specification.
Chapter 10 explains how to develop and deploy web services that conform to the JAX-WS 2.1 specification.
Chapter 11 covers frameworks that build on top of the Java EE 5 specification, including Seam, Facelets, and Ajax4Jsf.
The appendices cover some of the advanced features of the GlassFish server.
What you will learn from this book?
- How to install and configure GlassFish
- How to develop web applications using JSPs, JSTL, Servlets, and JSF
- How to develop applications that interact with relational database systems through the Java Persistence API and JDBC
- How to develop applications using EJB 3, including how to take advantage of container-managed transactions and EJB declarative security through annotations
- How to implement messaging applications through the JMS API
- How to secure Java EE applications via the JAAS API, including how to implement custom security realms
- How to build applications using frameworks that build on top of the Java EE 5 specification, including Seam, Facelets, and Ajax4jsf
The book aims to speed up the reader in Java EE 5 development. All major Java EE 5 APIs and the details of the GlassFish server are covered followed by examples of its use.
Who this book is written for?
This book is aimed at Java developers wishing to become proficient with Java EE 5, who are expected to have some experience with Java and to have developed and deployed applications in the past, but need no previous knowledge of Java EE or J2EE. It teaches the reader how to use GlassFish to develop and deploy applications.