Wednesday Mar 14, 2012

GlassFish 3.1.2 - Which Platform(s)?

Now that GlassFish 3.1.2 has been released, we can look at the updated list of supported platforms: operating systems and JVMs.

Operating Systems (in no order of preference :) -
• AIX 6.1, 7.1
• Solaris 11 Sparc and x86
• Solaris 10 Update 7 Sparc and x86
• Oracle Linux 4, 5
• RHEL 4, 5
• Windows 2008 R2
• Windows 7
• Windows XP SP3
• SLES 10, 11
• Ubuntu 11.04 (Developer Support Only)
• MacOS X 10.7.1 (Developer Support Only)

ALT_DESCR

JVMs :
• Oracle JDK 1.6.0 u29 and beyond
• Oracle JDK 1.7.0 u2 and beyond
• Apple JDK 1.6.0_24 and beyond
• JRockit 28.2.2
• IBM JDK 6 and JDK 7

The official information is available in the Oracle GlassFish 3.1.2 certification matrix and also includes browser, database certifications and more.

Tuesday Jul 19, 2011

Specify which JVM GlassFish should use

With new releases of the JDK (updates to Java 6 or better yet, Java 7, more on that later) you may be tempted to upgrade the JVM used by GlassFish without changing your user or system settings.

Byron has a blog for you on How GlassFish picks up Java.

Original photo from http://commons.wikimedia.org/wiki/File:Aiguillage_EP01.jpg

His post covers starting GlassFish with the asadmin CLI and the order in which the appserver will consider JDK installations. My favorite way to specify a given JDK is the use of AS_JAVA in glassfish/config/asenv.conf (your mileage may vary). Check out the other possibilities.

Byron even has the links to the source code so that you can study the actual implementation (and who knows maybe improve it).

Wednesday May 18, 2011

Java 7 - Rampdown Mode, feature set (podcast) and gratis JRockit

After shipping the JDK 7 Developer Preview a few months back, the team still seems to be on track to ship JDK 7 this summer.

Mark Reinhold has shared that JDK 7 was in "Rampdown mode" with only fixes to showstopper bugs being accepted (definition in Mark's email).

ALT_DESCR

While Project Coin, now supported by two majors IDEs: NetBeans 7 and IntelliJ 10.5, has been well covered in various venues, there are many many more features in JDK 7 that you should probably be looking forward to.

The latest episode of the JavaSpotlight podcast has part 1 of an interview with Henrik Stahl covering many of those smaller (think Project Coin type of features - small but useful) in almost every direction you look: swing, locales, unicode, nio2, class-loading, jdbc, jaxb, jaxws, javadoc stylesheets (finally!), and many more.

Without spoiling the fun, part 2 of the interview should be up next week and will cover plans for Java 8 and the converged JVM. In the meantime, make sure you check out Henrik's "JRockit is Now Free" blog post.

Wednesday Feb 23, 2011

Oracle now ready with JDK 7 Developer Preview

As promised in his earlier "JDK 7 is Feature-Complete" post, Oracle's Mark Reinhold now announces the availability of JDK 7 Developer Preview.

This is not quite a beta but it has close to 500 bugs fixed since the feature freeze from about a month ago.

ALT DESCR

Just like any software approaching the release line, it will get harder by the week to get fixes in (they'll need to be serious bugs and require rather risk-free fixes) so you should really consider testing your software on this build and report any issues.There is a dedicated forum for feedback for this release.

There is no Mac OS X version yet, but this link should get the Apple aficionados happy.

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).

ALT DESCR

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 22, 2011

Recent adoption surveys - JDK, Java EE, GlassFish

ALT DESCR

Remaining true to their viral marketing approach, the JRebel guys posted results for another "productivity report" with comments on the reactions. With the obvious caveat about surveys in general and self-selected samples in particular, the figures are encouraging for Java EE adoption and GlassFish deployment figures.

In our experience, the more people use GlassFish 3.x the more they adopt Java EE 6 and the lighter their application becomes with no third-party frameworks (see this recent story). This may in turn lower the requirement for JRebel.

In this other TheServerSide developer survey, the take-away is "Java 6 and Java EE 5 are the winners". Looking at the details, that's more than 70% of developers (at home, 64% @ work) reporting usage of Java EE 5 or Java EE 6 and thus being now free from EJB 2.x and XML-hell.

In his post, Richard is a bit disappointed with the adoption of Java EE 6, but with 30% of the developers using Java EE 6 at home less than a year after the specification shipped and with GlassFish as the only available implementation for a while, this sounds to me like very strong adoption. Java EE 5 adoption didn't happen overnight. Remember, it shipped in 2006.

Sunday Oct 31, 2010

JavaEE 6 SDK - Now Bundled with Java SE 6u22

Oracle (like Sun) provides the Java EE 6 SDK in 4 main bundles: full or Web Profile, and with or without the JDK bundle. We just updated the JDK bundles to reflect the latest JDK: JavaSE 6u22, which includes performance improvements and security vulnerability fixes.

Although the JDK software is only available in the +JDK bundles, the top level about file (e.g. "about_sdk_web.html") has been updated and all bundles are impacted.

The effort to get this update depends on how you install it and whether you are downloading from scratch or not.  For example,  if you have the previous version and use the GlassFish update center, you will only need to update the module that has that about file; see snapshot.  And, if you are not using a +JDK bundle, that's all there is to the update.

For more details of the update process, see this older and longer entry describing the situation for JavaSE 6u21.  Related posts are tagged updatecenter.

PS: At the time of writing this note, the JavaEE SDK download page still seems to have the u21 bundles, but the Update Center repositories have already been updated.

Tuesday Oct 26, 2010

Oracle's Comments On JCP EC Nominations

Last week the JCP released the List of Candidates to the JCP Executive Committee. Since then, Oracle has issued a couple of comments and, given the interest in the topic, I'm copying them below.

In a post to the JUG Leaders mailing list, Oracle commented on their choice of Hologic for one of the ratified seats; I'm coping the first paragraph verbatim below; check the full email here.

"There has been quite a lot of discussion over the past week about our JCP EC nomination. We thought we would offer our perspective. We nominated Hologic, as with Credit Suisse earlier, to inject some much needed Java end-user and business perspective into the Executive Committee, as opposed to standards, technologist, technology vendor, and developer community perspectives - all of which are already well represented. Those roles also overlap, as we have well-recognized technologists, like Josh Bloch, who are also representing vendor interests. JCP members may disagree with the need for more end-user perspective on the EC, but we think it's an important view that has been underrepresented to date. Having the perspective of a company whose business depends on Java technology -- not as a technology vendor, but as an informed consumer of Java technology -- is valuable."

Then, in a separate statement, Oracle commented on Doug's absence and Java SE 7 and 8:

"Oracle highly values Doug Lea's contributions to Java and hopes to continue to engage him in the community moving forward. We were disappointed with his decision to not seek another term on the JCP Executive Committee. We believe that the EC is ready to move Java SE 7 and 8 forward, and we will be submitting those specification requests very shortly. With the specification requests for SE 7 and 8 in place, the JCP's normal mechanisms for advancing Java - technical work going on in expert groups, subject to EC approval - will be functioning again. Although we are committed to improving the JCP, we also believe that the JCP is fully capable of supporting vigorous debate and deep involvement and contributions from a variety of individual and corporate participants, and we feel confident that the vast majority of EC members would agree."

Monday Jul 19, 2010

Java SE 6 u21 is Now Available

Java SE 6 update 21 is now available (Downloads, release notes, bug fixes).

This release includes performance improvements, support for Oracle Enterprise Linux, Oracle VM, and Google Chrome, and Visual VM 1.2.2. The Java EE SDK still includes u20; an update with u21 is tentatively scheduled for next week.

The actual release was a few days ago but the official post just came out. BTW, Java SE News is now at BOC; I can't wait for BSC and BOC to be merged so we only have to track one site.

Sunday Nov 30, 2008

... JSF 2.0 Samples, Merb Support, More Prizes, Multi-Lingual Downloads, JavaFX, Modular JDK

A compilation of news of interest:

Radio Receiver Icon

JSF 2.0 went into Public Review Draft and Jim has posted more entries in his series showing how to take advantage of the new functionality. In the first one, he describes how to write an AJAX-aware Editable Text Component - sources are here. The second is a SwitchList - sources for an AJAX-aware variant are here (I suspect Jim will write about that version soon).

Arun has written two pieces on how to use the GlassFish v3 Gem with Merb. In the first one he covers the basics while the second Provides a Scaffold for a typical application. The posts have already been used successfully by Ashley Towers, Grant Michaels, iamclovin. Aded - Also check on details on Grant's Experience.

The winners of the Student Contest on MySQL and GlassFish (Official Rules, Announcement) have been announced. They are grouped into two categories, Campus Ambassadors and General Students, with one Grand Prize and several (4/3) Second Prizes on each. The winners are from Brazil (4), India (3), China (1) and the US (1). Full details (and photos) in the Winner Announcement - and thanks to Arun for the tip.

More Translations, this time of the download pages of GlassFish v3 Prelude to 7 languages: German, Spanish, French, Japanese, Korean, Simplified Chinese and Traditional Chinese - see Ogino's Note;

JavaFX will be launched this Thursday, Dec 4th, but the previews are starting to show. Chris - the original inventor of F3, the precursor to JavaFX - has a Thank-you note, while Robert has published the Reference Manual (thanks to Octavian for the tip). Stay tuned for more news during the launch.

And, in the meantime, on OpenJDK-land, Mark is describing the issues involved in today's Monolithic JDK, which we need to address if we want this infrastructure to be widely available as the basis for efforts like JavaFX.

Tuesday Oct 21, 2008

Java 6 Update 10, en route for JavaFX

Java Logo

Update 10 of JDK 6 was recently made available and is being announced today. Don't be fooled by the numbering, Java 6 Update 10 is an important release for anything desktop in Java and of course for the upcoming Java FX release later this year. Of course, Java 6 Update 10 can also run GlassFish and other server-side jobs (the custom applet loading screen just isn't as useful in that case...).

"Update 10" (also referred to as the "Consumer JRE") has a very nicely redone Java Plugin with "draggable applets" (probably blurring yet even more the lines between RIA, RDA, and other silly acronyms :-). Also part of the release are a new Swing look-and-feel, the Java Kernel and QuickStarter, a new comprehensive install /deploy set of tools (JavaScript & Java), and more. This earlier detailled article goes into more details.

Finally, I'm enjoying very much "ThePlanetarium" as a source of information for all things Java SE (similar to what we do here on TheAquarium). Danny has a great list of resources for Java 6 Update 10.

Friday Jul 18, 2008

Updated GlassFish/JavaEE SDKs with latest JDK

ALT DESCR

The latest released JDK is JDK 6 Update 7; we just refreshed the Java EE/GlassFish-related SDKs to include that update - see announcement.

• Java EE / GlassFish Download Page
• Java SE Download Page