aspose file tools
The moose likes JSF and the fly likes I have doubt on jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "I have doubt on jsf" Watch "I have doubt on jsf" New topic
Author

I have doubt on jsf

Venkat Navuri
Greenhorn

Joined: Nov 25, 2010
Posts: 5
Hi friends,
I am new to JSF ,I have doubt on jsf 1.2 ,

what is the difference between facelet and jsf?

what is the need of jstl in jsf1.2?

what is the difference between myfaces,Rcfaces and jsf

Please help me

Thanks in advance
Sridhar Santhanakrishnan
Ranch Hand

Joined: Mar 20, 2007
Posts: 317
From the java EE 6 tutorial

The term Facelets is used to refer to the JavaServerTM Faces View Definition Framework, which is a page declaration language that was developed for use with JavaServer Faces technology. As of JavaServer Faces 2.0, Facelets is a part of JavaServer Faces specification and also the preferred presentation technology for building JavaServer Faces based applications.


Not sure if we really need JSTL with JSF. JSTL, as far as I know, is a standards tage library supporting tasks like iteration, formatting and internationalization. JSF, when used with extensions like PrimeFaces or RichFaces, provides these features through the components themselves.

MyFaces is a JSF implementation from Apache.



Venkat Navuri
Greenhorn

Joined: Nov 25, 2010
Posts: 5
Thanks for your replay .

Will you please send me any more information about this
Ravi Iyer
Ranch Hand

Joined: Oct 24, 2010
Posts: 49
JSF is simply a specification.
RichFaces, MyFaces, Mojarra are different implementations of this specification. They all follow the specs and provide you the implementation libraries - but some like RichFaces - provide additional modules/widgets which may not be portable.


~ Ravi Iyer, SCEA
Steven De Groote
Greenhorn

Joined: Nov 23, 2006
Posts: 16
Hi,

mojarra is Sun's reference implementation of JSF. There is also one from Apache. You will always need one of these, I prefer Mojarra all the time.
Richfaces, rcfaces, icefaces and all these things are libraries that provide extra components to use with your JSF project.

JSTL I think is never needed for JSF, although there may be a lib dependency, but I'm not sure.


Web developer / SCEA / Owner http://www.f1technical.net
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14460
    
    7

For a long and happy life, don't use JSTL tags in JSF Views. Steven isn't alone in suspecting that you might need the JSTL jar, though. Just don't actually use the JSTL tags. Even if you're not using one of the extension tagsets such as RichFaces, PrimeFaces, Tomahawk, etc.

Facelets, on the other hand can be one of your very best friends!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: I have doubt on jsf
 
Similar Threads
doubt
Doubt on taglib?
I have a doubt
Doubt
Doubt on doubt