Saturday Nov 05, 2011

JAX London 2011 Fall Trip Report

JAX conferences are organized by Software & Support Media which also organize a whole bunch of other conferences. The JAX London Fall 2011, with 3 power workshops, 4 keynotes, 57 speakers, 63 sessions, and 400+ attendees was the biggest JAX London ever.

Sebastien Meyen, the main guy behind these conferences, demonstrated high passion about Java by making the statement "We love this industry and ecosystem around it" and "Oracle has proven Java to be innovative". This time they added an Agile Day because that's the way they believe things work.

I could stay for one day only because of other commitments. I gave a talk on "The Java EE 7 Platform: Developing for the Cloud" providing details on how Java EE will provide a standards-based PaaS platform. The talk had about 40+ attendees and the slides are available:

The talk showed how to deploy a Java EE 6 application using GlassFish 4.0 early builds. The demo can also be seen at:

Complete instructions to reproduce the demo are available here.

There were good interactions with Martijn Verburg, Ben Evans, John Stevenson, and Eberhard Wolff at the speakers' dinner. Mark Little's keynote was interesting as he emphasized the importance of JVM and standards-based platform for middleware applications. I heard great comments about Adam Bien's all-day long Java EE workshop, nothing unusual there ;-) I also spent some time at Oracle booth as well.

Sebastien and gang are already planning to bring JAX Conf back to San Francisco, so very excited for that!

Here are a few pictures captured from the event:

And the complete album here:

Thank you JAX for giving me an opportunity to speak at JAX London!

Wednesday Oct 26, 2011

JAX London, JFall, Oredev, Devoxx, OTN Developer Day (Lisbon), JavaOne Latin America: Java EE and GlassFish coming closer to you

The conference circuit starts this Sunday with London, and then goes to Holland, Sweden, Belgium, Portugal, and concluding with Latin America later this year. Yes, I'll be home for a few days in between ;-)

Check out the complete Java EE day at JAX London on Nov 1:

JFall is the annual conference organized by NLJUG and here is the list of Oracle sessions:
Stephen Chin is also giving three back-to-back Java FX 2.0 hands-on lab sessions for a total immersion.

Most of the sessions are in Dutch and Migrating Spring to Java EE 6 by Paul Bakker would be an interesting one.

Here are the sessions that I'll be giving at Oredev (Nov 7 - 11):
And the keynotes and evening activities are certainly very exciting!

A whole bunch of Oracle sessions at Devoxx 2011(Nov 14-18):
It took 10 years for Devoxx to let me participate ... thank you Stephan ;-)

OTN Developer Day Enterprise Java (Nov 18) is coming to Lisbon, Portugal with Java EE 6 and Java EE 7, NetBeans, GlassFish and everything around standards-based enterprise Java. Agenda is still a work on progress but strap your seatbelts as we will share tons of exciting content with you.

JavaOne Latin America (Dec 6-8) will have four conference tracks:
The exact schedule is still being worked upon JavaOne Latin America is going to be bigger and better based upon the list of submissions and the changes that are coming. Stay tuned ...

Where will I see or run with you ?

Thursday Apr 14, 2011

London Underground and Java EE 6 Interactive Hackathon @ JAX London 2011 using NetBeans and GlassFish

Do you know what is common between London Underground and Java EE 6 ?

They got together at JAX London 2011 in a slides-free, NetBeans-driven, interactive Java EE 6 hackathon. I've done similar NetBeans and/or Eclipse-driven sessions at other conferences as well but this is the most comprehensive I've ever done and also covered the widest range of Java EE 6 technologies as well. Adam Bien is certainly well known to do these kind of sessions all around the world and now I can certainly feel why he feels excited about doing them again and again :-)

The hackathon started a little late because of the late food arrival but went on for 1.5 hrs, instead of the scheduled 1 hr and way beyond 10pm. We built an application that allowed to store the duration between any two tube stations. The sample application demonstrated the usage of @Entity, @javax.validation.constraints.\*, @Inject, @Stateless, @Singleton, @Schedule, CDI Events, @Path, @Interceptor, @Model, and much more. The most interesting part certainly was the interactive nature of the audience and discussing the different options.

 Anyway, you can start with the following DDL:

create table underground (
   id integer not null generated always as identity,
   fromStation varchar(20) not null,
   toStation varchar(20) not null,
   duration varchar(5) not null,
   primary key(id)

for creating your database, download the sample code here built during the session, open it in NetBeans 7.0 RC1, run it on GlassFish. And then get a feel for all the features yourself!

Are you interested in having a similar hackathon at your conference / event / JUG ? :-)

A comprehensive Java EE 6 tooling screencast using NetBeans is available at screencast #37 and using Eclipse is available at screencast #36.

Technorati: conf jaxlondon javaee6 netbeans glassfish london underground

Wednesday Apr 13, 2011

JAX London Spring 2011 Trip Report

Sebastian Meyen, the chair of worldwide JAX Conference kick started JAX London 2011 with a very passionate opening session highlighting that JAX is all about Java, that they are comitted to Java, and not going to dilute the content. This is the 10th year of JAX conferences. Even though originally the word JAX was coined as an acronym for "Java Apache XML" indicating the open source nature and everything XML around Java but now its more popularly known as JAX.

The successful recipe for the JAX conference is "passion for the Java platform & ecosystem" and "a pramatic mix with development, architecture, agile, and other concepts around Java". In Sebastien's words "Java is a huge stake, heavily growing, innovating and worth focusing on it" and is a "rich environment for innovation". The JAX Innovation Awards giving $10,000 for the most innovative contributions to Java further proves their commitment to Java. Do you have the most innovative Java technology, most innovative Java company, and the top Java ambassador to recommend ? Submit now!

The first keynote of the day was by Dan North on the "Patterns of Effective Delivery". He highlighted several design patterns and the key ones were:

  • Spike and Stabilise - "Spike" is the non-TDD code written during the development cycle and then TDD applied to stabilise it for production.
  • Ginger Cake - About me legitimizing copy/paste, look for abstractions afterwards. Start WET and then DRY it.
  • Create Urgency - Create lots of instances where you are surprised, optimize for deliberate learning than for deliberate practice. Create an urgency for yourself for technologies that are genuinely useful. Difficult to change your thinking consciously, need a crisis.
  • Socratic Testing - Using the process of automated tests to draw out knowledge about the code.
  • Fits In My Head - Keeping the design small enough such that the entire design fits in your head, then you can reason the whole thing.

Being the chair of Java EE track, I spent most of my day attending the sessions there. The first session by Ales Justin explained how to run a Java EE application on Google App Engine. His slides are available below:

Ales explained his experience of building a sample application using JPA2, JSF2, Bean Validation, delpoing on GAE. The slides very well capture the restrictions of the platform and how he worked around them. The GAE API was even abstracted such that a pure Java EE application can be written and thus be portable across multiple application servers.

David Blevins's session on Fun with EJB 3.1 and Open EJB was indeed a lot of fun. He provided a good history of how the EJB and OpenEJB have evolved over years. There were lots of code samples highlighting the ease-of-use improvements done in EJB 3.1such as @Stateless, @Schedule, @Asynchronous, @Singleton, Embeddable EJB API and many others. I particularly loved his statement:

People who complain about EJB are stuck in 2005 and believe ignorance is my pride.  Its testable, light, and pretty great!

Seriously, if you complain about EJB being heavy, non-functional, incomplete, the following code fragment is all it takes to create an EJB:

public class MyEJB {
    public String myMethod(...) { }

and that too packaged in a WAR file, no deployment descriptors or any special packaging. Do you still think its heavy weight ? Think again!

David's slides are available below:

Doug Clarke talked about "Java Persistence API 2.0 with EclipseLink", Joseph Shum talked about "Integrating Enterprise Applications into Liferay Portal", and then Dan Allen talked about "Using CDI Extensions to make a better Java EE". Dan showed several examples of how CDI extensions can be authored easily to extend capabilites of the existing platform. Their slides will be available on

And I also gave two presentations:

  • GlassFish 3.1 - Simplifying your Java EE 6 Development and Deployment
  • OSGi-enabled Java EE Applications using GlassFish (in the OSGi track)

The first talk explained how several features in GlassFish 3.1 such as:

  • Deploy-on-Save (in NetBeans and Eclipse)
  • Active Redeploy (preserve sessions across re-deploys at CLI or NetBeans and Eclipse)
  • 29% better startup/deploy/redeploy cycle
  • Application runner (java -jar glassfish.jar foo.war)
  • Maven integration (mvn gf:run, gf:start, gf:deploy, etc)
  • Embedded GlassFish

and many other features make GlassFish an extremely productive development environment for your Java EE 6 applications. And then features like:

  • High Availability, Clustering
  • Centralized Administration
  • Application-scoped Resources
  • Application Versioning
  • 33% better High Availability performance
  • Better scalability - upto 100 instances per domain
  • RESTful monitoring and management

make it an equally compelling deployment platform. The slides with all the details are available below:

Where are you deploying your Java EE 6 applications ?

The second talk explained the why/how of OSGi-enabled Java EE applicatins. The slides are available below:

The first few slides are OSGi introductory so jump ahead to slide #22 for all the interesting stuff. The screencast #38 showcase how to build an OSGi-enabled Java EE Applications using Eclipse and GlassFish and comes with the complete and detailed instructions. The screencast #32 shows the same using NetBeans.

The day ended with a 1.5 hrs interactive Java EE 6 hackathon and more details on that in a later blog.

Here are some pictures captured from the London visit:

And the complete album is available:

Technorati: conf jaxlondon javaee6 osgi glassfish cdi gae google ejb openejb liferay

Friday Mar 04, 2011

Java EE 6 Day @ JAX London 2011 and 30% discount code

UPDATE: Check out my interview at

JAX London 2011 has 5 sessions in the Java EE 6 Track:

  1. Using CDI Extensions to make a better Java EE by Dan Allen, JBoss
  2. Fun with EJB 3.1 and Open EJB by David Blevins, Apache
  3. Java EE and Google App Engine by Ales Justin, RedHat
  4. Java Persistence API 2.0 with EclipseLink by Doug Clarke, Oracle
  5. GlassFish 3.1 - Simplifying your Java EE 6 Development & Deployment by Arun Gupta, Oracle

There will be several other sessions covering Java EE:

  1. Java EE 6 Secrets: Wield CDI like a Ninja Master Tutorial by Dan Allen and Pete Muir
  2. The Future of Java Enterprise Testing by Dan Allen
  3. TomEE: Tomcat with a kick by David Blevins
  4. RESTful Services with Java EE by Blaise Doughan, Oracle
  5. Better user and developer experience with Flex, JEE6 Java EE 6, and GraniteDS by William Drai
  6. OSGi-enabled Java EE Applications in GlassFish by Arun Gupta, Oracle

Other than that you can also look at:

And follow @jaxlondon for the latest updates!

If you are interested in attending any of these sessions, then register now and enter the code "JAXSPEAK" to avail 30% discount.

And thank you Sebastian, it feels nice to be part of the advisory board!

Technorati: conf jaxlondon london javaee6 glassfish


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


« July 2016