| Author |
Question Seam in Action
|
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1291
|
|
Hi Ranchers, How does the Jboss seam work with EJB, JSF and Hibernate.? sharing the picture of the whole idea would be appreciated. Thanks in advance, [ August 05, 2008: Message edited by: Muhammad Saifuddin ]
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
Dan Allen
Author
Ranch Hand
Joined: Mar 05, 2003
Posts: 164
|
|
How does the Jboss seam work with EJB, JSF and Hibernate?
This is a loaded question. I just wrote 550 pages to explain it. Basically, the answer is simple. JSF needs to have objects to call to make the page do something (process a form, have objects to render, etc). Seam connects JSF to whatever backend you need. You can have plain JavaBeans with a @Name annotation or you can Seam-enable an EJB. What Seam does is scope those objects to a lifetime that makes sense for the user-interface. As for Hibernate (and also JPA), Seam helps bootstrap the persistence infrastructure (much like Spring does). Then, most importantly, Seam let's you inject the Hibernate Session or JPA EntityManager so you can use it and scopes it to the conversation so that the persistence context is stretched across requests to avoid LIE. There is tremendous detail on this topic in chapter 8 and 9 (I beat you over the head with it practically).
|
Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1291
|
|
Thanks for your reply Dan, but still have some problem to starting it.. can I expect from you the CRUD options sample application Tutorial on web following with the configuration Jboss with seam, EJB, JSF and Hibernate.. I want to be myself beginner in these Super Frameworks. Thanks. [ August 07, 2008: Message edited by: Muhammad Saifuddin ]
|
 |
Dan Allen
Author
Ranch Hand
Joined: Mar 05, 2003
Posts: 164
|
|
can I expect from you the CRUD options sample application Tutorial on web following with the configuration Jboss with seam, EJB, JSF and Hibernate..
Chapter 2 is completely dedicated to presenting a tutorial that gets you started with a Seam project and setup in your IDE using these technologies. By the end of the chapter, you will be perfectly comfortable setting up a new Seam application in a matter of minutes. From there, you can explore all the integrations Seam has to offer in the comfort of a hot deployable project.
|
 |
 |
|
|
subject: Question Seam in Action
|
|
|