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 When to use JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "When to use JSF" Watch "When to use JSF" New topic
Author

When to use JSF

Ralph Steven
Greenhorn

Joined: Jan 24, 2013
Posts: 3
As far as I know, it is NOT recommended to use JSF if I am not going to need rich graphics on my website. I want to make sure that this is the case.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

Use JSF for HTML output and web forms.Do NOT use JSF to generate XML and binary formats such as PDF, MS-Office, and image files.

JSF is not greedy. You can use JSF in webapps that create non-HTML output, just route your non-JSF URL requests to something more appropriate than the FacesServlet.


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

Joined: Jan 24, 2013
Posts: 3
Thanks Tim. If I have a very simple web form and simple navigation, should I use JSF or Struts?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When to use JSF
 
Similar Threads
are GWT and JSF competing?
JSP + useBeans + flush all my contents in my page
jsf panelGrid
downloading generated report in JSF
confirm of h:commandLink