users@glassfish.java.net

Re: How to reference a Local EJB from JSF ManagedBean

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Dec 2007 14:44:52 PST

Ok, using eclipse I created a new Dynamic web, ejb, and ear projects moved the EJBs to the ear project and they are now picked up by glassfish. Do EJBs have to live in their own jar files or can they be located in the war's classes directory?

If they have to live in their own jar files are their standard practices for organizing projects? If you have a number of classes that implement a business model do you place them in their own jar and then the business logic in the ejb jars?

I was hoping that for a simple project you could combine this, but if this is not the case then so be it. I am just hoping someone will have a more definitive answer as the books I am reading cover development pretty well, but have nill in the way of deployment information.

Thanks again!
[Message sent by forum member 'chadws' (chadws)]

http://forums.java.net/jive/thread.jspa?messageID=250657