my dog learned polymorphism*
The moose likes JSF and the fly likes Migrating from JSF 1.2 to JSF 2.0, rapidly. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Migrating from JSF 1.2 to JSF 2.0, rapidly." Watch "Migrating from JSF 1.2 to JSF 2.0, rapidly." New topic

Migrating from JSF 1.2 to JSF 2.0, rapidly.

Robert Liguori
Ranch Hand

Joined: Nov 27, 2007
Posts: 493

I'm using NetBeans with JSF 1.2...

I goofed, I now need JSF 2.0 features, but my site is pretty well built.

Anyone know of the steps needing to be done for a clean upgrade to 2.0?

That is, what do i need to do to the following: web.xml changes, faces-config.xml changes, jar file inclusions, jar file removals, extra hidden gotchas, etc.


My Blog (I frequently post on Java, JSF and NetBeans)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632

That's something that's easier to do if you're using Maven as a build tool. Yes, there's an obvious need to swap out for newer JSF jars. Faces-config and web.xml shouldn't require any changes.

The exact set of jar differences depends on the brand and version of your server. The latest JBoss and GlassFish servers have the JSF2 implementation jars built into the server. Tomcat doesn't have JSF implementation jars at all, so you'd need to include them in the WAR.

Customer surveys are for companies who didn't pay proper attention to begin with.
neni na

Joined: Mar 03, 2012
Posts: 3
For people who are looking at this thread. Go through this link
I agree. Here's the link:
subject: Migrating from JSF 1.2 to JSF 2.0, rapidly.
Similar Threads
New Article: Constant Constants Consternation
Tomcat 5.5(tried 6.0 as well)-JSTL 1.1 not resolved
WAS 6.1 - Is JSF 1.2 with facelet possible
jsf panelGrid
Problem Using the <f:ajax /> Tag