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

nickarls do-not-reply at jboss.com
Tue Jan 8 14:46:25 EST 2008


"hubaghdadi" 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?

Well, if you start with a seam-gen generated WAR you get the build scripts of a WAR. Adding annotations won't automagically turn them into EAR (different build). WAR -> EAR conversion can probably be done later by starting a new EAR based project and do some copy&pasting. An EAR is essentially one or more WAR:s, EJB JARs etc wrapped into a single archive.

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

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



More information about the jboss-user mailing list