This content has been marked as final.
Show 3 replies
-
1. Re: Seam Mail - in an .EAR
pmuir Feb 9, 2007 2:51 PM (in response to bsmithjj)The examples/mail example builds as an (EJB3) ear. To keep things simple it just uses JavaBeans as Seam components.
You should have no problem calling a template that is located in the war from a SLSB/SFSB in the ejb3 jar. In fact, you can put the template off the root of the war or the ear as you like. I haven't tested it in the ejb3 jar, but will do so now :) -
2. Re: Seam Mail - in an .EAR
pmuir Feb 9, 2007 3:01 PM (in response to bsmithjj)Yeah, looks like you can reference it off the root of the ear, the war or the ejb3 jar (i.e. Renderer.instance().render("/foo.xhtml"); would check for war/foo.xhtml, ear/foo.xhtml, ejb-jar/foo.xhtml)
-
3. Re: Seam Mail - in an .EAR
bsmithjj Feb 9, 2007 4:17 PM (in response to bsmithjj)awesome! I will try it out.
Thanks!
Brad Smith