• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF or Javascript

 
Sulochana Murthy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure how to tackle this issue. We have two strong groups out in
the place i work. One believes the JSF standards. The other claims that
JSF creates Javascript so why can not we create our own javascript.

Any opinions ?


Sulochana
 
phanindra maddhi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you start using javaScript your application need to be well-matched with browser but if you start using JSF you don�t have that problem, It is always safe not to depend on browsers in many situation javaScript is disabled to avoid this use JSF
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18281
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF is much more than a client-side mechanism. It makes the job of developing MVC-style web applications much simpler than anything presented for J2EE up to now.

The problem I have with JavaScript is that it tends to be untidy, unstructured, and not object-oriented. And, being executed on the client, often a pain to debug. There are various packages that address that, but nothing that really is an industry standard like JSF is.

My favorite paradigm is JSF tags that generate and/or manage the JavaScript for you. These have been slow in coming, but a number of them are now pretty much ready for prime time. I'm using RichFaces on one of my projects.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic