• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating from JSF 1.2 to JSF 2.0, rapidly.

 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18153
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
neni na
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For people who are looking at this thread. Go through this link http://stackoverflow.com/questions/4441713/migrating-from-jsf-1-2-to-jsf-2-0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic