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
Related posts:- Java EE 6 & GlassFish @ JAX London & London JUG Trip Report
- Java EE 6 & GlassFish @ JAX London, London JUG, Java 2 Days, Silicon Valley Code Camp
- Java EE 6 Day @ JAX London 2011 and 30% discount code
- JAX London Spring 2011 Trip Report
- Screencast #30: Java EE 6 & GlassFish 3 using NetBeans 6.9 – 5 screencasts

Hi Arun,
is the use of the BackingBean annotated with @Model is the best practice?
If I well understand it’s a kind of DTO on wich you do the bean validation and so in the entity there is no bean validation.
Is there some article about the use of the @Model annotation?
thanks
Comment by Greg Bougeard — April 15, 2011 @ 3:16 am
+1
Comment by superrelease — February 16, 2012 @ 3:45 pm