I've used delegates for the implementation logic from the EJB classes and created a batch file that re-packages the delegate classes into the .jar file. It takes less than 5 seconds for redeployment, only when I've changed my interface do I redeploy the EJB,  I've also done something similiar on the web side of things minus the delegate bit.  So my deployment looks something like this.
 
ejb MyClassDelegate package-name
5 seconds
web MyClassServlet package-name
2-4 seconds
 
were ejb and web are the names of my batch files.
 
MyClassEJB
...
  public void doSomething()
  {
    delegate.doSomething();
  }
}
-----Original Message-----
From: Gustavo Comba [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 8:34 AM
To: Orion-Interest
Subject: Very Long Deployment Time

Hello,
 
    I'm deploying a little project with a Client Application Module and a EJB Module with several EJB (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release Cantidate to develop/deploy my project.
 
    My project compiles very fast, but when I do the deployment, it take a very long time (about 10 minutes). I'm debugging now, and I'm deploying continously, and it's very anoying!
 
    There is something I can do to accelerate the deployment proccess? Can I copy the .ear file directly into the "applications" directory and start the server again? Help me please!
 
    Thanks in advance,
 
            Gustavo Comba

Reply via email to