On Jan 18, 2007, at 1:23 PM, Karan Malhi wrote:
I would like to see the code for [OPENEJB-428] Hot deploy
Just curious as to how it is done . Could you point me to the
module/class
which contains the code for hot deploy?
Most of the work for that has been centered around these two classes:
http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/
container/openejb-core/src/main/java/org/apache/openejb/assembler/
classic/Assembler.java
http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/
container/openejb-core/src/main/java/org/apache/openejb/alt/config/
ConfigurationFactory.java
Still missing some server bits and bobs though (need to plumb these
in) and the general ability to configure some kind of hot deploy
directory (will do that later).
the basic process is:
AppInfo appInfo = configFactory.configureApplication(File jar);
assembler.createApplication(appInfo);
The "Dynamic Deployer" thread has a lot more background info on how
we got to that point.
-David
On 1/18/07, David Blevins <[EMAIL PROTECTED]> wrote:
Think I can get this all done by tomorrow? :)
[OPENEJB-103] Injection of Resource Manager Connection Factory
References
[OPENEJB-104] Injection of Resource Environment References
[OPENEJB-105] Injection of Message Destination References
[OPENEJB-160] iTest: StatelessBeanSetterInjectionTests
[OPENEJB-161] iTest: StatelessBeanPublicFieldInjectionTests
[OPENEJB-186] iTest: StatefulBeanSetterInjectionTests
[OPENEJB-187] iTest: StatefulBeanPublicFieldInjectionTests
[OPENEJB-428] Hot deploy
[OPENEJB-446] App undeploy
[OPENEJB-447] Ability for remote server to pickup new deployments
as they are added
[OPENEJB-448] Move duplicate app checking into the assembler
[OPENEJB-449] Non-finder based ServerService creation
/me points to the stands
-David
--
Karan Malhi