[jboss-user] [JBoss Seam] - Re: Seam POJO application as EAR

pete.muir@jboss.org do-not-reply at jboss.com
Wed Jan 9 19:07:53 EST 2008


"hubaghdadi" wrote : Hi.
  | Is it possible to create a Seam application that employs POJOs (no EJB3 session beans and entities) and packaged as EAR?
  | Thanks.

Yes, of course, don't annotate as EJBs, use hbm.xml rather than JPA, don't register jboss-seam.jar as an ejb module, use hibernate transaction sync. But why?

anonymous wrote : If I want to package my POJO application as EAR, I have to annotate JavaBeans with @Stateless or other annotations (for example) just like EJB beans?

No, of course not.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118462#4118462

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118462



More information about the jboss-user mailing list