File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Which version of J2ee should be used for JSF? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Which version of J2ee should be used for JSF?" Watch "Which version of J2ee should be used for JSF?" New topic
Author

Which version of J2ee should be used for JSF?

hanumantha prem
Greenhorn

Joined: May 20, 2009
Posts: 13
I am in a confusion.I have no idea about which version of servlets should be used while developing my JSF applications.
For ex for JSF 1.0 which version of J2EE should be used,for JSF 1.1 which version should be used etc,etc.can you please clarify?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

JSF runs in a Servlet engine, so you dont' actually need J2EE to develop a JSF application at all. So, in fact, J2EE isn't even required for a JSF application.

-Cameron McKenzie
Lalit Bhatt
Ranch Hand

Joined: Dec 27, 2007
Posts: 69

JSF implementation uses servlet. A better way is to use one of the implementation of JSF like myfaces.

If you are using JavaEE 5 supported server there is no need to bring any third party library. These servers supports JSF automatically. For example JBoss 5.0

Use JSF1.2 as it is stable and mature. You can see a JSF tutorial here

Java-JavaEE Hibernate Spring Software Development Business Process Analysis
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16308
    
  22

Cameron Wallace McKenzie wrote:JSF runs in a Servlet engine, so you dont' actually need J2EE to develop a JSF application at all. So, in fact, J2EE isn't even required for a JSF application.

-Cameron McKenzie


I think you're using the term "J2EE" to refer to a J2EE application container/server. The question sounds more like what version of the J2EE spec to use. The difference is that Tomcat wouldn't qualify as "J2EE" under the first meaning, but it very definitely implements parts of the J2EE spec - just not the full stack.

Speaking of Tomcat, I recommend Tomcat6 for JSF, since it includes EL support at the container level, which Tomcat5 did not. One less jar to worry about. Tomcat6 implements JSP 2.1 and Servlet 2.5, which is sufficient to run JSF 1.2.


Customer surveys are for companies who didn't pay proper attention to begin with.
hanumantha prem
Greenhorn

Joined: May 20, 2009
Posts: 13
Hi,
Actually my question is which version of servlet and JSP that i should adhere while bulding JSF applications,using JSF of different versions.
 
wood burning stoves
 
subject: Which version of J2ee should be used for JSF?