| Author |
Migrating from JSF 1.2 to JSF 2.0, rapidly.
|
Robert Liguori
Author
Ranch Hand
Joined: Nov 27, 2007
Posts: 426
|
|
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!
|
Robert J. Liguori - OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
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
Greenhorn
Joined: Mar 03, 2012
Posts: 3
|
|
|
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
|
 |
 |
|
|
subject: Migrating from JSF 1.2 to JSF 2.0, rapidly.
|
|
|