Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF vs JQuery" Watch "JSF vs JQuery" New topic

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)

E Armitage

Joined: Mar 17, 2012
Posts: 954
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: 16540

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.
I agree. Here's the link:
subject: JSF vs JQuery