Adam Bien's Weblog

How Big Is Actually The EJB 3.1 Container In Glassfish v3? - Because EJBs are Hevyweight, It Has to be Huge...

Glassfish v3 is modular, so you can easily install and uninstall modules on the fly. Therefore it is very easy to measure the "disc-size" of a particular technology. The whole installation package (for GF v3 prelude b24) takes ...324 KB (three jars: connector, timer service, and the actual implementation). It is small enough to be executed on SunSPOTs or cellular phones.... So how would you call a complete framework with 324 KB "Heavyweight"? :-)

I plan to demonstrate this, as well as some Java EE 6 features at JUG HH. Warning: some design patterns will probably die during the session :-). So see you in Hamburg!

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


when you say EJB3.1 container, you are not talking about a full JPA implementation right?

Posted by afsina on September 14, 2008 at 05:17 PM CEST #

You need to record your presentations on video and host them at

Posted by Ryan de Laplante on September 14, 2008 at 07:06 PM CEST #

JPA is completely separate from EJB. JPA 2.0 is JSR317 and EJB 3.1 is JSR318

Posted by Ryan de Laplante on September 14, 2008 at 07:08 PM CEST #

Yes, you need to record your presentation, I'm looking forward to see which patterns will die:)

Posted by Viggo on September 14, 2008 at 10:10 PM CEST #

However, I will only be interested in the videos if they are in English :)

Posted by Ryan de Laplante on September 15, 2008 at 12:42 AM CEST #

Hi Adam. Can I invite you to give a Webinar as part of the new TheAquarium.TV series [1]? We are still debugging the process but we have had a few speakers already that are remote.

Ken will be talking about EJB3.1 soon, probably in October, perhaps you could try to get into the schedule in November?

It would have to be in English, and we are presenting at 11am PT, which is not ideal for Europe but hopefully is OK. If that does not work, we can talk some more.


Posted by Eduardo Pelegri-Llopart on September 15, 2008 at 02:51 AM CEST #

Hi Afsina,

GF v3 comes with Eclipse-Link - previous TopLink JPA implementation. This is larger: about 4 MB (4 jars as well).

EJB 3.1 (Session Beans) and JPA 2.0 are separated - two independent specs,



Posted by Adam Bien on September 15, 2008 at 10:50 AM CEST #


this presentation will be in German - I will give similar talks in English as well - stay tuned!,

thanks for your comment,



Posted by Adam Bien on September 15, 2008 at 10:52 AM CEST #


sounds interesting - now I'm a little bit busy (have to file GF v3 bugs as a fishcat :-)). But November should work for me!,



Posted by Adam Bien on September 15, 2008 at 10:53 AM CEST #


thank you for your comments. I will post about the sudden death of patterns in near future (it will be controversial - so looking forward to it :-)),



Posted by Adam Bien on September 15, 2008 at 10:55 AM CEST #

the session is recorded and will be published on soon, so stay tuned.

The Java User Group Hamburg :)

Posted by Daniel Galan on September 17, 2008 at 01:15 AM CEST #

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