Monday Jun 11, 2012

Petstore using Java EE 6 ? Almost!

Antonio Goncalves, a Java Champion, JUG leader, and a well-known author, has started building a Petstore-like application using Java EE 6. The complete end-to-end sample application will build a eCommerce website and follows the Java EE 6 design principles of simple and easy-to-use to its core. Its using several technologies from the platform such as JPA 2.0, CDI 1.0, Bean Validation 1.0, EJB Lite 3.1, JSF 2.0, and JAX-RS 1.1.

Pet Store

The two goals of the project are:

• use Java EE 6 and just Java EE 6 : no external framework or dependency
• make it simple : no complex business algorithm

The application works with GlassFish and JBoss today and there are plans to add support for TomEE.

Download the source code from And feel free to fork if you want to use a fancy toolkit as the front-end or show some nicer back-end integration.

Some other sources of similar end-to-end applications are:
Java EE 6 Tutorial
Java EE 6 Galleria
Java EE 6 Hands-on Lab

Wednesday Feb 22, 2012

And then there were 14 compatible Java EE 6 implementations

With the recent addition of JBoss' Java EE 6 Full Platform product, the list of compatible servers is now set to no less than 14, a little after the 2-year anniversary of the platform.

With this much vendor choice (Open Source or not) and platform choice (Web of Full), it's a great time to be a Java EE developer and user.

Note that with all the new JSR's following the JCP 2.8 modus operandi, such public pages of compatible implementations should become the rule. This will of course apply to Java EE 7, but also to individual specifications.


Thursday Jun 09, 2011

"GlassFish is Business Class"

Here's a new article by Harald Wellmann titled "Java EE 6 Server Comparison" discussing a non-trivial Java EE 6 application (relying on the Web Profile) running on three certified and open source implementations: GlassFish, JBoss, and Resin.


Harald's detailled analysis of the issues faced with relevant bug reports (some progress already on the GlassFish side since this post a few days ago) and links to forum discussions makes for a pragmatic and useful article which also features some performance numbers.

Now of course the comments about GlassFish are not all rosy, but the constructive criticism in this series of blogs is a great way to weigh in and have your voice be heard in the community and certainly at Oracle. It also shows the progress made by GlassFish since version 3.0 (released late 2009) with soon an update to our second generation Java EE 6 product (3.1.1).

The Executive Summary for the series is short and sweet : "Glassfish is Business Class, JBoss is Baroque, Resin is Zen". Onward to First Class!

Friday Jan 14, 2011

Weld Extensions is now Seam Solder and soon GlassFish-friendly

Seam Solder logo

Seam Solder is the new name for Weld Extensions and is a set of portable extensions for CDI and Java EE 6. Following the release of JBoss 6, several people asked about the status of Weld and Seam.

Weld is the CDI reference implementation and Seam is a JBoss-sponsored community effort to build modular extensions for Java EE 6. Seam targets standard Java EE runtimes and other environments where CDI is integrated. There's recently been a focus on compatibility, specifically to get Seam 3 running smoothly on GlassFish 3.1. You can read more on Seam 3 in this post by Dan Allen.

On a related note the upcoming GlassFish 3.1 will integrate Weld 1.1 Final as previously mentioned. This should remove the vast majority of CDI problems found in 3.0.1.

Tuesday Jan 04, 2011

JBoss joins the Java EE 6 parade


Almost two years after shipping their Java EE 5 product and a year after the release of Java EE 6, RedHat has now released JBoss 6.0, a Java EE 6 Web Profile product. Congratulations to the team at JBoss on this community release!

This release adds another player to the growing list of JavaEE implementations which means more choice for developers. This is another case of "Cooperate on standards (and JBoss has certainly done its share for Java EE 6), compete on implementations".

Speaking of competition, it's important to note that this is a community release and that respective JBoss and GlassFish business models are different (with JBoss 7 as the basis for the supported offering).

This release has been unusually light on announcements and blogs. Here are a few that I could find: JBoss AS 6 GA released! (J-Development), JBoss AS 6 Released (Gavin), and a somewhat older post by Mark Little. Update: here's the formal announcement.

Finally, this JBoss release should soon be listed on the official JavaEE compatibility page.

Saturday Nov 20, 2010

Not like JBoss - GlassFish Commercial Support

We use GlassFishForBusiness to announce all GlassFish releases, both public and restricted. Recently, one of its readers asked:

Will GlassFish become just like JBoss, with an open source (so-called, "General Availability") branch with few releases (most notably, only versions x.y.0 and no corrective versions) and only a commercial version which fixes even the most critical issues?

(A similar observation is described here)

We have addressed these questions previously ([1], [2], [3]) but those entries were a bit stale. I just did a cleanup pass at GFFB to update the content; check out:

To preempt accusations of unfairness, another obvious difference between JBoss and GlassFish is that JBoss does not have closed source AddOns while Oracle GlassFish Server does. But, as a counter, if you don't think Oracle's AddOns (and support and sustaining) don't give you value, don't buy them.

Thursday Oct 28, 2010

From 2 to 8: Java EE 6 App Servers

The new usability features in Java EE 6 (tutorial, specs) and the new Web Profile have created a combination of new demand and easier implementation.

By my count, there are at least 8 Java App Servers that are either JavaEE 6 Compatible or are in their way there.  Below are some key pointers for each offering; as you can see, very good traction.

Currently Java EE 6 Certified

GlassFish 3 (from Oracle)
GlassFish 3 is available in Web Profile and Full versions. 3.0 was released in Dec 2009 and 3.0.1 in June 2010, with releases of the Oracle-branded commercial releases at the same time.

JEUS 7  (from TmaxSoft)
Although this JEUS 7 is still in beta phase, it has already passed the full TCK certification.  A final release is expected by end of 2010

On the Road towards Java EE 6 Certification

Resin 4 (from Caucho)
Caucho is working on a Java EE 6 Web  Profile App Server.  They are very close to a Java EE 6 Web Profile certification.

SIwpas (from MechSoft)
This is a Tomcat 6-based AppServer leveraging ASF's technologies. MechSofts site indicates they are targeting Java EE 6 Web Profile, but they are not (yet?) a Java EE Licensee, so we will see.

JBoss 6 (from RedHat)
The community version, JBoss AS 6 goes final in mid-December; commercial support will wait for RedHat's EAP 6 in Q4CY2011, built on JBoss 7 (JBossWorld 2010).

GlassFish 3.1 (from Oracle)
The follow-up GlassFish 3.1 will be released around end of this calendar year, with full clustering support.

WebLogic Server 11g R2 (from Oracle)
Next release of WebLogic Server will support Java EE 6, both the full specification and the Web Profile.  The current plan is to release in CY 2011.

WebSphere 8 (from IBM)
IBM is working on a full Java EE 6 App Server.  They have been making feature packs available on WAS V7 (e.g. JPA 2.0 pack) but they just announced a full beta of 8, with JavaEE 6 support:

Geronimo 3 (from the Apache Software Foundation)
The Geronimo community is getting ready for a release of Geronimo 3 towards the end of the calendar year and targeting Java EE 6 Web Profile.

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

Tuesday Oct 20, 2009

JBoss, Hudson, Cloud, Liferay and Other Recent GlassFish White Papers

Harpreet has been driving the creation of a Several New WhitePapers for the Sun GlassFish Portfolio. Topics covered include: Hudson, JBoss, WebSpace Server Cloud and many more.

A full list is available from the GF Portfolio Resources page. Also see the Sun.Com Resources page for whitepapers and more across all of Sun's products.

All whitepapers are free but registration is required.

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.

Sunday Jun 14, 2009

Business Trends - JBoss, Spring Framework, and eXo

A couple of recent Red Hat announcements are relevant to the competitive landscape around the GlassFish products:


Red Hat announced Open Choice, which notably includes support for the Spring Framework. Also see the Press Release, Rich's note, and reactions from The Register and Rod Johnson; and, for historical/wider context, recall Oracle and Spring.


The second announcement is the eXo and JBoss Partnernship, which seems quite similar to our partnership with Liferay around Sun GlassFish WebSpace Server. See Rick's post, the PR and comments at CMS Watch.

Additional business context for all these moves include our Partnership with Liferay, the immediate release of Java EE 6 and GlassFish v3, the Oracle announcement, and even the JSR299 and JSR330 exchanges. The next few months will be interesting...

Sunday Mar 29, 2009

JBoss News - CXF and Sacha

Two news pieces related to JBoss that are relevant to GF readers.


JBoss has announced that it has chosen Apache CXF as its main web services stack. My tally is (please send me corrections):

Metro - GlassFish, WLS, Sun's JDK, IBM's JDK, TMaxsoft, a few other JavaEE licensees.
CXF - Geronimo 2 (shared with Axis2), MuleSource, JBoss
Axis2 - Geronimo 2 (shared with Axis2)
Axis - WAS (?)

And Sacha announces his departure from Red Hat. Enjoy the actively doing nothing part!

Thursday Dec 18, 2008

JBoss's Advice to Sun... and Boxing Matches


Since I'm still in the mood for a break (I'm planning to start my holiday break early next week - and I'm not planning to spend it like last Xmas break)... a pointer to Sacha's post: SUN: (Sound?) Open Source Business Model? and John's followup: When you hit them and they smile, you know you did something right .

I think Sacha is uncharacteristically off in this one. He uses the pricing for small (up to 1K employees) companies, but, equally importantly, Sun has a lot of software we can sell to these companies leveraging GlassFish (and other entry points). And that without counting on Services and Systems, which also rely and leverage Software.