Java EE 5 Development using GlassFish Application Server
If you have been doing development on the latest Java EE 5 specification, PACKT publishing has the right book for you. This book is a Developer’s Guide, covering the ins and outs of
developing Java EE 5 applications deployed to the standards-compliant,
high performance GlassFish application server.
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 Highlights:
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.
You can read an excerpt from this book here.
For more details about this book visit here.
Java EE 5 Development using GlassFish Application Server
URL: http://www.packtpub.com/Java-EE-5-GlassFish-Application-Servers/book
Excerpt:
http://www.packtpub.com/files/GlassFish-Application-Server-JavaServer-Faces-Sample-Chapter.pdf
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





Comments
Kristian Rink replied on Thu, 2008/03/27 - 6:51am
Soren Davidsen replied on Thu, 2008/03/27 - 4:28pm
While Glassfish already comes with great free documentation (Sun App Server docs), then this book is also on the top of my wish-list (student, so not in a financial position just to go out and buy when I like :) ).
Does the book have a Glassfish specific approach to the topics covered, or a more general JEE5 angle?
Cheers, Soren
Meera Subbarao replied on Thu, 2008/03/27 - 5:24pm
Hi Soren,
I haven't read the book. I have submitted the press release from the publisher. But, in reading the contents and sample chapter, it sure takes a GlassFish specific approach. And hence the title.
Soren Davidsen replied on Fri, 2008/03/28 - 2:17am
in response to:
Meera Subbarao
Hi Meera,
By the title yes, but only chapter 1 and the appendices looks guaranteed Glassfish specific from the ToC. I guess I will be looking forward to your review and then decide :-)
Regards, Soren
Greg Hall replied on Fri, 2008/03/28 - 4:14am
I've read this book. It's well written and provides a good overview of JEE 5, but I there is little in terms of specific Glassfish information. The JEE 5 coverage is wide but not deep. I was hoping for more detail on Glassfish itself, particularly on architecture, configuration and performance trade offs, as I don't find the Sun documentation particularly easy to read.
Regards,
Greg
Kristian Rink replied on Fri, 2008/03/28 - 4:19am
in response to:
Greg Hall
Thanks for your comments on that, Greg. Can you, then, recommend a book more suitable to those looking for more in-depth Java-EE-on-glassfish coverage?
Thanks and best regards,
Kristian
Kenneth Mark replied on Fri, 2008/03/28 - 5:19am
in response to:
Greg Hall
I've read this book. It's well written and provides a good overview of JEE 5, but I there is little in terms of specific Glassfish information.....
[/quote]
I was also expecting more Glassfish expecific on this book. As we already use Glassfish for months we need more details information for configuration, tunning, etc and it is quite disperse right now.
Kenneth
Meera Subbarao replied on Fri, 2008/03/28 - 6:44am
Greg Hall replied on Fri, 2008/03/28 - 7:16am
in response to:
Kristian Rink
There isn't a good in-depth Glassfish book that I know of, but I think a lot of people would be really interested in one.
Regards,
Greg.
David Heffelfinger replied on Fri, 2008/03/28 - 8:16am
I am the book's author. I would like to add a few comments about it:
One advantage that this approach has is that, since GlassFish is open source and available for download free of cost, developers can learn Java EE 5 using GlassFish at home, then use their newly found skills on other expensive application servers that their employer might be using. The book does cover some GlassFish specific deployment descriptors, however I'll admit that the coverage is minimal.
The chapter on security covers some topics that are very much GlassFish specific such as configuring security realms and developing custom security realms.
We are all aware that complete books have been written covering every single one of these topics (except Facelets and Ajax4jsf, to the best of my knowledge), therefore the book doesn't cover every nook and cranny of each one of these technologies, instead it focuses on providing information on all of these APIs and how they all work together. Those of us that have been working with Java for a while (I started in 1996) have had the luxury of learning these APIs in chunks, as they are introduced. Developers that started later may be overwhelmed by the sheer number of things to learn, a book covering only servlets or only EJB's for instance, may not give the reader an idea on how to make all of the Java EE 5 technologies work together.
Like Meera said, she will be interviewing me soon, I may provide additional details about the book at that time.
Meera Subbarao replied on Fri, 2008/03/28 - 8:53am
I agree completely with the author, if the app server you are using is Java EE 5 compliant, you can just take the jar/ear and deploy to any other server unless you don't have any server specific changes. I have done this with EJB3 and my applications have worked seamlessly with GlassFish and Oracle AS. I am mentioning just these two since most others which do say they are Java EE 5 complaint, didn't deploy well.
BTW, the admin console of GlassFish is very intuitive and user friendly. I had been using most other servers for the past 5 years, it took me just minutes to get GlassFish up and running with no problems whatsoever. And their documentation is just awesome.
Remigijus Bauzys replied on Sun, 2008/03/30 - 10:18am
Sorry, but this book is very entry level and very weak.
There is almost nothing specific to Glassfish in this book. This book is about Java EE 5 with few glassfish screenshots. If we remove glassfish from book's title we will be left with "Java EE 5 Development using Application Server" which will be more appropriate.
If someone needs any information on glassfish there is a mush better quality source http://docs.sun.com/app/docs/coll/1343.4
Even without Glassfish word in book's title, this is very entry level and misleading book.
Who is supposed to be reading such book? What will he learn from it? Will he be able to correctly develop Enterprise application? Doesn't Java EE is more related with architecture than java language and screenshots? What will reader say after reading it? Spring is much better. Of course it's, there is nothing about Java EE, NOTHING.
In this book I found:
Does anybody cares what quality of Java EE 5 application will be produced after reading this book? What will be said about this software and Java EE technology after all?
Java EE is about Enterprise level application's architecture, design, deployment and support.
ps. So much paper, money and effort wasted. Author should do much more reading, before writing.
Sorry if someone been hurt by these words. I guess a lot of you will accept my opinion. This book should be banned. Glassfish does not deserve such low quality books.
David Heffelfinger replied on Mon, 2008/03/31 - 8:08am
Remigijus,
Sorry to hear the book didn't meet your expectations. Unfortunately it is impossible to write a book that meets the needs of developers of all experience levels.
Nobody denies that a good architecture is an essential part of a good Java EE 5 application, however sometimes following strict design patterns and architecture tends to get in the way of writing simple and clear examples, since a lot of the code in the example would not directly relate to the API being discussed, and might confuse, rather than help, developers following the examples hoping to learn a specific API such as EJB 3, JSF or JPA.
I took the approach of writing simple, easy to follow examples, since I felt this approach would be most beneficial for learning the APIs covered in the book.
Regards,
David R. Heffelfinger
Author, Java EE 5 Development Using GlassFish Application Server
Meera Subbarao replied on Mon, 2008/03/31 - 9:11am
Remigijus Bauzys replied on Tue, 2008/04/01 - 12:37am
in response to:
David Heffelfinger
I was cough by the title. From your reply I see that the biggest failure is the title of this book. You thought and wrote book as Java EE 5 tutorial or introduction, easy steps to follow. All samples are based on Glassfish what in fact is very welcomed. And at last, books title which does not point to entry level.
There is also a huge amount of badly written or named books for JBoss. When I first saw this book my thought was, at least I can get some deep insights or something very specific about glassfish server. That was what I was expecting. My expectations failed.
It would be very nice to have a good book about proper designing, best practices, patterns, developing, deploying, support and keeping alive Java EE applications on Glassfish. When I think about Java EE AS I always think about 24x7, uninterrupted update, distributed computing, load balancing, efficient logging and ........
Marketing definition for quality = "Met customers expectations". Expectations