Wednesday Mar 09, 2011

GlassFish 3.1 SOTD #9 - GlassFish and WebLogic JMS interoperability

In this ninth post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Nigel's GlassFish and WebLogic JMS interoperability.

This 13-minute demo Nigel walk you through the steps to configure GlassFish applications to use WebLogic JMS using the GenericJMSRA resource adapter.

It offers a quick 2-minute introduction and dives straight into the demo with setup and configuration done respectively using the WebLogic Server and GlassFish Server Admin Consoles, a standalone JMS client code to generate some messages for the WebLogic JMS instance and an MDB application deployed on GlassFish. Check out the GenericJMSRA project on and the entire sample code from its Download section.

This screencast is hosted on the GlassFish YouTube Channel.

Monday Mar 07, 2011

Leftik and Gaur on OTN about GlassFish Server 3.1 and interop with WebLogic Server

If you've missed last week's release of GlassFish 3.1, you can tune in to this 20-minute video from OTN with Justin Kestelyn discussing with Anil Gaur (VP Development for GlassFish) and Adam Leftik (GlassFish Product Manager ) the release as well as the interoperability efforts with Oracle WebLogic Server.

Anil and Adam on OTN TechCast

The discussion covers positioning GlassFish vs. WebLogic with the sharing of components (EclipseLink, Metro, Mojarra, Jersey, JAXB, etc.) and going forward, a common micro-kernel. On the GlassFish front, Adam does a rundown of what's new in 3.1 and touches on the Oracle Coherence integration as well as Integration with other Oracle products. The differences between the open source and Oracle-branded products is also discussed in this interview.

JavaEE 7 is also covered in the dicsussion with the caveat that the platform JSR and four other JSRs have been filed since the recording.

Sunday Feb 20, 2011

NetBeans 7.0 beta 2 is now available

NetBeans 7.0 beta 2 is now out and you can download your copy from this download page. As previously discussed this version has enhancements for GlassFish 3.1 and now ships with an almost final version (b41 to be precise).


One of the main goals for NetBeans 7.0 is alignment with Java SE 7 (project Coin, etc.) but other important features include support for Oracle WebLogic Server (check out this screencast), HTML 5 editing, Maven 3 support, overall improved Java EE support for CDI, JAX-RS, JPA and Bean Validation, and now also support or Git (1.7.x).

Check out more details about this on this page and be sure to read the release notes. Finally note that NetBeans IDE 7.0 Beta 2 is available in no less than 6 languages: English, Brazilian Portuguese, Japanese, Russian, and Simplified Chinese.

Saturday Jan 29, 2011

Hardware & Software, engineered together : Take #1

In this "Exalogic Software Optimisation" blog entry, Paul Done discusses how the JRockit JVM, the latest WebLogic Application Server and Coherence (the secret sauce) all make the Exalogic machine run as fast as it does with the same versions of the products you would use on any other hardware. All three products have been engineered to shine together and on this particular iron.

Exalogic stack

The difference with other similar software stacks is that these three products really shine when running on the Exalogic machine by using SDP to take full advantage of the internal InfiniBand network. It's also worth mentioning Active Gridlink which was introduced as recently as WebLogic 10.3.4 to offer optimized connections to an Database Oracle RAC cluster (which could be running on an Exadata).

This being Exalogic v1, there is yet more to come to reinforce the technical reality of Oracle's "Hardware and Software, Engineered to Work Together".

Monday Jan 17, 2011

Oracle WebLogic Server 11gR1 (10.3.4), now with JSF 2.0, JPA 2.0, and JAX-RS 1.1


Version 10.3.4 of Oracle WebLogic Server is now available along with the rest of the Fusion Middleware set of products. Here are some of the new features in this release :
• Exalogic Elastic Cloud Software Support
• Support for TopLink JPA 2.0 with patch 9923849
• Enhanced support for Oracle RAC with a Grid Link Data Source
• Certification with JAX-RS Jersey
Full details are available in the "What's new" section of the documentation.

Other notable news include a 300MB developer download (MacOS support included), a Maven plugin (new with this release, see Markus' post on that topic), as well as a bundle download for WebLogic Server on JRockit Virtual Edition.

JSF, JPA, and JAX-RS implementations are now common across WebLogic and GlassFish servers.

Update: Mike Lehmann has now a more detailed blog entry on this release.

Sunday Jan 02, 2011

GlassFish in 2011 - What to expect

Road Ahead

First of all, wishing you all the best for 2011!

Now that 2010 is behind us, it's time to talk about the future. Obviously for GlassFish and Oracle the goal is to deliver on the Roadmap, but I thought I'd boil this down to the following items :

• a final release of GlassFish 3.1, including full clustering.
• more industry Java EE 6 support, including for WebLogic.
progress on JavaEE 7 and related technologies.
• cloud and virtualization as guiding principles for future versions of GlassFish.
• more alignment between GlassFish and WebLogic effectively offering portability of applications.

What else would you like to see in 2011?

Wednesday Dec 22, 2010

Oracle WebLogic Server & Java EE developer day


Oracle WebLogic is well on its way to contribute to the general Java EE 6 momentum and the OTN Blog has just announced a Virtual Developer Day for Oracle WebLogic.

This free event will take "place" on February 1st 2011 (with additional dates to follow with Europe and Asia friendly times). It will cover overall developer experience improvements, Java EE 6 support, offer a couple of 1-hour labs, sessions on JPA and Web Services as well as a few demos. Event details and registration here.

Compared to GlassFish, Oracle WebLogic Server has a different set of requirements but the commitment to Java EE 6 is strong and clear.

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.

Sunday Oct 17, 2010

NetBeans 7.0 Milestone 2 is here - lot's in store!


Just like GlassFish, the NetBeans folks have been busy working on their next release (read "6.10 renamed to 7.0"). Milestone 2 of NetBeans 7 is now available and it has a lot in store for web and server-side developers: Java EE 6 enhancements, support for GlassFish 3.1 and Oracle WebLogic Server, but also interesting new Web features.

Regarding Java EE 6 enhancements, EL (Expression Language, heavily used in JSF 2) now has error checking, finds usages in JSF or CDI managed beans, offers refactoring, bundle resources support, useful tooltips and hints. CDI offers qualifier auto-creation, "Inspect CDI" contextual menu, and more. But you'll also find JAX-RS wizard enhancements, support for JSF components suites (PrimeFaces), BeanValidation (constraint and validation.xml) wizards, and JPA integration of BeanValidation and JAXB.

On the Web front, json source formatting, HTML 5 editing support (see this recent GlassFish HTML 5 blog and video), and better HTML validation are also of interest.

Hot off the heels of the Maven 3 final release, NetBeans now ships with an embedded distribution which has been in fact used for a while to interpret Maven projects. Numerous other bugs have been fixed. If you use Maven (2 or 3) you should give this milestone a try.

The NetBeans/GlassFish integration got even better with GlassFish 3.1 support, application-scoped resources (including glassfish-resources.xml editing), better Web Services testing, easier domain creation, access to remote server log, and restart in debug mode. NetBeans also now allows EJB and ACC modules to be deployed as standalone artifacts, while debugging an EAR file that contains an ACC client will now start two debugging sessions, one on the client, one on the server. Check Vince's blog for all the details.

Support for Oracle WebLogic Server is a new feature and now shows as a server in the "Services" tab. If interested, check out this short yet useful video showing support for JSF 2.0 (integrated in the recent WebLogic release), datasource creation and deployment, directory-based deployment and more.

For further details on these new features, please read this Milestone 2 New and Noteworthy document. The final release of NetBeans IDE 7.0 is planned for March 2011.

Friday Sep 24, 2010

Oracle Commits to GlassFish During JavaOne

JavaOne has been an opportunity for Oracle to recommit publicly to GlassFish. We presented the roadmap initially in March but repetition, some more details, and the bigger pulpit will spread the message more widely.

The most visible messages came Monday afternoon, during Thomas Kurian's JavaOne keynote, where GlassFish showed up multiple times. Thomas brought up GlassFish first in the context of Java EE 6, talking about the improvements to productivity, then in the adoption gains (9M d/l last year, more downloads than the year before), and then, again, in the context of Oracle's commitment to keeping GlassFish Open Source. Some of this was expected, although the number of mentions was a pleasant surprise.

Next was the first JavaEE-related demo, where Mike Lehmann showed developer productivity and modularity using NetBeans and GlassFish, while wearing our Special Edition GlassFish T-Shirt. In one of the demos he started with the Java EE full-profile, then reduced it, on-stage, to the Web profile. Demos are certainly much easier with a lightweight product like GlassFish.

The second JavaEE demo from the keynote was by Dave Moore from BioWare. He showed a trailer of Star Wars - The Old Republic and, among others, he mentioned that GlassFish played a key role in the back-end.  Very nice!

Other official messages came during the BOFs and Technical Sesions, including:

• The next version of WebLogic Server will be using HK2's kernel (only believe code? here it is!)

• GlassFish and WebLogic Server are increasing their component sharing components, in both directions - for example features from WLS's WS stack are being added to Metro, and improvements to JSF from JDeveloper and ADF.

Oracle also reaffirmed the GlassFish roadmap, including...

• Release of GlassFish 3.1 MS5 (aka build 20 - see map), the feature-complete milestone for 3.1 - including clustering and HA support.

• Positioning between GlassFish and WebLogic Server - no "departmental" tag line

I'll let you know when the slides for the community event are available

I hope the renewed commitments address misconceptions about GlassFish. The two most common false statements are "There will not be HA in GlassFish 3" and "You can't go production with the OSS version of GlassFish". Both are false.  Repeat after me... false :-)

Wednesday Sep 15, 2010

GlassFish or WebLogic?

We just had a very successful pre-JavaOne briefing for the Java Champions, JUG Leaders and ACE Directors and several questions during the JavaEE segment related to the positioning of GlassFish and WebLogic.

The basic story has not changed since our March roadmap but we now have some extra details, and repetition gets the message through so...

If you are attending JavaOne, the key sessions for this topic are:

GlassFish Community Event (UG - S319368)
   Sunday - 2:30pm-4:30, Moscone South, Rm 252
GlassFish Roadmap and Strategy (BOF - S314737)
   Monday - 8:30pm-9:15, Moscone South, Rm 307
Oracle GlassFish Server: Product Strategy and Roadmap (TS - S317472)
   Tuesday - 9:30am-10:30, Hotel Nikko, Nikko Ballroom II

All events include Q&A. Formal registration for all sessions is via Catalog; for Sunday, register also at the Event and Party page, specially if you plan to attend the party.

PS. The photo is that of a castell... which is very much apropos this topic because castells are a team sport; everybody, from the aixecador to the enxaneta is needed to succeed.

PPS. Also note that Hotel Nikko San Francisco is about 15' by walk from the Moscone Center.

Thursday Aug 12, 2010

NetBeans 6.10 with GlassFish 3.1 and more

Tentative plans for NetBeans 6.10 are now available in its NetBeans Wiki page.  The feature set includes improvements in the support for

• Java EE 6, full spec and Web Profile (details)
• WebLogic Server and GlassFish 3.1 (details)
• PHP (details) and JS, JSON, X/HTML and CSS (details)

NB 6.10 also plans the usual performance and quality improvements as well as better support for Oracle DB. Check all features, schedule, and disclaimers here.

Tuesday Sep 16, 2008

OpenSSO Mid-September Roundup

There's been so much happening in the OpenSSO community over the past week or two, I haven't kept up with covering it here at The Aquarium. Here's a quick roundup:

OpenSSO Logo

Sun Super-SE Shesh Kondi describes how to deploy OpenSSO and its Java EE agents onto Weblogic on Mac OS X. This isn't a supported combination, but it's really handy for demos and development.

At Sun Developer Network, the latest in the 'From the Trenches at Sun Identity' series, Sidharth Mishra talks to Marina Sum about Security for Web Services.

One I picked up on Google Alerts - Qingfeng Zhang has integrated OpenSSO with JA-SIG CAS, allowing users to login to CAS and access resources protected by OpenSSO.

If you haven't already given OpenSSO a whirl, go sign up to the project, download the bits and do it now - you may just win some goodies from the CafePress OpenSSO store.

Finally, a great example of an open source community in action - OpenSSO authentication providers for Spring and Seraph. These are integrations in the 'opposite direction' from the CAS one above, allowing users to login to OpenSSO and access resources protected by Spring Security and Atlassian Seraph (the latter used by Jira and Confluence).

To stay current on OpenSSO, subscribe to Planet OpenSSO (feed).

Saturday Aug 23, 2008

... Arun in Berlin, GlassFish MEP, WebLogic, JBoss 5,

A compilation of today's news of interest:

Radio Receiver Icon

Arun will be in Berlin for the Rails Conf and is already planning other visits. So far he is already planning a visit to the Berling JUG and TU; contact him if your group (or company) is interested in chatting about GlassFish et al.

Ryan has been covering the client side of GlassFish MEP: first check out his Mobile Client SDK Overview, then a Closer look to the MCBI API and finally, the first part of Developing MEP Clients. The server side is covered by Santiago and Art, check out MEP. Also don't miss the JavaOne Slides on MEP.

Oracle has Announced WebLogic 10g R3 (InfoQ Announcement) their first release of since their acquisition of BEA. The release seems an evolution of their previous direction, with price hikes tossed in.

Sacha writes about their first JavaEE 5-based GA release, JBoss 5, due in "a couple of months". Since he compares it to GlassFish, I'll note that our third JavaEE 5-based major release, GFv3 Prelude, is due in mid-October, after GFv1 - May 06 - and GFv2 - Sept 07.

Also, I Will be away on a trip for the next 3 days, so don't expect any posts until Wednesday.