GeeCON Prague 2014*
The moose likes JSF and the fly likes JSF vs JQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "JSF vs JQuery" Watch "JSF vs JQuery" New topic
Author

JSF vs JQuery

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
Hi All ,

I am newbie , I want some one to explain to me the main differences/advantages/disadvantages of JSF vs JQuery ?
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

JSF is primarily server side, lots of Java JEE wiring going on

JQuery is primarily client side (Pure JavaScript)

WP
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Also, JSF 2 is now integrated with AJAX so you don't have to add another AJAX framework to it.
JQuery does have lots of useful UI components that JSF2 does not have (like datepickers) but one could use JSF component libraries like richfaces for that.
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
As an aside, the Primefaces component library uses Jquery under the hood..


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16101
    
  21

Mark Reyes wrote:As an aside, the Primefaces component library uses Jquery under the hood..


So does RichFaces.

So, as you can see, JSF and jQuery work quite well together. It's not a JSF versus jQuery, it's JSF plus jQuery!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: JSF vs JQuery