my dog learned polymorphism
The moose likes JSF and the fly likes Migration from JSF 1.2 to 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Migration from JSF 1.2 to 2.0" Watch "Migration from JSF 1.2 to 2.0" New topic

Migration from JSF 1.2 to 2.0

Avik Mazunder
Ranch Hand

Joined: Jun 27, 2012
Posts: 39

I have developed a project in JSF 1.2 + Richfaces 3.2.2 + jdk6

Now, I want to migrate it to JSF 2.0 + Richfaces 4 + jdk 7

I am using Eclipse Indigo IDE and jBoss 7.1.1 server. So, I do I begin? After some search I found out that I have to edit faces-config from


and also removed the javax.faces.DEFAULT_SUFFIX from web.xml
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17168

I think I saw a migration guide in the RichFaces 4 docs. Bitter experience tells me that the change to the version ID in faces-config is essential, though.

Your biggest problem is that RF4 is sufficiently different from RF3 that it's on the scale of migrating Visual Basic 6 to Visual Basic.Net. A lot of grunt work.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Migration from JSF 1.2 to 2.0
jQuery in Action, 3rd edition