|
|
||
Arun Gupta's Blog
«FREE Sun Student Technology Camp - Oct 24, 2008 |
Main
| TOTD #48: Converting a JSF 1.2 application to JSF 2.0 - Facelets and Ajax »
TOTD #47: Getting Started with Mojarra 2.0 nightly on GlassFish v2Posted by arungupta on October 14, 2008 at 05:54 AM | Comments (2)Java Server Faces 2.0 specification (JSR 314, EDR2) and implementation (soon to be EDR2) are brewing. This blog shows how to get started with Mojarra - Sun's implementation of JSF. GlassFish v2 comes bundled with Mojarra 1.2_04 which allows you to deploy a JSF 1.2 application. This blog explains how you can update GlassFish v2 to use Mojarra 2.0 nightly. And then it deploys a simple JSF 1.2-based application on this updated GlassFish instance, there by showing that your existing JSF 1.2 apps will continue to work with Mojarra 2.0-enabled GlassFish. This is an important step because it ensures no regression, unless it was a compatibility fix :)
If only "S" is entered in the city name, then the following output is shown: ![]() Now with "San" ... ![]() And another one with "De" ... ![]() With JSF 2.0, Ajax capabilities and Facelets are now part of the specification and have already been integrated in Mojarra. A follow up blog entry will show how to use that functionality. The downloaded Mojarra bundle has some samples (in "samples" folder) to get you started, have a look at them as well! File JSF related bugs here using "2.0.0 EDR1" version and ask your questions on webtier@glassfish.dev.java.net. Please leave suggestions on other TOTD (Tip Of The Day) that you'd like to see. A complete archive of all tips is available here. Technorati: totd javaserverfaces glassfish mojarra netbeans Bookmark blog post: CommentsComments are listed in date ascending order (oldest first) | Post Comment
| ||
|
|