This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes differenc e between JSP & JSF TECHNOLOGY Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "differenc e between JSP & JSF TECHNOLOGY" Watch "differenc e between JSP & JSF TECHNOLOGY" New topic
Author

differenc e between JSP & JSF TECHNOLOGY

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
hi
i am new to j2ee technologies
so can any one please tell me the difference between java server pages(JSP)
and java server faces(JSF)


thanks in advanc

cinux


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
Basically jsp is a technology to produce dynamic web content such as asp. JSF is a framework to allow rapid web application development that is built by using jsp tags.


Jeremy Wilson
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
Are JSF tied to JSP technolgy, or can be used with other approaches, like Velocity or Struts? I heard that Velocity provides better flexibility and performance for creation dynamic web content. Does JSF beat it here, or it just provides more sophisticated environment for development?
Is any framework allowing to build JavaScript based dynamic content? I mean that all actual web page rendering happen on client side including partial updates.


Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
- You can think of JSF as "Swing for server-side applications."

- If you have ever programmed in JSP then you will know that JSF provides much of the plumbing that JSP developers have to implement by hand.

- JSF is a framework just like Struts, and other web frameworks.

Its the matter of choice. I feel JSF better then Struts because of its component based architecture, easy to grasp, simple and good. Some people vote for Tapestry over JSF. It depends. Actually I have never touched tapestry, therefore couldn't say for this. But I like JSF better than struts. We have a good server-side validation in JSF, like Struts. We are also using it for client-side validation, with a combination of jakarta.commons.

JSF contains all the necessary code for event handling and component organization. And yes we can fit JSF together with Struts and other frameworks too.
[ May 30, 2005: Message edited by: Adeel Ansari ]
Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 130
Please, refer to the first chapter of book "Core Java Server Faces" written by Cay Horstmann. This is a very good book on JSF, available at following path

http://www.horstmann.com/corejsf/


Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: differenc e between JSP & JSF TECHNOLOGY
 
Similar Threads
introductory question of JSF
JSF or JSP
Question on JSF
JSF a general GUI framework?
difference between JSP and JSF?