This content has been marked as final.
Show 2 replies
-
1. Re: Seam support in non EJB
sebastiendeg.sebastien.degardin.gmail.com Feb 22, 2008 12:35 PM (in response to awestwel)Hi,
1) Can seam run in a non EJB container? Such as tomcat without using the JBoss embedded?Yes, it is possible to use Seam completely outside of an EE environment, section 25.4 of the manual talks about that.
1-a) If so, Is there any features that are lost with running seam outside an EJB container?You loose all the services the EJB container provides.
Seam isn't designed
for
EJB, but has been designed with EJB in mind.Sorrt, i can't answer about developer studio or seam gen !
-
2. Re: Seam support in non EJB
pmuir Feb 26, 2008 12:54 PM (in response to awestwel)
Ashley Westwell wrote on Feb 22, 2008 11:53 AM:
1-a) If so, Is there any features that are lost with running seam outside an EJB container?Different transaction management, no MDBs, less efficient clustering - i.e.
enterprise features
1-b) What are the steps in developer studio or using seam gen to create a project that runs in a tomcat without EJB embedded?
You'll need to modify the project so that it looks like the JPA example. We will document this soon.
2) In developer studio or seam-gen is it possible using the wizard to create a seam project that has no persistence layer? Such as the sample application numberguess?
No, you need to modify the generated project.
3) What file would need to be modified to remove persistence from a seam application after creating a seam web project using the wizard?
Any persistence.xml, and -ds.xml, edit components.xml to remove any references to persistence and transaction management.