File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Question Seam in Action Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Question Seam in Action" Watch "Question Seam in Action" New topic
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.
 
IntelliJ Java IDE
 
subject: Question Seam in Action
 
Threads others viewed
Spring and JMS integration
Discussions on "Spring Framework Certification"
Seam Forum
seam support
Is struts outdated ?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture