Sunday Mar 18, 2012

RESTful Java on Steroids (Parleys, Podcast, ...)

As reported previously here, the JAX-RS 2.0 (JSR 339) expert group is making good progress.

If you're interested in what the future holds for RESTful Java web services, you can now watch Marek's Devoxx presentation or listen to him in the latest Java Spotlight Podcast (#74).

ALT_DESCR

Marek discusses the new client API, filters/handlers, BeanValidation integration, Hypermedia support (HATEOAS), server-side async processing and more.

With JSR 339's Early Draft Review 2 currently out, another draft review is planned for April, the public review should be available in June while the final draft is currently scheduled for the end of the summer. In short, expect completion sometime before the end of 2012.

Friday Mar 16, 2012

Tab Sweep - Java EE wins, Prime Faces JSF, NetBeans, Jelastic for GlassFish, BeanValidation, Ewok and more...

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

PrimeFaces 3.2 Final Released (primefaces.org)
Java EE wins over Spring (Bill Burke)
Customizing Components in JSF 2.0 (Mr. Bool)
Key to the Java EE 6 Platform: NetBeans IDE 7.1.x (OTN)
How to use GlassFish’s Connection Pool in Jelastic (jelastic.com)
Bean Validation 1.1 early draft 1 is out - time for feedback (Emmanuel)
Code artifacts published for Bean Validation 1.1 early draft 1 (Emmanuel)
Aprendendo Java EE 6 com GlassFish 3 e NetBeans 7.1 (Marcello)
JavaEE6 and the Ewoks (Murat)

LightFish, Adam Bien's lightweight telemetry application

Adam Bien (Java Champion, JavaEE expert, book author, etc...), has been a GlassFish enthusiast for a while and he proves it again with his new open source project - LightFish, a lightweight monitoring and visualization application for GlassFish.

ALT_DESCR

Adam has a short intro and screencast about this standalone WAR application. The tool uses the new JavaEE 6 self-described JDBC connection and the GlassFish-bundled Derby database to provide drag-and-drop install.

At runtime, once monitoring is enabled, calls to the RESTful admin API for GlassFish are emitted from a JavaFX dashboard plotting in real-time telemetry data on charts and graphs, including data for "Paranormal Activity". Check it out!

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 Mar 13, 2012

JavaOne 2012 call for paper open!

JavaOne 2012 will be held in San Francisco from September 30th to October 4th, 2012 and the call for papers is now open!

ALT_DESCR

Make sure you don't miss the April 9th deadline and get you paper submitted asap. In addition to the "official" tips, Arun has a a few more for you.

Remember also that between now and this JavaOne in San Francisco, there will be no less than three other JavaOne events around the world: Japan, Russia, and India!

Java EE 6 sample code

Now that Java EE 6 has been out for more than two years, best practices and code samples seem to be easier to find than ever. Here are a few samples.

ALT_DESCR

Markus has just blogged about "Galleria example", a bitbucket-hosted set of end to end Java EE 6 sample code written by Vineet Reynolds (Markus now also has all the practical steps to use the code with NetBeans 7.1.1 and deploy to GlassFish 3.1.2). Other examples include Adam Bien's Java EE Patterns and Antonio Goncalves' Beginning EE 6 projects on kenai.com.

Of course there's also GlassFish sample code and their NetBeans equivalent (updated for GlassFish 3.1.2). In summary, you've got no choice - get going with Java EE 6 today!

Sunday Mar 11, 2012

NetBeans 7.1.1 - made for GlassFish 3.1.2

Alongside with the GlassFish 3.1.2 release NetBeans has also released version 7.1.1.

NetBeans probably has the best Java EE 6 out-of-the-box support and this 7.1.1 release fully supports GlassFish 3.1.2. Check out these recent Java EE features (some neat CDI stuff in there).

ALT_DESCR

Since this NetBeans release is also available as a patch update to 7.1, you need to either download GlassFish 3.1.2 separately or do a fresh install of a 7.1.1 bundle which includes GlassFish ("Java" or "All").

Friday Mar 09, 2012

Tab Sweep - Upcoming JPA in NetBeans, JCP voting, Java EE and more....

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

Inside Oracle's Java Magazine (YouTube)
NetBeans JPQL and named queries support (NetBeans.org)
JSR 356 WebSocket Review Ballot results (jcp.org)
Why we vote “Yes” for JSR 331, JSR 354 and JSR 355 (London Java Community)
QCon Report - Day One (JAXenter)
JavaEE6 and the Ewoks (Developer Chronicles)
How to Create a New JSF Project (Pack Publishing)

Thursday Mar 08, 2012

GlassFish 3.1.2 Screencasts & Videos

Now that GlassFish 3.1.2 is out the door (download it here) you may want to watch one of the screencasts or videos that were put together for this release.

ALT_DESCR

"GlassFish Server 3.1.2 Overview" presentation by John Clingan (Product Manager)
"GlassFish 3.1.2 Overview by Sathyan Catari", interview by Arun Gupta
"Cluster Management with GlassFish 3.1.2 Console (SSH & DCOM)", a screencast by Anissa
"Managing Application Scoped Resources from the 3.1.2 Console", a screencast by Anissa
"5-minute screencast", screencast by Adam Bien showing Java EE 6 with NetBeans 7.1.1 and GlassFish 3.1.2

As a reminder, all GlassFish Videos and Screencasts are available from our YouTube channel.

Wednesday Mar 07, 2012

GlassFish new recruit and Eclipse integration progress

Long-time tools guy, Vince Kramer is revealing the work of recent hire Peter Benedikovic in the area of GlassFish and Eclipse integration.

ALT_DESCR

The short version is that you can now install and register GlassFish 3.1.2 straight from the IDE.

There are also two different Eclipse update center for both the current release and for the upcoming one:
http://download.java.net/glassfish/eclipse/indigo
http://download.java.net/glassfish/eclipse/juno

Tuesday Mar 06, 2012

JSR 107 - Code Rulez

What's better than talking about the JSR 107 draft spec or listening to its spec lead interview? Get your hands on code of course!

ALT_DESCR

First of all, this page on github has links to spec, API, RI, TCK. Next, a fully functional 107 implementation backed by Oracle Coherence is also available from GitHub (continuous integration).

if you have feedback for this work, the discussion group is also available.

Introducing JSR 357: Social Media API

Following up on the related news of the open-sourcing on java.net of DaliCore, here's JSR 357: Social Media API.

This is a JSR to define an "API for accessing social information networks, both Public (Facebook, Twitter, Google+, LinkedIn, Xing, Yammer,...) and Corporate."

ALT_DESCR

The Spec Leads are two individuals (Werner Keil and Antoine Sabot-Durand), the JSR Review Ballot starts today (March 6th, 2012) and the schedule is pretty aggressive with a final release dues out in Q1 2013. Mailings lists have been set up here.

Monday Mar 05, 2012

GlassFish 3.1.2 Updated Components (Final)

Now that GlassFish 3.1.2 has been released, it's time to check on the exact list of updated components (one of the important themes in pretty much every release).

• JSF/Mojarra 2.1.6
• Grizzly 1.9.46
• Metro 2.2
• Jersey 1.11
• Shoal 1.6.17
• EclipseLink 2.3.2
• Message Queue 4.5U2
• OSGi Core 4.3.0
• Update Center 2.3.5
• Hibernate Validator 4.2.0-FCS
• JavaDB 10.8.1.2
• Weld 1.1.4.Final

ALT_DESCR

About half of the bugs squashed in this GlassFish 3.1.2 release were through the integration of those recent components.

Sunday Mar 04, 2012

Upgrading to GlassFish 3.1.2

Now that GlassFish 3.1.2 has been released, you may be wondering about what your upgrade options are. As a reminder, this release is highly-compatible with previous ones and should be a target for any existing GlassFish user.

ALT_DESCR

Technically-speaking version 3.1.2 is also known as 3.1.1-patch#4 and 3.1-patch#5, thus making the migration path pretty obvious for 3.1. and 3.1.1 users.

We are not forgetting users of older versions with these additional supported upgrade options :
• 2.x → 3.1.2: side-by-side install + domain upgrade
• 3.0.x → 3.1.2: side-by-side install + domain upgrade or update via update-center + domain upgrade

For a 3.1.x → 3.1.2 upgrade you can to a side-by-side install, update via update-center with no required domain upgrade (configuration is compatible with 3.1.x).

The upgrade of v2 clusters can be done with :
• side-by-side install of 3.1.2 on DAS and instance hosts
• Migrate v2 domain to 3.1.2 on DAS host + recreation of instances

In-place upgrades are not supported through the installer though. For all the details, make sure you read the dedicated "Upgrade Guide" documentation.