Hi,
I'm using EJB3 in my project which I want to run on Tomcat.
The thing is that my project is not a stand
EJB<http://www.coderanch.com/forums/f-11/EJB-JEE>Project what
eclipse <http://www.myeclipseide.com/> provides but rather as a plane
standard folder structure.
What I want to achieve is to avoid a project build evertime to update the
changes as what we have to do in weblogic.
Whatever changes I make should get updated automatically and the changes
should be reflected when I restart the tomcat.
For this, In openejb, we can specify either a jar to deploy or exploded jar
path.
<Deployments jar="D:/ccm_wa/{Project_name}/CommonFacade.jar"/> OR
<Deployments dir="D:/ccm_wa/{Project_name}/facade/classes"/>
The problem is that project sturcture is divided into components and there
are inter dependencies on them.
So when I'll try to deploy a project dir into openejb, it will fail while
loading classes that are in other components.
So for this I added all the jars and classes (exploded jars) in <Deployments
jar or dir. But this fails for the same reason. So I tried to add the jars
in classpath, METAFEST.MF under META-INF and added this to deployment list.
But even this fails as well.
Please guide me as how to resolve this issue. What I want to achieve is
deploy the classes and required jars to avoid re-building and re-deploying
the project.
I'm using only stateless session beans (ejb2 and ejb3) and message driven
beans (ejb3).
Looking forward to your reply.
Thanks in advance.
Yogesh