Monday Jul 28, 2014

David Blevins' Java EE Sessions at JavaOne 2014

For the Java EE track at JavaOne 2014 we are highlighting some key sessions and speakers to better inform you of what you can expect, right up until the start of the conference.

To this end we recently interviewed David Blevins. Although not as well known as some of the other folks in the Java EE community, David has been instrumental in the ecosystem for a very long time. He has been the powerhouse developer behind the innovative OpenEJB project and a key committer on many other Java EE related Apache projects including OpenWebBeans. Over the years he has ardently advocated for Java EE and directly contributed to many Java EE expert groups including EJB 3.1, EJB 3.2, Java EE 6 and Java EE 7. More recently he launched Apache TomEE - a project that turns the Tomcat vs Java EE debate on it's head by creating a Java EE certified application server squarely focused on Tomcat users. David is also a JavaOne Rock Star. We are very honored to have David speak at JavaOne and interview him on his sessions this year:

David has several key sessions on the track:

  • Java EE Game Changers: It never fails to surprise me how many pretty intelligent folks still associate Java EE with J2EE (a technology now more a decade in the past). Many of these folks don't realize just how much has changes especially since Java EE 6 and certainly as of Java EE 7 and beyond. This session is primary geared towards these folks and outlines why Java EE and the JCP today is a fundamental game changer. You probably should attend even if you are already a Java EE fan - besides covering key evolutions David will also cover forward looking ideas that are on his keen radar to keep moving the platform forward.
  • Apache TomEE, Java EE Web Profile, and More on Tomcat: If you are a current Tomcat user curious about Java EE, this is a session you shouldn't miss. Using live coding, David will show exactly how the real world Java EE development experience using TomEE looks like. He will also explain the fundamental value proposition of Java EE/TomEE and explain some of the technical details of how TomEE is made possible. 
  • Java EE 8 Community Update and Panel: This panel is intended to be an open forum for discussing Java EE 8. The panel consists of both some implementors like David/TomEE and some key independent folks in the community. The panel will be moderated by my colleague Bruno Borges. The idea is to encourage panelists to interact with each other and the audience - so bring your questions, comments and ideas!

Besides David's sessions, we have a very strong program for the Java EE track and JavaOne overall - just explore the content catalog. If you can't make it, you can be assured that we will make key content available after the conference just as we have always done.

The early bird offer for JavaOne expires August 1st so if you plan to come to JavaOne it would be wise to register early now and save some money for yourself or your organization. I certainly hope to see you there.

Tuesday Mar 12, 2013

David Blevins on TomEE/Java EE Web Profile

TomEE is one of the most exciting developments in the Java EE ecosystem. For those unaware, TomEE is a very cool Apache project that starts from Tomcat and adds OpenWebBeans, OpenEJB, OpenJPA, MyFaces, Apache CXF and ActiveMQ to create a very capable, lightweight Java EE environment! TomEE is one of the greatest examples of certified Java EE Web Profile implementations. It is also a great option for Java EE developers focused on Tomcat.


David Blevins, the project lead for TomEE, recently did a pretty interesting interview with JAX Magazine. In the interview, David talked about the history/motivation/value proposition behind TomEE, the Java EE Web Profile, the relationship between CDI, EJB and Java EE, the relationship between Tomcat and TomEE as well as Java EE 7. It is definitely a worthwhile, thought-provoking read...

Wednesday Mar 24, 2010

Initial GlassFish v3 Performance


GlassFish v2 has excellence performance and GF v3 has a lot of new code, so it would not be surprising if there was some initial performance degradation, to be "fixed" in a later release. Turns out that this is not the case: Scott (Mr. Performance) reports that the performance of v3 is actually higher, and scales better, than v2. One of the benefits of cleaner code!

Check out Scott's Initial Report on GlassFish v3 Performance

Thursday Sep 24, 2009

Redeployment Speed Survey (from JRebel)


The guys at ZeroTurnaround (makers of JRebel) have been running a survey on redeploy and restart turnaround time in Java App Servers that has >1100 responses so far. The survey's 3 questions ask about AppServer usage and redeploy and restart time.

Although doing a good survey is tricky - for example, in this case the sample is self-selected (but not as bad as with the Reader's Choice), the impact of (Re)Deployment tooling/configurations is unknown and the time is estimated, not measured - I think this one is useful in calling attention to the importance of the full develop/deploy/debug cycle. GFv2 did very well and v3 is even faster!

Jevgeni's analysis has some reasonable comments although some others seem unwarranted by the data. The most popular containers were Tomcat (29%), JBoss (25%), WLS (13%), WAS (12%) and GF (10%) (OC4J is 4%), with the caveat about self-selected samples. As a reminder of the importance of methodology, I'll point out that only 1 respondent listed Geronimo; readers may compare to that EDC Survey from Last Year.

Also note the impact of twitter and reddit in the comment thread - there are 117 comments as of this post... almost all of them very short 'heads-up' with no added value - sigh...

Thursday Aug 13, 2009

GlassFish Survey - Top Migrations to GF are from Tomcat and JBoss

Last month we ran a GlassFish Adoption Survey. Our main intention was to learn about Migration patterns on the GlassFish server. Although it was a totally self-selected, unscientific, survey, we thought it would collect some interesting insights which we could then use for a more formal survey later in the year.

With those caveats, here are the highlights:


• Where they migrated from (%):
Apache Tomcat (21.2%), JBoss (15.8%), WebSphere (5.4%), .NET (4.9%), WebLogic (3.4%)...

• Major reason to switch to GlassFish (1-10):
Cost reduction (8.16), Reduce vendor lock-in (7.68), Developer Productivity (7.58), Better quality (7.14), Improved performance (6.83), Reduced complexity (6.67)...

• Biggest benefit of for-fee support (1-10):
Patches/Updates (8.23), Support (7.4), Enterprise Mgr (6.34), Indemnification (4.27), Others (4.55)

Mostly what I was expecting, although I thought there would be fewer WAS and more WLS migrations. Looking forward to an improved version of the survey later in the year.

Wednesday Jul 29, 2009

WebStack 1.5 - Your (L)AMP Stack

Sun's LAMP support is assembled from two pieces: the L is from our Linux/GNU Support (see SunSolve entry), while the AMP comes from the GlassFish WebStack, which, in its latest incarnation includes Apache HTTP Server, lighttpd, memcached, MySQL, PHP, Python, Ruby, Squid, Tomcat, GlassFish (v2.1) and Hudson (features).

The inclusion of Hudson is a bit of an opportunistic move (more on that in a bit), the rest comprises a well tested, integrated, optimized, and extended component stack for your new and old Web Apps.

The WebStack can be downloaded here; the bundle includes the WebStack Enterprise Manager, which, unlike the other components, is not free right-to-use but rather is available with an eval license; this is a model like that of the GlassFish Enterprise Manager. The current release supports RHEL, Solaris and OpenSolaris (it is bundled in OpenSolaris); for additional details, check out the Documentation and Discussion Forum.

Check out these posts from the WebStack team:


• Brian's Announcement
• CVR's Announcement and Overview.
• CVR's note on two key properties: Fully Relocatable, and Updatable.
• Jiri on Installation and Overview.
• Sriram on Installing AMP stack within GlassFish Web Stack 1.5.
• Irfan on the Enterprise Manager's Navigation Panel.
• Jeff on Installing via IPS tools.

Wednesday Nov 12, 2008

Tomcat and GlassFish Survey


We are conducting a survey on developers, ISV, etc, that are using Tomcat and are considering GlassFish. We want to find out what features are used and which migration approach would be preferred.

If you want to help us, please participate in the survey. Thanks!

Sunday Oct 12, 2008

Using MyFaces with GlassFish


Switching from Tomcat to GlassFish is very easy, specially with recent additions like Valves Support; The only somewhat tricky area were dependencies on MyFaces APIs or behavior.

A simple solution to this problem is to use the UseMyFaces properly, as mentioned in this thread. This approach is directly applicable Alfresco; see Mandy's post.

PS, I'll clarify if UseMyFaces is officially supported or not.

Saturday Sep 06, 2008

... Valves in GlassFish, OpenMQ and Mule ESB, Free Hosting and CrazyRails

Radio Receiver Icon

The vast majority of Tomcat applications ran fin on GlassFish. Jan tell us that now even the ones using the Tomcat-style valves will run unmodified.

Of at The ServerSide Pawan explains How to use OpenMQ with Mule ESB by configuring the Mule JMS connector. Added (by pelegri) - I've heard of a number of requests for this, please let us know if you use the combination so we can track OpenMQ adoption.

LayeredTech announced free GlassFish hosting for Sun Startup Essentials™ Program participants.

CrazyRails has a post on how to install JRuby on Rails on Mac, including GlassFish and MySQL setup. More GlassFish coverage is promised.

Friday Jul 04, 2008

Tomcat or GlassFish - Comparisons at DZone and at JavaLobby


Some people know they want a full JavaEE 5 AppServer - and for those, the GlassFish Server is a better choice than Apache Tomcat, but, even if you only want a subset of these APIs, check out Alexis' Tomcat Today, GlassFish Tomorrow.

Also check out Wang Yu's Blocking and Non-Blocking IO article that, like Scott's More on the simple vs. the complex, shows the benefits of NIO as workload increases.

Sunday Apr 06, 2008

Porting Applications that Depend on Tomcat Valves to GlassFish

Photo of a Very Large Valve

David Yu asked How to Port a Custom Valve from Apache Tomcat to GlassFish and he and Jan carried a conversation in this Mail Thread.

The Valve interface in GlassFish was changed to Flatten Valve Invocations in a Pipeline; the changes needed to adjust your custom valves include some signatur changes, and some changes in the invocation flow. Jan has captured them in this FAQ Page in the GF wiki.

Thursday Mar 27, 2008

OpenSSO on Tomcat


Straightforward instructions on how to install OpenSSO on Apache Tomcat (5.5 and 6.0). See Robert's Writeup.

Wednesday Mar 19, 2008

Great material for moving to GlassFish from Germany

One of several GlassFish codecamp in Munich

Daniel posted a few weeks ago this blog entry about a code camp he and others have been running for ISVs to port and develop their applications on the GlassFish Application Server.

Don't be put off by the page being in German, all of the GlassFish Workshop documents are in English and very good IMHO. They cover from GlassFish fundamentals such as basic installation steps to much more advanced details about how to adapt applications and their packaging for GlassFish.

Here's a list of those documents :
Getting started, Introduction and Migration.
Resource Management & Call Flow Monitoring.
Clustering & Load Balancing.
If you're more into following slides, here's a good deck.

Wednesday Mar 12, 2008

More Tomcat to GlassFish Migration - Virtual Servers and Resources

Egyptian Domesticated Animals

Wolfram, the author of JSP Tutorial describes in two notes how he moved that site from Apache Tomcat to GlassFish.

The first one covers Virtual Servers in GlassFish. This was necessary to run multiple apps in his box (provided by 1x1). The second shows how to use asadmin to Add Resources to be used by his apps. Thanks, Wolfram!

Regarding the image... Andrew Sherratt argues for a follow-up to the Neolithic Revolution based on Secondary Products from the domestication of animals. Yeah, a bit convoluted, but I'm following a revolution theme for the migration articles... :-)

Monday Jan 21, 2008

Migrating Hello World Example from Tomcat To GlassFish

Tomcat Logo

Sekhar's Migrate2GlassFish project is beginning to make progress under Sekhar's direction. Check out his Introduction Note and his latest entry: Migrating From Tomcat to GlassFish.

We are interested in your feedback on what is useful to help you migrate to GlassFish.