Monday Jan 14, 2013

Java EE 7 in Public Review!

Java EE 7 has turned the last lap and is racing towards the finish line! The Java EE 7 JSR itself (JSR 342) very recently published it's official Public Review Draft. The review closes on February 11th so act fast, read the draft spec and send your feedback. The draft is available here. After the review is over, the JSR will go to the EC ballot.

And Java EE 7 is not the only one. As this JSR update from the JCP indicates, the review periods for JMS 2, Java EE Concurrency, WebSocket, JPA 2.1 and JSON-P are still open but will be coming to an end rapidly in the next few weeks.

Wednesday Dec 12, 2012

Adopt a Java EE 7 JSR!

Broad community participation is key to the success of any technology worth it's salt. The Adopt-a-JSR program was launched in recognition of this fact. It is an initiative by some key JUG leaders around the World to encourage JUG members to get involved in a JSR and to evangelize that JSR to their JUG and the wider Java community, in order to increase grass roots participation. There are a number of JUGs that have already jumped in like the Chennai JUG, SouJava, London Java Community, BeJUG, GoJava, Morrocco JUG, Campinas JUG and ItpJava. Note that any developer can participate, there isn't a need to be a JUG leader.

There are a number of Java EE 7 JSRs that could use your help right now including WebSocket, JSON, Caching, Concurrency for EE, JAX-RS2 and JMS2. Find out more here.

Monday Nov 19, 2012

CDI 1.1 Public Review and Feedback

CDI 1.1 is humming along nicely and recently released it's public review draft. Although it's just a point release, CDI 1.1 actually has a lot in it. Some the changes include:

  • The CDI class, which provides programmatic access to CDI facilities from outside a managed bean
  • Ability to veto beans declaratively using @Vetoed
  • Conversations in Servlet requests
  • Application lifecycle events in Java EE
  • Injection of Bean metadata into bean instances
  • Programmatic access to a container provided Producer, InjectionTarget, AnnotatedType
  • Ability to override attributes of a Bean via BeanAttributes
  • Ability to process modules via ProcessModule
  • Ability to wrap the InjectionPoint
  • Honor WEB-INF/classes/META-INF/beans.xml to activate WEB-INF/classes in a bean archive
  • Global ordering and enablement of interceptors and decorators
  • Global selection of alternatives
  • @New deprecated
  • Clarify interceptors and decorators must be implemented using proxying
  • Allow multiple annotated types per Java class
  • Allow Extensions to specify the annotations that they are interested in

The CDI 1.1 expert group has a number of open issues that they would like immediate feedback on. These include critical issues like bean visibility, startup events and restricting CDI scans. Read the details here and let your voice be heard!

Wednesday Jun 13, 2012

JSR 348, 355, and 358: Moving JCP Forward

The three-step JCP evolution consists of the following JSRs:

JSR 348, JCP transparency
JSR 355, Merging the two existing Executive Committees
JSR 358, complex issues moved postponed from JSR 348

ALT_DESCR

The JSR 348 is already completed and JSR 355 is scheduled to be complete later this year. JSR 358 was recently filed and plans to revise several items such as modify the JSPA, Process Document, and a large number of complex issues. Because of the nature and scope of work, the Expert Group consists of representatives from all companies in the Executive Committee.

Following the process set by JSR 348, all the work is done in open at jsr358.java.net. All the email discussions are here and JIRA here.

Read Patrick Curran's blog for more details as well.

The JSR review ballot ends on Jul 9th however the work has already happening for the past few months. Now is your chance to contribute and make JCP more effective!

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.