Tuesday Apr 17, 2012

WebSockets and Java EE 7: JSR 356 Starting Up

Java API for WebSocket (aka JSR 356) will define a standard API for creating WebSocket applications. The Expert Group consists of RedHat, Google, Caucho, VMWare and other individuals like JeanFrancois Arcand and Justin Lee.

ALT_DESCR

GlassFish has support for WebSocket using Grizzly on server and client for some time. The JSR will provide standards-based code to write WebSocket applications.

Danny Coward has started websocket-spec and you can read the EG discussions at jsr356-experts. The users@websocket-spec allows you to participate in the discussion. Of course, all this will be delivered as part of Java EE 7 which is now scheduled for Q2 2013.

How are you using WebSocket ? Would you like to join the EG and contribute ?

Wednesday Apr 11, 2012

Concurrency Utilities for Java EE 6: JSR 236 Rebooting

JSR 166 added support for concurrency utilities in the Java platform. The JSR 236's, a.k.a Concurrency Utilities for Java EE, goal was to extend that support to the Java EE platform by adding asynchronous abilities to different application components. The EG was however stagnant since Dec 2003.

Its coming back to life with the co-spec lead Anthony Lai's message to the JSR 236 EG (archived here).

Concurrent Lanes

The JSR will be operating under JCP 2.8's transparency rules and can be tracked at concurrency-spec.java.net. All the mailing lists are archived here. The final release is expected in Q1 2013 and the APIs will live in the javax.enterprise.concurrent package.

Please submit your nomination if you would like to join this EG.

Tuesday Mar 20, 2012

Social Media JSR 357 NOT approved by Executive Committee

JSR 357 (Social Media API) has not passed the initial ballot which means, according to the JCP rules, that "the JSR submitter(s) who may revise the JSR and resubmit it within 14 days".

ALT_DESCR

Given the comments associated with the negative votes, it may be challenging for the submitters to address the concerns about the scope assessed by many as being too wide.

Standardization is a difficult task and the JCP (the Executive Committee in fact) played its role by pointing out the challenges ahead of such a JSR as it was envisioned by its submitters, and thus the risk of never completing. If anything this proves that the JCP is working as expected.

For those disappointed that Java will not get a standard "Social Media API" (for now at least), let me remind you of the recent open-sourcing of DaliCore.

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

Tuesday Mar 06, 2012

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.

Thursday Mar 01, 2012

JMS 2.0 Early Draft is here

The JMS 2.0 Early Draft is now posted for formal review (the review period ends on 29 March 2012).

Spec lead Nigel Deakin has put together a wiki page summarizing the content of the early draft.

ALT_DESCR

For more information about JMS 2.0 (JSR 343), the first JMS update in a looong time, check out the JSR project on java.net.

Thursday Feb 23, 2012

Back from Jfokus 2012 - Java EE 7 with slides and demos

If you were not lucky to attend this year's Jfokus conference in Stockholm, Sweden, you can get to a lot of the material presented there including Arun's Cloud/PaaS and Java EE 7 presentations :

"Java EE 7 - Developing for the Cloud"
"PaaSing a JavaEE Application"

ALT_DESCR

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.

ALT_DESCR

JAX-RS 2.0 - Jersey Code Rulez

What's better than the JAX-RS 2.0 Early Draft? Well, code of course! As spec lead Marek Potociar just announced, the first Jersey 2.0 milestone build is out.

ALT_DESCR

This is an entirely new code base which uses HK2 for dependency injection (a core technology for GlassFish), offers a new asynchronous internal design as well as an API to programmatically define JAX-RS resources. Read about these and more about what's new in Marek's detailed post. Of course this is also the future reference implementation for JAX-RS 2.0.

Feel like trying it out? Simply go to Maven Central (of course none of this is production quality at this point).

Wednesday Feb 08, 2012

Yet another Java EE 7 spec - WebSocket is JSR 356!

JSR 356 has been filed by Oracle : "Java API for WebSocket". The spec lead is Danny Coward and this JSR is scheduled for inclusion in Java EE 7

While it's great to have both server and client support for WebSocket in Grizzly and GlassFish, it's probably even better to have a standard to encourage portable code. The Review Ballot is scheduled to start on 21 Feb, 2012.

ALT_DESCR

With this JSR, I believe the list for Java EE 7 is now complete. You can get the full list in the latest issue of the Java Magazine and catch recent posts using the javaee7 tag.

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

Friday Jan 27, 2012

Tab Sweep - GlassFish patch, is PaaS Middleware over IaaS, NetBeans tips, JCP updates, ...

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

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

Radio Receiver

GlassFish Enterprise Server v2.1.1 Patch 15 (GlassFish for Business)
PaaS is not Middleware over IaaS (Reza)
Sneak peak at Java EE 7 - Multitenant Examples with EclipseLink (Markus)
Building and testing ADF applications with Maven, JSFUnit, Arquillian and Embedded GlassFish (Dablomatique)
NetBeans 7.1 IDE: Shelve and Un-Shelve Changes (John)
NetBeans 7.1 IDE: Inspect and Transform to JDK 7 (John)
JUG Leaders Conference (The Java blog)
New JSR now open for review (The JCP blog)
JCP EC Updates (The JCP blog)

Wednesday Jan 25, 2012

JCP.next with merged Executive Committee - JSR 355

The latest JSR filed is #355 and it's not a technical one - "JCP Executive Committee Merge". As the name implies this is about merging the current ME and SE/EE executive committees into a unified one.

If you've been following carefully the changes planned for the JCP, the 2-step process turned into a 3-step evolution:
1/ JSR 348, JCP transparency
2/ Merging the two existing Executive Committees
3/ Sorting out the more complicated legal issues

ALT_DESCR

If you're curious about the role of the executive committee members, check out this page on JCP.org. Hint: voting on JSRs is part of it, but there's more. The JSR Review Ballot starts on February 7th.