Sunday Sep 06, 2009

JSR 299 and 330 progress in latest GlassFish v3

Code snippet

As previously reported last month, JavaEE 6 will include JSR330 and JSR299. Roger Kitain already has a simple yet detailed blog entry on using JCDI (JSR 299, ex-WebBeans) in GlassFish. He walks through JSF 2.0 and JSR 299/JSR 330 code. You'll see there @Inject, @Qualifier, @SessionScoped, @ApplicationScoped, all in action.

If you're curious enough to test this sample, I would recommend using NetBeans 6.8 M1 - register a recent GlassFish v3 build (promoted build web 62 for instance), create a Web Application with Java EE 6 as the platform level and copy paste the various pieces. No further settings are required.

Overall, this shows progress since Cay's previous entry on the topic. Other posts on similar topics are marked with the "jsr299" and "jsr330" tags. Keep an eye on Roger's blog for more entries on this topic.

Tuesday Aug 04, 2009

JavaEE 6 Will Include JSR330 and JSR299

ALT DESCR

Java EE 6 will include JSR 330 and JSR 299. Roberto explains the changes:

• JSR-299 will be updated to use the JSR-330 annotations
• JSR-330 has evolved to take into account requirements from JSR-299
• Both JSRs will be part of the Java EE 6 Platform

Thanks to everybody that worked so hard to make these changes; obviously we wished this had happened earlier in the Java EE 6 cycle but the result will be an improved platform. We estimate that the final release of Java EE 6 (and GFv3) will be around November but we should have specific dates next week.

Check out Roberto's Announcement for details.

Wednesday Jul 08, 2009

Cay on WebBeans and JSF, on GlassFish v3 Preview

ALT DESCR

Cay is updating his Core JSF book and is taking WebBeans (JSR299) for a spin. His most recent post writes covers Conversation scope and access to stateful session beans from JSF pages. Cay used GlassFish v3 Preview (after updating to the latest JSF components); except for one example where he had to use JBoss 5.1.0 GA because we have not yet implemented some pieces of WebBeans. (see his comment about startup times :-))

Check out Cay's Note and you may also want to check Pete Muir's Webinar with SlideCast from May 19th.

Friday Jun 12, 2009

JSR 299 Proposed Final Draft Submitted

ALT DESCR

The Proposed Final Draft specification for JSR 299 has been submitted to the JCP. See Gavin's Announcement and Overview and/or download the document.

Still unfolding is the relationship between 299, JavaEE 6 and JSR 330; see the comments at Gavin's post for some ideas, and you can also compare the results and comments between the votes for 299 and for 330. I'll post when there is something public to share.

Tuesday May 26, 2009

WebBeans Webinar - Now Available as SlideCast

ALT DESCR

I have uploaded the recordings from last Monday's Webinar on WebBeans. This includes FLV, MP3 and also SlideCast, which allows you to skip to the sections you are most interested. The broadcast was interrupted and restarted several times; I recombined the recorded segments and it worked fairly well except for a couple of slides at the end.

In the last weeks Bob (@Guice) and Rod (@Spring) have announced a new @Inject JSR; see the links at the Show Page for (plenty of) discussion on the relationship with WebBeans.

Monday May 18, 2009

3 Online Webinars - JSR299, Software Appliances, VirtualBox

We have 3 webinars this week - one in our normal time slot, the other two in new slots to squeeze the topics before JavaOne. The topics are very interesting, I hope you can join us.

ALT DESCR

The first webinar is on Tuesday and is a reschedule: Pete Muir (Red Hat), the implementation lead for Seam and WebBeans will present on JSR 299, born as WebBeans but now tentatively named Context and Dependency Injection for Java. Check out his recent posts on the availability of the First preview of Web Beans, on the State of Seam, and his prezo at JAX.

The presentation is on Tuesday, May 19th, 10am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

ALT DESCR

POSTPONED - This webinar has been postponed until after JavaOne.

The second webinar is in our normal slot when Chris Kampemeier will present on Software Appliances. Chris, Rudolf, Gabor and others have been working on this some GlassFish-based appliances on a Solaris JeOS and will be discussing the topic, but the exact abstract is still TBD.

The presentation is on Thursday, May 21st, 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

ALT DESCR

The third webinar will be by Andy Hall on VirtualBox, the popular type-2 virtualization solution.

The presentation is on Friday, May 22th, 9am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

Saturday Apr 25, 2009

WebBeans/JSR299/JCDI - This week's Webinar

ALT DESCR

This week's webinar is on JSR 299, born as WebBeans but now tentatively named Java Context and Dependency Injection. The webinar will be given by Pete Muir (at Red Hat) who is the implementation lead for Seam and WebBeans; check out his recent posts on the availability of the First preview of Web Beans and on the State of Seam.

The presentation on Thursday, April 30th, 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

Sunday Mar 15, 2009

Seam-Gen Now Supports GlassFish. And First Beta of JSR299

ALT DESCR

Dan had previously made Seam work with GlassFish but he now has woven the changes back (with extra functionality) into the Seam Project. Thanks, Dan! Specially appreciated is the support for RH (JBoss 5/RichFaces) and non-RH technologies (GlassFish Server/ICEfaces).

Also newsworthy is the First Beta of JSR299, with a promised Seam bridge.

Related Webinars and Blog Entries:
Seam, WebBeans and GlassFish, Dan Allen, Nov 20th, 2009.
Short intro to ICEfaces, Ted Goddard, Feb 10th, 2009.
From Ajax Push to JSF 2.0: ICEfaces on GlassFish, Ted Goddard, March 12th, 2009.
• Entries tagged Seam, ICEfaces, JSF.
• Arun's TOTD-77

Tuesday Feb 10, 2009

JSR 299 (nee WebBeans) Public Review is Approved by the JCP

ALT DESCR

The Executive Committee for EE/SE has approved the Public Review for JSR 299 (see JSR 299 - WebBeans is Dead. Long Live Java Contexts and Dependency Injection!).

The vote was 14 YES and 2 ABSTAIN - see Ballot Results. The voters raised a number of concerns but they all recognized the big recent improvements. Good progress!

PS. Bean Validation (JSR 303) was also approved with the same vote but with no significant technical comments. See Ballot Results.

Sunday Jan 25, 2009

JSR 299 - WebBeans is Dead. Long Live Java Contexts and Dependency Injection!

Although I already mentioned the News on Friday I think it deserves its own entry with a more noticeable title.

ALT DESCR

WebBeans is no more; the specification created by the JSR 299 Expert Group (under Gavin King) has been revised substantially and has been renamed to Java Context and Dependenty Injection. Perhaps a less catchy name but, as Gavin indicates, this has been done...

...to better reflect the fact that the focus of 299 is the definition of services that apply to all EE component types, rather than the creation of a new component model

Check out Gavin's announcement for an overview and download the draft from the PRD page. Also check out Roberto's commentary. The PR for 299 ends on Feb 9th, the EC vote is Feb 6th to the 9th.