It's not a secret anymore!
The moose likes JSF and the fly likes JSF or Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF or Javascript" Watch "JSF or Javascript" New topic

JSF or Javascript

Sulochana Murthy

Joined: Jul 15, 2005
Posts: 2
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 ?

phanindra maddhi

Joined: Apr 23, 2008
Posts: 1
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

Joined: Jun 25, 2001
Posts: 17168

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: JSF or Javascript
It's not a secret anymore!