Wednesday Aug 28, 2013

Java EE 7 Essentials from O'Reilly: Now Available in Paperback and Ebook

Hot off the press ...

Announcing the availability of my new book Java EE 7 Essentials.

Release Date: TBD, 2013
Language: English
Pages: 362
Print ISBN: 978-1-4493-7017-6 | ISBN 10:1-4493-7017-9
Ebook ISBN: 978-1-4493-7016-9 | ISBN 10:1-4493-7016-0

Chapter 1: Java Platform, Enterprise Edition
Chapter 2: Servlets
Chapter 3: JavaServer Faces
Chapter 4: RESTful Web Services
Chapter 5: SOAP-based Web Services
Chapter 6: JSON Processing
Chapter 7: WebSocket
Chapter 8: Enterprise JavaBeans
Chapter 9: Contexts and Dependency Injection
Chapter 10: Concurrency Utilities
Chapter 11: Bean Validation
Chapter 12: Java Transaction
Chapter 13: Java Persistence
Chapter 14: Java Message Service
Chapter 15: Batch Processing
Chapter 16: Build an End-to-End Application

This book is available from the following websites:

And other usual places.

Learn more about the book from Java Spotlight podcast #143.

This book provides a code-intensive overview of the key specifications in the Java EE 7 platform (one specification per chapter). The main concepts from the different specifications are explained using simple code samples. All the associated code is available on github.

A significant part of this book is derived from my Java EE 6 Pocket Guide. New chapters have been added to cover all the new technologies in the platform - WebSocket 1.0, Batch 1.0, JSON-P 1.0, and Concurrency 1.0. New sections have been added or existing sections updated to reflect the changes in the platform. If you have read the Java EE 6 Pocket Guide, then you can read this book at a much faster pace; otherwise, you can read this book from beginning to end. Alternatively, you can read specific chapters based upon your interest.

The book also contains self-paced instructions on how to build an end-to-end Java EE application using NetBeans IDE.
Here is how I can use your help ...

  • Help spread the word about the book
  • If you have bought a paperback or kindle edition, post your review here
  • If you have not purchased the book so far, then you can buy it using any of the usual locations

O'Reilly has arranged a book signing at their booth on Tuesday, Sep 24, 2pm. Other book signing opportunities are also being worked upon and I'll update once they are confirmed. And the book will also be available at JavaOne book store.

I hope you enjoy reading the book and learn a few new things from it. Your feedback in any form is always appreciated!

Wednesday Oct 03, 2012

JavaOne 2012 DEMOgrounds, Book Signing, Java Leaders Dinner, and Juggy

Some pictures from the conference ...

And some pictures from the Java Leaders Dinner ..

Some more pictures from the dinner with Juggy ...

And some more pictures ...

And finaly the evolving album ...

Friday Sep 21, 2012

Java EE 6 Pocket Guide from O'Reilly - Now Available in Paperback and Kindle Edition

Hot off the press ...

Java EE 6 Pocket Guide from 'OReilly Media is now available in Paperback and Kindle Edition. Here are the book details:

Release Date: Sep 21, 2012
Language: English
Pages: 208
Print ISBN: 978-1-4493-3668-4 | ISBN 10:1-4493-3668-X
Ebook ISBN:978-1-4493-3667-7 | ISBN 10:1-4493-3667-1

Java EE 6 Pocket
Guide The book provides a comprehensive summary of the Java EE 6 platform. Main features of different technologies from the platform are explained and accompanied by tons of samples. A chapter is dedicated to Managed Beans, Servlets, Java Persistence API, Enterprise JavaBeans, Contexts and Dependency Injection, JavaServer Faces, SOAP-Based Web Services, RESTful Web Services, Java Message Service, and Bean Validation in that format.

Many thanks to Markus Eisele, John Yeary, and Bert Ertman for reviewing and providing valuable comments. This book was not possible without their extensive feedback!

This book was mostly written by compiling my blogs, material from 2-day workshops, and several hands-on workshops around the world. The interactions with users of different technologies and whiteboard discussions with different specification leads helped me understand the technology better. Many thanks to them for helping me be a better user!

The long international flights during my travel around the world proved extremely useful for authoring the content. No phone, no email, no IM, food served on the table, power outlet = a perfect recipe for authoring ;-)

Markus wrote a detailed review of the book. He was one of the manuscript reviewers of the book as well and provided valuable guidance. Some excerpts from his blog:

It covers the basics you need to know of Java EE 6 and gives good examples of all relevant parts.
This is a pocket guide which is comprehensively written. I could follow all examples and it was a good read overall. No complicated constructs and clear writing.
GO GET IT! It is the only book you probably will need about Java EE 6! It is comprehensive, wonderfully written and covers everything you need in your daily work. It is not a complete reference but provides a great shortcut to the things you need to know. To me it is a good beginners guide and also works as a companion for advanced users.

Here is the first tweet feedback ...

Jeff West was super prompt to place the first pre-order of my book, pretty much the hour it was announced. Thank you Jeff!

@mike_neck posted the very first tweet about the book, thanks for that!

The book is now available in Paperback and Kindle Edition from the following websites:

Here is how I can use your help:
  • Help spread the word about the book
  • If you bought a Paperback or downloaded Kindle Edition, then post your review here.
  • If you have not bought, then you can buy it at and multiple other websites mentioned above.

If you are coming to JavaOne, you'll have an opportunity to get a free copy at O'Reilly's booth on Monday (October 1) from 2-3pm. And you can always buy it from the JavaOne Bookstore.

I hope you enjoy reading it and learn something new from it or hone your existing skills. As always, looking forward to your feedback!

Tuesday Dec 11, 2007

GlassFish Book Review

A book on GlassFish: "Java EE 5 Development using GlassFish Application Server" by David Heffelfinger, was released last month. The publisher sent a courtesy copy for review, thank you for that. I read good part of the book on my several flights in past two weeks.

First of all, I'd like to thanks the author, publisher and rest of the team for writing this book. Overall I liked the book because of it's simplicity and a good flow through out the book. This is a great book for first timers!

Here are some of the points that I'd like to highlight:

  1. Community is a very strong aspect of GlassFish. And "Who's Who ?" of this book endorses that point. The Author, Reviewer, Editor or anybody else is not involved with Sun. That is a good community feeling and we hope to see more books on the similar lines with a different perspective.
  2. The GlassFish-specific notes sprinkled through out are very helpful. Even though the book is mainly about Java EE 5 concepts but the notes allow to think from GlassFish perspective. For example, there are GlassFish admin console screenshots at relevant points.
  3. The book uses simple English to explain the concepts. The flow of the chapters is easy to understand and very good for the Java EE 5 first timers. This is very clearly marked in the beginning sections of the book which says "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."
  4. Some book authors take the approach of building a complete application from scratch and explain the concepts using that application. This approach typically requires to understand the application and the actual technology details may get lost. I personally like the Hello World approach with small and simple samples. This book follows that approach and I personally feel it's more beneficial where the readers can focus on the technology.

Here are some potential improvements:

  1. The first chapter provide a very simple explanation of GlassFish installation with different screenshots. The different alternatives to deploy and undeploy an application are discussed in very simple language. However only the asadmin-way to create JDBC connection pools & resources is explained. It would be nice to provide asadmin commands to do the same tasks as well.
  2. NetBeans and GlassFish integration is explained in 2 pages only. The NetBeans IDE provides a much tighter integration with GlassFish including deploying/undeploy apps, monitoring and configuration. Multiple screencasts and docs explain that relationship already but it would be nice to provide a slightly more detailed overview in this book. OTOH, Eclipse integration is still using an older version of Eclipse. The screencast #ws6 shows how Eclipse 3.3 can be used to integrate GlassFish and create simple applications.
  3. I understand the time/resource balance but feel the Web services chapter is pretty minimal. It merely introduces the basic Web services support in GlassFish and does not talk about about any of the Security, Reliability, Transactions and .NET 3.0 interoperability. Anyway, you can find the details in tutorial and numerous screencasts about Metro (the Web services stack in GlassFish).
  4. A minor nitpick - The GlassFish on the book's main page is looking right where as the GlassFish logo is looking left.

Send feedback to, making sure to mention the book title in the subject of your message.

In a nutshell - Great book, must buy for first timers, buy your copy here.

Happy reading!

Technorati: glassfish book eclipse netbeans webservices metro


profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.

Java EE 7 Samples

Stay Connected


« June 2016