Jump to ratings and reviews
Rate this book

Java EE 7 with GlassFish 4 Application Server

Rate this book
In Detail

GlassFish is a free, open source application server which supports all the major Java features such as Enterprise JavaBeans, JPA, JavaServer Faces, JMS, RMI, JavaServer Pages, and servlets. It is the first Java EE 7 compliant application server. All major Java EE technologies and API's are covered in this version of Java. GlassFish server allows the user to work with the extensile, adaptable, and lightweight Java EE 7 platform.

This book explores the installation and configuration of GlassFish, and then moves on to Java EE 7 application development, covering all major Java EE 7 APIs. It focuses on going beyond the basics to develop Java applications deployed to the GlassFish 4 application server. The book covers all major Java EE 7 APIs including JSF 2.2, EJB 3.2, CDI 1.1, the Java API for WebSocket, JAX-WS, JAX-RS and more.

The book also introduces JSON-P, the Java API for JSON (Javascript Object Notation) Processing. This advanced topic deals with how the two APIs are used to process JSON function, namely the Model API and the Streaming API. Apart from revisiting Java Server Faces (JSF), it explains why Facelets, the new features introduced in modern versions of JSF, are the preferred view technology over Java Server Pages (JSP)

The later chapters explore competing implementations of the WebSocket standard in Java, describing the updates in JMS; which aims to provide a simpler API and reduction in boilerplate code among a host of other features. Readers will also learn how to secure Java EE applications by taking advantage of GlassFish's built-in security features. Finally, we learn more about the RESTful web service development using the JAX-RS specification.

Approach

This book is a practical guide and follows a very user-friendly approach. The book aims to get the reader up to speed in Java EE 7 development. All major Java EE 7 APIs and the details of the GlassFish 4 server are covered followed by examples of their use.

Who this book is for

If you are a Java developers who wants to become proficient with Java EE 7 this book is ideal for you. Readers are expected to have some experience with Java and to have developed and deployed applications in the past, but don’t need any previous knowledge of Java EE or J2EE. It teaches the reader how to use GlassFish 4 to develop and deploy applications.

350 pages, Kindle Edition

First published January 1, 2014

2 people are currently reading
8 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (60%)
4 stars
0 (0%)
3 stars
2 (40%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
13 reviews
July 1, 2014
"Java EE 7 with GlassFish 4 Application Server" is the new edition of "Java EE 6 with GlassFish 3 Application Server", from the same author.
This is a very nice book to read if you are not experienced with Java EE and want to learn quickly the concepts of
Java enterprise applications development and how to deploy them on the GlassFish 4 application Server, which is the first application server that supported Java EE 7.

The book is organized in eleven chapters and each one is focused on a specific argument with some simple, but interesting examples.
The author preferred not to fill the book with too much code, showing only the relevant parts and encouraging the reader to download the sample code and try it.

In the first chapter you get a highlight of the new features of Java EE 7: the most relevant are the introduction of Faces Flows and HTML5 markup support in JSF 2.2,
the new Java API for WebSocket 1.0 and the Java API for JSON.
Every new feature has a specific chapter that explains its purpose and how to use it in your projects.
Other chapters cover the configuration of GlassFish 4 and show you how your code and the application server can work together.

To sum up, I strongly suggest this book to people who need to get started with Java EE 7 and GlassFish
and are looking for a book that is easy to read and with tips on how to configure the application server and deploy their applications on it.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.