jQuery in Action, 3rd edition
The moose likes JSF and the fly likes Migrating to JSF 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Migrating to JSF 2.0" Watch "Migrating to JSF 2.0" New topic

Migrating to JSF 2.0

Gary Wolgast

Joined: Aug 13, 2002
Posts: 9
Welcome to the form Ed and Chris. I've been using jsf for 3 years now. My question is how extensively will the topic of migrating from jsf 1.2 to 2.0 be covered? I'm especially interested in how to accomplish this feat using the common IDEs' as will as integration of common add-on frameworks (Rich faces, Tomahawk, Spring, Hibernate).
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
I know I'm not Ed or Chris, but migration to JSF2 really depends on what has been done in the view layer. Were you using JSP or facelets before? If it's facelets the move is really pretty easy. If it was JSP then the move will be harder, especially if there were scriptlets involved. Taglibs will also need to be converted.

The rest, backend logic, custom JSF components, phase listeners, managed beans, valudators, converters, etc should migrate over pretty easily (in many cases without any work).
Ed Burns
Ranch Hand

Joined: Sep 11, 2006
Posts: 82
The book does include some migration content sprinkled throughout but does not have a dedicated section on migration issues. I would like to point out that the Oracle Mojarra release notes https://javaserverfaces.dev.java.net/nonav/rlnotes/2.0.2/migration.html has some very solid content on migration.

Gary Wolgast

Joined: Aug 13, 2002
Posts: 9
Thanks for the info! I'm really looking forward to using JSF 2.0, but I need to be sure all the other tools and extensions I'm currently using will be compatible and not combat-able!
I agree. Here's the link: http://aspose.com/file-tools
subject: Migrating to JSF 2.0
It's not a secret anymore!