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!

Monday Oct 03, 2011

Technical Keynote, DEMOGrounds, O'Reilly Party Pics - JavaOne 2011

Here is the typical sentiment seen on #javaone11 Day 1 ...

Every session I attended today at #javaone11 was completely packed. Must be a good sign for Java.
Ok, day one is over at #javaone11, it was great!
OH: "The parties are definitely better under Oracle than they were under Sun" while this was happening at #javaone11
Definitely a different feel at #JavaOne11 this year. good to see some old friends with new companies
First day of #javaone11 is a wrap. No shocking announcements, but there is some solid progress nonetheless. Strategy keynote tomorrow!
Great JavaOne 2011 conference so far. Good mix of topics in cloud, java ee 6, soa, security and architecture & design in general. #JavaOne11


And now some pictures from the day ...

And the evolving album for JavaOne 2011 so far:

Friday Jul 29, 2011

OSCONJ 2011 Trip Report

Rockstar speakers, solid content, spacious venue, several opportunities for networking, great wifi, a fancy bag for attendees, good food, warm breakfast for speakers, and several other items together is how I'd remember the inaugural OSCONJ. Its never easy to launch a new conference and be this successful. Yes, there were some gotchas (nothing major) but I'm totally impressed with how O'Reilly's multi-year experience showed up inaugurating this yet another Java conference.

OSCON which started as a Perl conference in 1997 has expanded its scope to include all open-source technologies in the early years and now talk about anything and pretty much everything open source. Perl,  Python, PHP, Java, MySQL, JavaScript, NoSQL, HTML5, Community Management, Open Data/Hardware, and polyglot JVM is a slight taste of the topics presented this time. About 3500 attendees were present for the main and sub-conferences, biggest so far.

OSCONJ was organized as a sub-conference of OSCON in its 13th running year. In 2005, the conference had a separate Ruby track where DHH talked about Extracting Rails from Basecamp and then RailsConf was promoted to be a full conference next year. Lets see how the OSCONJ shapes up in the years to come. I don't know the formal registration/attendee numbers for OSCONJ but personal observation through the keynote attendance and attendees in different Java tracks at different times suggests about 150-200.

I presented a session on "GlassFish Server 3.1: Deploying your Java EE 6 Applications" and the slides are available:

I also delivered a hands-on lab building a complete end-to-end Java EE 6 application using GlassFish and NetBeans. The instructions for the lab are also available at There were about 40 participants in the lab and most of them were actively engaged and could complete the lab successfully.

Watch some of the Oracle sessions in the following playlist:

I'll keep updating the playlist as more session recordings are made available.

Some other recordings worth watching are Java: The Good, Bad, and Ugly Parts by Joshua Bloch, Twitter: From Ruby on Rails to the JVM by Raffi Krikorian, Working Hard to Keep it Simple by Martin Odersky, The Future of Community by Jono Bacon, and several more at OSCON 2011 @ youtube.

Some of the highlights from "Twitter: From Ruby on Rails to the JVM" are:
  • Huge number of oncurrent connections: 200k/seconds
  • Lots of IO, Very few persistent objects
  • Patched Ruby, build a whole new Ruby GC, but looking for opportunities to join a bigger developer community and go in the direction where world is going on.
  • Biggest reason to move to Java is because of "real concurrency model".
  • Ops team give no grief because eventually we give them a JAR file, similar way to GC, monitor, analyse etc.
  • JVM gives something that Ruby does not: scatter-gather algorithm
  • Big part of the app is still in Ruby and working on migrating that to Java.
  • Will add lot more instrumentation in OpenJDK GC
  • Storage/Retrieval is all Java.
The London Java Community leaders also hosted a panel on "The Java Standards Annoyances". Patrick Curran, Jeff Genender, Dan Allen, David Blevins, Bruno Souza, Bob Lee and others participated in a healthy discussion. The key recommendations from the panel were:
  • Participate in JSR 348
  • For the EG leads, make your pages easy to use, issue tracker, downloads etc
  • Make a lot of noise, speak up and don't be afraid. Explain your usecase.

Here are some pictures from the event:

And the complete album:

Unfortunately, my camera's battery exhausted in on the third day so I could not take more pictures. But I can see myself going to this conference again next year, provided they accept my papers, because of the great efforts and meticulous details by Stephen Chin, Laurel Ruma, and O'Reilly :-)


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


« February 2017