|
|
|
|
|
Mojarra 2.0, the production-quality, reference implementation for JSF 2.0 is out! Yet another step closer to v3 final. This will of course be part of GlassFish v3 later this year (with an integration planned as early as this week) but Maven and standalone are two other options to grab the bits. In his blog, Ryan lists a set of very good resources (mainly blog posts) on JSF 2.0. Earlier this year, Ryan authored a series of blogposts which were also very detailed and informative. He covers tools support (yes, it's coming very soon as Cay discusses for NetBeans in his latest blog post) and recognizes the numerous contributors to this major release. |
Note also that while JSF 2.0 is set to be part of Java EE 6, it does not require a servlet 3.0 container. In the case of GlassFish v3.0, web.xml is optional and there is no longer the need to declare the Faces servlet (see Cay's entry on that as well).
Mojarra as an implementation of JSF 2.0 is the first one out but it is also set to be part of a number of coopetitor's. Finally, now is probably a good time to skim throught The Aquarium posts tagged with the jsf2
and mojarra
keywords.
Added The latest release is Mojarra 2.0.1, see Jim's post.
|
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 |
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.
|
More
JSF 2.0
•
Carol has converted the
Pet Store
to
Use JSF 2.0, JavaEE6 and GFv3 preview,
|
|
JSF 2.0 continues to show signs of good adoption in the enterprise world. From IBM's DeveloperWorks, David Geary has posted JSF 2 Fu, Part 3. And, from the other side, Andy Schwartz, Oracle's rep to JSR-314, has now published a very nice and complete What’s New in JSF 2?. |
Other posts on this topic are tagged
JSF2
.
An easy way to play with the technology is to download
GlassFish v3 Preview
and then
Upgrade to the Latest Mojarra.
|
There is a new beta for Mojarra 2.0, the RI of JSF 2.0 (relnotes, news, downloads). Mojarra 2.0 is bundled in GlassFish v3 and the new release of Mojarra is included in recent Promoted Builds; an alternative is to use the Update Center and only update JSF. |
The Update Crenter is accessed through an update tool; either the one bundled in the GlassFish console or the unbundled one. To do that, first ensure that you have http://pkg.glassfish.org/v3/dev as your preferred repository and then check on available updates. You will get a long list; you can then unselect all the components (using (Command-Modifier)-U on my mac) and then select JSF only. Then you just need to install the new packages.
Thanks to Jim for the tip. Ah!, also note that Mojarra can also be used in other containers; install and configure it manually.
Now that JSF 2.0 is Final and is is easily accessible in GFv3 Preview, it is a good time to learn more about it, so here is a set of useful links:
|
•
The
JSR 314 site (EG) has a link to the spec, the votes, etc.
|
Also, all related TA entries are tagged JSF... And, please send us feedback on the spec or the implementation to help us with the Fit and Finish.
JSR 314, JSF 2.0, is Now in Final Vote. To celebrate that, here is a pass through JSF 2.0 news:
|
•
From Ed, the
Slides and Feedback
on his recent
Online Webinar
|
Ryan's latest installement in his JSF 2.0 Preview series shows how to implement
Custom Managed Beans
through the new custom scope view
and the
managed-bean-scope
element in
faces-config.xml
or via the
@CustomScoped
annotation.
The full series is:
PS. The picture is that of the Tuxtla Statuette, which is from the La Mojarra; used here as Mojarra is the project name of the GlassFish JSF implementation.
|
The presenter at tomorrow's webinar is Ted Goddard; he will detail how to write rich interface applications using Ajax and Comet using JSF and ICEfaces and will also describe how these relate to the new JSF 2.0 specification in JavaEE 6. Presentation at 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page. |
|
Last summer Ryan wrote a very nice JSF 2.0 Preview Series but then he got pretty busy; today he came by my office and said he will start posting again. As a first installment, check his note on Implicit Navigation in JSF 2.0; this means that faces-config.xml is not needed in many cases. I think bookmarkable pages is next in Ryan's agenda - that has been a very recent addition to the spec. JavaOne 2009 is around the corner, so we should expect more Java EE 6 activity; the spec is shaping up very nicely... |
BTW, on a somewhat related note, check out Ed's writeup regarding improving transparency on the JSF 2.0 expert group. Baby steps, in the right direction.