Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which version of J2ee should be used for JSF?

 
hanumantha prem
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
hanumantha prem
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Actually my question is which version of servlet and JSP that i should adhere while bulding JSF applications,using JSF of different versions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic