File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF and Jakarta Struts 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 "JSF and Jakarta Struts" Watch "JSF and Jakarta Struts" New topic
Author

JSF and Jakarta Struts

Mousa A. Rafi
Greenhorn

Joined: Jan 30, 2005
Posts: 28
Well, I'm new in java web technologies. All I know is JSP is like PHP that can be used to build dynamic pages. But I hear these words JSF and Jakarta Struts a lot these days. So, what exactly are these? Why use them? And what is a servlet? Want to see the big picture.
[ April 26, 2005: Message edited by: Mousa A. Rafi ]
Shay Shmeltzer
Greenhorn

Joined: May 03, 2004
Posts: 23
Struts is a ofently used Controller for JSP applications that makes your application easier to build and control using an M-V-C layer separation approach.
Struts is used in conjuction with JSP to control the flow of the application from page to page and to execute backend code.

Here is a simple example of using Struts in an application:
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/viewlets/reviewer_struts_viewlet_swf.html

JSF is both a controller (like struts) and a better way to build Web UIs using components.
You can read an introduction to JSF and experience a simple tutorial here:
http://otn.oracle.com/jsf

[ April 26, 2005: Message edited by: Shay Shmeltzer ]
[ April 26, 2005: Message edited by: Shay Shmeltzer ]
Mike Slyter
Greenhorn

Joined: May 03, 2005
Posts: 1
I am new to this as well. If you use JSF do you need to worry about trying to implement Struts, or is the general functionality in JSF?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSF and Jakarta Struts
 
Similar Threads
The Place of Struts
can anyone tell me the latest version of struts
Looking for a good struts book
Struts and JSF
John Carnell's Personal Opinion on JSF evolution