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.

Comments:

Post a Comment:
Comments are closed for this entry.