Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

When to use JSF?  RSS feed

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi authors and ranchers,

Is JSF only useful/make-sense when we have complex "web" user interfaces?

Does JSF also implement View and Controller in MVC framework? in other word, we don't need to use JSP/Servlet at all?

thanks
tony
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is JSF only useful/make-sense when we have complex "web" user interfaces?


Can say that. Because I prefer to fabricate my own mini framework for simple and small applications.


Does JSF also implement View and Controller in MVC framework?


Its doesn't follow the typical MVC architecture as such. It enforce some variations in that. Its a component based framework. All the beans, managed beans, are somewhat bound with the page. It works like a swing component of web.
 
Fintan Conway
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Keith:
Hi authors and ranchers,

Is JSF only useful/make-sense when we have complex "web" user interfaces?

Does JSF also implement View and Controller in MVC framework? in other word, we don't need to use JSP/Servlet at all?

thanks
tony


Hi Tony,

Have a look at Facelets. Facelets do not use JSP/Servlet, instead they create the JSF component tree directly.

Regards,

Fintan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!