• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating my app to JSF

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folks.
I am fresh at frameworks like JSF and I have some questions :
I have developed a simple web application based upon MVC , a controller
constructs a bean which in turn gets some data from the database and puts the data in the request scope, then the controller forwards the request to a JSP page which retrieve the data from the scope and prints the values.
I want to use JSF instead of creating my own MVC framework.
but the problem is how can I create the bean then forward the request to the JSP page ?
it seems to me that JSF is only useful for HTML forms that needs navigations rules, right ?
any ideas how to migrate my application to JSF ?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'n don't know how to use JSF, but i have some tutorial of JSF.

It's will help you.

Reference Website
http://www.javaranch.com/newsletter/200404/Journal200404.jsp#a3

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro.html
 
James Holmes
Author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

I've compiled an extensive set of links to information on working JavaServer Faces. You can find everything you will need to get up to speed including articles, presentations, tutorials, and software.

http://www.jamesholmes.com/JavaServerFaces/

Also you may want to peruse the Sun JavaServer Faces Forum. It is the official forum for JSF related questions.

http://forum.java.sun.com/forum.jsp?forum=427

-James
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot.
can I migrate my application to JSF, coz it seems to me that JSF is only deal with forms, correct me if I am wrong.
 
John Carnell
Author
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

If you want my two cents :,) Dave Geary has put out a great book on JSF called "Core JavaServer Faces." Its very well written and has an entire chapter on integrating Struts and JSF.

Thanks,
John
 
John Carnell
Author
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

I did not realize you were the same guy who wrote the Struts: A Complete Reference. I was looking through at Barnes and Noble. Congratulations on the book, I know how much work they are to write .

Thanks,
John
 
James Holmes
Author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks John and congratulations to you too on the new book.

-James
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Carnell:
I did not realize you were the same guy who wrote the Struts: A Complete Reference.

Yeah, we do have a number of authors as regulars here at the 'ranch...
So many, in fact, that we've created a place for them to socialize
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic