Real Time Java EE 6 Hacking - From 0 To Something Deployable (Unfortunately Without Spring)

I will give a free Java EE 6 "Hacking" Session at 25. January 2011 for Java User Group Berlin Brandenburg. Because of lack of time to create slides, I will spend the entire time in the IDE building a random application with NetBeans 7 / Glassfish 3.1 and JBoss 6 (in parallel). Initially the session was planned as a parallel hacking Spring + Java EE 6 session (with fun factor), but the Spring guys rejected the invitation.

However, if you like and believe in Spring :-) you are still very welcome, I'm sure the JUG Berlin leader will be able to organizer another beamer. We only will have to change the title slightly. There should be no problem with slides :-)

[The organizer also promised free beer and pizza]


Sounds like fun. Any chance you will be doing this stuff in the Netherlands in the near future?

Posted by Harro on January 05, 2011 at 06:10 PM CET #


in future for sure. Not sure about the near future. I also have to work between the JUG gigs :-),



Posted by on January 05, 2011 at 07:08 PM CET #

Can you webcast the event so many people around the world can watch?


Posted by tom on January 06, 2011 at 01:57 AM CET #

Hi Adam!

This sounds really awesome and it must be very informative for Java EE developers. Can you upload the video of the event so that people from all around the world may view it?

Posted by Umer on January 06, 2011 at 08:37 AM CET #

@JavaEE FanBoys :-),

we will try to record it somehow. But we have no experience with recording...

A similar session was already recorded at devoxx:

thanks and see you at a JUG near you :-),


Posted by on January 06, 2011 at 10:26 AM CET #

Hi Adam,

The webcast idea is excellent.

I also try to avoid Spring as much as I can, but to me Spring is still useful in this kind of trivial applications: transactional desktop applications with JPA 2.0. I managed to write that kind of applications with embedded Glassfish 3.1 (snapshot), for example:

Server.Builder builder = new Server.Builder("server");
Server server =;

ParameterMap params = new ParameterMap();
params.add("restype", "javax.sql.DataSource");
params.add("datasourceclassname", "oracle.jdbc.pool.OracleDataSource");
params.add("property", "User=user:Password=password:URL=jdbc\\:oracle\\:thin\\:@(DESCRIPTION\\=(FAILOVER\\=ON)(ADDRESS_LIST\\=(LOAD_BALANCE\\=OFF)(ADDRESS\\=(PROTOCOL\\=tcp)(HOST\\\\=1521))(ADDRESS\\=(PROTOCOL\\=tcp)(HOST\\\\=1521)))(CONNECT_DATA\\=(SERVICE_NAME\\");
params.add("jdbc_connection_pool_id", "thePoolName");
executeCommand("create-jdbc-connection-pool", server, params);

ParameterMap params2 = new ParameterMap();
params2.add("connectionpoolid", "thePoolName");
params2.add("jndi_name", "jdbc/xxx);
executeCommand("create-jdbc-resource", server, params2);

However, the embedded glassfish seems to have some port conflict with an existing Glassfish 3.0.1. And I don't know how to solve that problem.

Posted by Thai on January 06, 2011 at 07:38 PM CET #


I'm not very good at Spring, but if you tell me what your NetBeans 7 / Glassfish 3.1 and JBoss 6 demo web app does, I'm willing to create a counterpart with Maven, IntelliJ Idea / Spring 3, Tomcat 7 and Google Docs slides also and send it to you. Then everybody can do their own comparison. What do you think?

Posted by Thai on January 06, 2011 at 07:45 PM CET #


a good idea. The only problem is that the session will be interactive and the output probably low (=hacking). But if you like you could just try to port the following:

Feel free to write posts about that - I will link to it.

Or even better - come to berlin and do it interactively :-),

thanks for your nice offer!,


Posted by on January 06, 2011 at 08:19 PM CET #

I will be there!! :)

Posted by Benny Neugebauer on January 25, 2011 at 03:13 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments