• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

JSF vs. JavaScript

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the advantages of using JSF over JavaScript for developing rich client side web user interfaces?

I know that a very good UI in JavaScript takes the load off the server, but JavaScript is browser dependent (which is scary)...

Is the JSF framework difficult?

Sorry to have posted it here but I couldn't find any other section that would suit my questions more.....
 
Marshal
Posts: 67313
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Web Frameworks forum.
 
author & internet detective
Posts: 39655
785
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unnsse,
The main advantage is that you can control everything on the server. With Javascript, you have have to think about several things:
1) Cross-browser compatibility (as you mentioned)
2) Not all browsers support javascript
3) Users can turn off javascript
4) Hackers can circumvent your validation

With JSF, everything is done on the server and is central to the business model. You can still do some things in javascript to avoid performance issues.

JSF is more than a UI, it is a whole framework. So when the page is submitted, you can go to the database or other things. It isn't any harder to learn than other frameworks. And if you are just doing simple things, you don't need to deal with all the complexity right away.
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!