-
-
2. Re: Dynamically Loading Classes......
patrick.joehri May 21, 2003 10:18 AM (in response to balielm)Hi
I can not ensure it for jboss, but it works like this for bea weblogic:
You have to include all classes, jars in the startup path, that are referenced (used) by your dynamical classes. This means you loose all the hot deploying capabilities, but at least you can use your existing classes from your dynamical created or newly delivered ones.
There are some whitepapers around on bea that try to explain which class loaders are whe used (but this is more the problem when you have EJBs trying to access utility/helper classes outside of your EJBs.
Hope it helps.
Regards Patrick -
3. Re: Dynamically Loading Classes......
patrick.joehri May 21, 2003 10:44 AM (in response to balielm)Hi
I can not ensure it for jboss, but it works like this for bea weblogic:
You have to include all classes, jars in the startup path, that are referenced (used) by your dynamical classes. This means you loose all the hot deploying capabilities, but at least you can use your existing classes from your dynamical created or newly delivered ones.
There are some whitepapers around on bea that try to explain which class loaders are whe used (but this is more the problem when you have EJBs trying to access utility/helper classes outside of your EJBs.
Hope it helps.
Regards Patrick