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

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

Thursday Sep 30, 2010

Java EE 6 & GlassFish @ JAX London & London JUG Trip Report

JAX London had its second conference of the year and the venue was shared with DevCon and OSGi DevCon. The tri-partite conference gave the attendees an option to attend a variety of sessions from a good quality of speakers. There were about approximately 250 attendees and I think the number is commendable considering this is only the second conference. The good news is that there is only room to grow :-)

I gave a presentation on "Running your Java EE applications in the Cloud" and the slides are available below:

The talk explained

  • Oracle's definition of Cloud and talked about Exalogic Elastic Compute Cloud, a.k.a "Cloud in a box"
  • Light-weight ness, extensibility, and simplicity/ease-of-use of Java EE 6
  • How to run Java EE 6 on Amazon, RightScale, Elastra, and Joyent
  • What Java EE currently offers for the Cloud and what's coming in Java EE 7

Because of a last minute speaker cancellation for the JAX Community Night I also got a chance to show a live demo of how NetBeans provides extensive and powerful tooling around Java EE 6 & GlassFish. Check out screencast #30 to view the complete set of Java EE 6 Netbeans tooling. Java EE 6 tooling is also available in Eclipse and can be seen in the screencast #31.

I had a good conversation with Sebastien Meyen who is the organizer of JAX conferences and hopefully you'll see more presence of Java EE 6 & GlassFish in their upcoming events ;-) He recorded a video segment for JAX TV and the link will be shared when its live.

Barry Cranford, London JUG leader, graciously arranged for a talk at their local meeting. And of course I talked on the Java EE 6 & GlassFish 3: Light-weight, Extensible, and Powerful and the slides are available below:

The talk explained how Java EE 6 is an extreme makeover from its previous versions and provides a light-weight, extensible, and powerful platform to build your enterprise and Web applications. The talk explained how several new key specifications like Contexts & Dependency Injection, Bean Validation, and Java API for RESTful Web Services 1.1 in the platform are making it really powerful and rich. It also explained how the existing specifications like  Java Server Faces, Servlets, Java Persistence API, and Enterprise Java Beans have gone over an extreme makeover to make the platform easier and intuitive to use. And its always fun to talk about the latest set of features coming in GlassFish 3.1 like Clustering, High Availability, Application Versioning, SSH-based Administration and Provisioning, and Application-scoped Resources. The Java EE 6 code sample built during the meeting can be downloaded here.

Here is some feedback posted on the event page:

Great speaker and great talk, with a perfect pace and content!

It was great. I particularly like that it was presented with examples, and you could really see how it works, and not only someone explaining how it would work

This was a very insightful and engaging session with a good mix of technical detail and completely live demo. The presenter was very skilled and knowledgeable and had a great way of expressing concepts and details easily.

Great presentation and demos. Had underestimated the tooling in Netbeans IDE so the demos were great. Good opportunity to meet Arun Gupta, whose blog I spend time reading

Very good presentation. The key point that Glassfish restores session information over multiple restarts was very helpfull for me. Also learnt quite a few titbits throughout the presentation , which I am sure will come very handy.

An excellent presentation which covered a good subset of a very wide topic to an adequate depth. A great overview of some of the compelling new features in JEE6.

Now this is London and pub culture is very prominent here, yes even on weekdays :) So we got together at a nearby pub - The Slaughtered Lamb - and it was good discussing with JUG attendees and fellow beer drinkers on why Oracle will do the right thing for Java.

Most of the major European conferences like Devoxx, JFall, and JFokus are organized by a local JUG. I seeded that thought with Sebastien and Barry and hopefully the energies will synthesize and the conference will grow. Overall, a short visit for me but gave me an opportunity to meet with several other speakers and create more community connections for GlassFish, and in general for Oracle :-)

Let us know how are you using GlassFish by posting a comment on this blog.

Technorati: conf jax london devcon osgi javaee6 glassfish 

Sunday Sep 26, 2010

Java EE 6 & GlassFish @ JAX London, London JUG, Java 2 Days, Silicon Valley Code Camp

JavaOne 2010 just got over ... that makes me 12 JavaOnes veteran now :-)

There was lots of interest in Java EE 6 & GlassFish through out the conference and there were about 50 sessions, BoFs, hands-on labs, panel discussions, and keynotes showing the simplicity, ease-of-use, and flexibility of the platform and the product.

Are you in London, Bulgaria, or San Francisco Bay Area within next 2 weeks and could not attend those sessions ? Now is your chance to get quick a crash course on Java EE 6 & GlassFish at the upcoming conferences within the next 2 weeks:

Sep 28/29

Sep 29th evening

Oct 7/8

Oct 9

Where will I see you ?

And I'm definitely looking for recommendations for running routes in any of the neighborhoods :-)

Technorati: conf jax london jug java2days bulgaria svcc losaltos


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