This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Upgrade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Upgrade" Watch "Upgrade" New topic


Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125

I was using tomcat 4.x version , so I had to use jsf 1.1 and tomahawk 1.1. But now we have upgraded tomcat to 5.5.17 . So now I wish to use myfaces 1.1.4 and tomahawk 1.1.3. But I have done some of the coding using jsf 1.1. So can I use that even if I use myfaces later version ? Can I use both jsf and myfaces implementation together ? Please clear me.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950

Myfaces is an implementation of JSF. If by "JSF" you mean the JSF Reference Implementation, I can tell you from experience that it will only end in tears as the two implementations fight each other.

However, since MyFaces is a superset implementation of JSF, you can use Myfaces all by itself and it will have everything that the RI for the same JSF version would have in it.

Customer surveys are for companies who didn't pay proper attention to begin with.
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Thanks for the reply.

Now I am using myfaces1.1.4 and tomhawk1.1.3. But since I have done some of code using jsf 1.1.RI , I have to keep jsf-api.jar and jsf-impl.jar in the lib directory. At the moment it works fine.
Would that cause any trouble later ?

I agree. Here's the link:
subject: Upgrade
Similar Threads
JBOSS ERROR - "Both MyFaces and the RI are on your classpath."
File input with input type=file?
Implementation of Tiles with RichFaces
Does MyFaces 1.2 is based on JSF2? and does it integraed with Ajax?
JSF vs MyFaces