• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Migrating my app to JSF

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 93
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 93
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks John and congratulations to you too on the new book.

-James
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic