1. To put ejb project jar file under WEB-IBF/lib of the web project
2. specify the relative path of the jar (which again should be inside the web-project itself) inside web.xml
3. Do deploy the jar under
What I want to do is to be able to give the path of the ejb project as classpath (which I have already spcified for the web-project) along with the web-project and when the tomcat is started, the Embedded JBOSS should be able to find and load the EJBs from the files/projects specified in the classpath so that I can achieve hot-deployment completely and any changes I make in ejb projects automatically get reflected without restarting the tomcat.