Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to use JSF

 
Ralph Steven
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17624
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ralph Steven
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic