permaculture playing cards*
The moose likes JSF and the fly likes JSF 1.1  &  1.2 dilemma Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 1.1  &  1.2 dilemma" Watch "JSF 1.1  &  1.2 dilemma" New topic
Author

JSF 1.1 & 1.2 dilemma

Edisandro Bessa
Ranch Hand

Joined: Jan 19, 2006
Posts: 584
Hi guys,

I'd like to hear your opinions regarding which technology to use for a medium JSF application I'm expected to create.

On the left hand, I have JSF 1.1 which I can use in conjunction with Tomahawk components and Tomcat 5.5 which I'm very confortable with.

On the right hand, I have JSF 1.2 which have solved a lot issues regarding JSTL mixed with JSF.

However, I'm not very confortable with Sun Java System App Server 9 configuration, thus I will need some more time to let things working fine.

In addition, I'm not sure whether I can find all the set of components of Tomahawk (which is for JSF 1.1) if I start to use JSF 1.2

Could you please give some light on this ?


"If someone asks you to do something you don't know how to, don't tell I don't know, tell I can learn instead." - Myself
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Well, my advice is to not use JSF at all and then you don't have to worry about all that mumbo jumbo. If you have to use JSF I'd suggest your safest bet is to stick with 1.1 if you are truly concerned about tomahawk components. The app server should be a non issue since Tomcat 6 is supposed to be JEE5 compliant. So I guess it really just boils down to components.


GenRocket - Experts at Building Test Data
a
Greenhorn

Joined: Jun 11, 2007
Posts: 7
Hi,
you could use JSF 1.2 and Tomcat 5.5 with Facelets. You only have to transform your jsp files into xhtml files.

Cu
Alex
Chris Shellenbarger
Greenhorn

Joined: Mar 14, 2006
Posts: 3
Tomahawk works with all JSF 1.1 compatible implementations. The JSF 1.2 reference implementation is backwards compatible with 1.1. Therefore, you can use Tomahawk 1.5 with JSF 1.2. I've been doing this and have not had any problems.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"ShadowTMDG",
Welcome back to the JavaRanch!

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
Originally posted by Gregg Bolinger:
Well, my advice is to not use JSF at all and then you don't have to worry about all that mumbo jumbo. If you have to use JSF I'd suggest your safest bet is to stick with 1.1 if you are truly concerned about tomahawk components. The app server should be a non issue since Tomcat 6 is supposed to be JEE5 compliant. So I guess it really just boils down to components.


Actually, Tomcat isn't JEE5 compliant, it's compatible with the Servlet 2.5 and JSP 2.1 specifications. It doesn't implement all specifications defined by JEE5.

As stated elsewhere, if the components run in 1.1, then they should run in 1.2. I would highly recommend moving to 1.2.
Peter Asirvatham
Greenhorn

Joined: Jun 26, 2007
Posts: 3
Hi Guys,

JSF 1.1 is comfortable with Tomcat 5.5.23 and JBoss 4.0.4GA
JSF 1.2 is comfortable with Tomcat only.

But in Jsf 1.1 having double click issue. you can overcome that by using filters.


Peter<br />SCJP,SCWCD,....<br /> <br />Taste and see that the Lord is good
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
How is JSF 1.2 only usable with Tomcat?

1.2 is used by all of the major EE 5 vendors that are currently certified.

1.2 can be used with Jetty....
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Actually, Tomcat isn't JEE5 compliant, it's compatible with the Servlet 2.5 and JSP 2.1 specifications. It doesn't implement all specifications defined by JEE5.

Do you have a link to this information? I wasn't aware of it.
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
Originally posted by Gregg Bolinger:
Actually, Tomcat isn't JEE5 compliant, it's compatible with the Servlet 2.5 and JSP 2.1 specifications. It doesn't implement all specifications defined by JEE5.

Do you have a link to this information? I wasn't aware of it.


This page [1] shows the list of EE5 certified vendors.

[1] http://java.sun.com/javaee/overview/compatibility.jsp
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Hmm, what's interesting is Tomcat isn't listed on the 1.4 page either. And from the looks of the lists, it would seem they are all Application Servers where as Tomcat is just a container, for lack of a better term.

I'd guess that's where the lack of implemented specification comes in (EJB, JNDI, etc). And if that's the case, I still stand by what I said in the context of JSF since JSF isn't a full JEE stack framework. Is this is safe statement? If so, I'll edit my post.
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
Originally posted by Gregg Bolinger:
Hmm, what's interesting is Tomcat isn't listed on the 1.4 page either. And from the looks of the lists, it would seem they are all Application Servers where as Tomcat is just a container, for lack of a better term.

I'd guess that's where the lack of implemented specification comes in (EJB, JNDI, etc). And if that's the case, I still stand by what I said in the context of JSF since JSF isn't a full JEE stack framework. Is this is safe statement? If so, I'll edit my post.


Well, EE stuff aside, that left your argument with the components. 1.1 components will run in a 1.2 environment (backwards compatibility is important).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF 1.1 & 1.2 dilemma
 
Similar Threads
JSF vs MyFaces
Upgrade
Seam in Action: Can I mix Seam controls with non-seam JSF Controls
cound apache Tomahawk components use with jsf 1.2
Looking for JSF 1.2 Components