Friday Mar 30, 2012

Tab Sweep: Java EE 6 Scopes, Observer, SSL, Workshop, Virtual Server, JDBC Connection Validation

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

Radio Receiver

How Java EE 6 Scopes Affect User Interactions (DevX.com)
Why is Java EE 6 better than Spring ? (Arun Gupta)
JavaEE Revisits Design Patterns: Observer (Murat Yener)
Getting started with Glassfish V3 and SSL (JavaDude)
Software stacks market share within Jelastic: March 2012 (Jelastic)
All aboard the Java EE 6 Love Boat! (Bert Ertman)
Full stack Java EE workshop (Kito Mann)
Create a virtual server from console in glassfish (Hector Guzman)
Glassfish – JDBC Connection Validation explained (Alexandru Ersenie)
Automatically setting the label of a component in JSF 2 (Arjan Tijms)
JSF2 + Primefaces3 + Spring3 & Hibernate4 Integration Project (Eren Avşaroğulları)
THE EXECUTABLE FEEL OF JAX-RS 2.0 CLIENT (Adam Bien)

Here are some tweets from this week ...

web-app dtd(s) on http://t.co/4AN0057b R.I.P. using http://t.co/OTZrOEEr instead. Thank you Oracle!
finally got GlassFish and Cassandra running embedded so I can unit test my app #jarhell
#JavaEE6 + #NetBeans is really a pleasure to work with!
Reading latest chapter in #Spring vs #JavaEE wars https://t.co/RqlGmBG9 (and yes, #JavaEE6 is better :P)
@javarebel very easy install and very easy to use in combination with @netbeans and @glassfish. Save your time.

Thursday Mar 22, 2012

JSF 2.x's renaissance

JAXenter's Chris Mayer posted a column last week about the "JavaServer Faces enjoying Java EE renaissance under Oracle's stewardship".

ALT_DESCR

This piece discusses the adoption and increased ecosystem (component libraries, tools, runtimes, ...) since the release of JSF 2.0 as well as ongoing work on 2.2.

As Cameron Purdy comments, Oracle as a company certainly has vested interest in JSF and will continue to invest in the technology. Specifically for JSF 2.2, and as this other article points out, a lot of the work has to do with alignment with HTML5 (see this example) and making the technology even more mobile-friendly (along with the main Java EE 7 "PaaS" theme of course).

Chris' article concludes with "JSF appears to be the answer for highly-interactive Java-centric organisations who were hesitant of making a huge leap to JavaScript, and wanted the best RIA applications at their disposal".

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)

Sunday Jan 29, 2012

More Java EE 7 - JSF 2.2

JSF 2.2 (JSR 344) is yet another specification that's being worked on as part of the Java EE 7 effort and Arjan over at jdevelopment.nl has a detailed status covering everything new in this version of the spec.

ALT_DESCR

Part of the features discussed in this blog post are a new queue control for AJAX requests, tighter CDI integration, some Java API additions as well as life-cycle events improvements.

It's great to see community members help spread the word on the progress made and as Ed Burns, the JSF spec lead, says - "(this is) a true testament to the value of transparency."

Wednesday Jan 11, 2012

JSF and HTML 5 intersection - Server Sent Events

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Roger Kitain from the GlassFish JSF team has made available a recent article he wrote for JAX's Java Tech Journal titled "JSF 2 and HTML 5 Server Sent Events".

The article explores how one of many many HTML5 technologies, Server Sent Events (SSE), can be incorporated in a JSF UI. It includes sample code for creating JSF composite components used for a stock quote application that features server-initiated page refreshes (using SSE).

ALT_DESCR

While not as powerful as the WebSocket protocol, HTML 5 Server Sent Events can used to provide partial page refresh without moving away from the HTTP protocol.

.

Saturday Nov 12, 2011

JSF 2.2 recent progress - Early Draft

JSF specification lead Ed Burns has an update on the progress of JSF 2.2, another component which should be required as part of the upcoming Java EE 7 standard.

JSF spec logo

This includes a reminder of the scope of this specification, the availability of the early draft and height specific features that are being worked on and split into "Mostly Specified Features" and "Not Yet Fully Specified Features" (I think you can read the latter as "at risk"). My favorite is "763-EverythingIsInjectable".

Remember that JSF 2.2 is due out in the middle of 2012 which is in time to be integrated in the Java EE 7 platform JSR (currently scheduled for second half of 2012). In the mean time, JSF 2.2 nightly builds are available.

Wednesday Sep 28, 2011

Ed Burns discusses JSF and HTML5

Ed Burns, the JSF spec lead, has a blog post discussing HTML5 in JSF 2.2 and identifying Metadata, Sectioning and Form elements as the key areas to evolve in the specification.

ALT_DESCR

We've previously discussed support for WebSocket in GlassFish/Grizzly but the wider HTML5 standard, while still somewhat of a moving target, cannot be ignored.

Expect more concrete news and progress in the coming weeks and months in both specifications and implementations.

Thursday Jun 16, 2011

Mojarra (JSF) 2.1.2 is here

The Mojarra 2.1.2 release was cut a few days ago. Here are the full Maven coordinates : api, impl. You can also get to the release notes and to the list of bugs fixed in this release.

Mojarra 2.1.2

This is scheduled for inclusion into the upcoming GlassFish 3.1.1 release. In fact it's already integrated in the latest promoted build (#8) which also includes woodstox 4.1.1. Weld 1.1.1.Final has already been integrated a few builds ago.

The JSF team is now working on JSR 344 (JSF 2.2) for which you can get a status by visiting http://jsf-spec.java.net/ and the associated mailing lists. A first expert draft is now available.

Wednesday May 25, 2011

Transparency, Mojarra-style

In addition to the announced transparency in Java EE 7, each open source implementation has its own set of initiatives to encourage participation and feedback via transparent development.

Mojarra, the production-quality reference implementation shipping in the majority of application servers is no exception as you can read in this blog post by Ed Burns covering ohloh and svnsearch.

ALT_DESCR

These transparency principles are overal true for GlassFish (a transparent fish) as illustrated in this recent post. Check out its ohloh page and the svnsearch page.

Saturday Apr 30, 2011

More OTN Developer Days

OTN Java Developer Days are continuing to circulate around the world with stops planned in Australia and more virtual events for everyone to follow. If you are in Brisbane or Perth, check out this detailed agenda and registration page.

OTN Dev Days

These two events will cover Java EE 6, introduce the theme for the upcoming Java EE 7, and illustrate both with GlassFish, WebLogic with drill downs on JAX-RS and several monitoring and tuning tooling and techniques. Make sure you register.

If you don't live down under, you may be interested by this JSF OTN Virtual Developer Day. The list of speakers for this live event includes Oracle employees and ACE directors and the agenda covers JSF, ADF and WebCenter in both sessions and labs.