Isn't the trick to load the classes with a classloader that does not require you to reload the entire webapp? This is a combination question and statement. I am interested in this issue and want to find a way to load classes in a webapp which will be workable. I am thinking of the stuff that has been discussed in books on container programming in Java.


At 10:15 PM 5/1/2004, Craig R. McClanahan wrote:
Inamdar, Anil - Cons wrote:

Hello,
Is there a way to reload Actions in Weblogic without redeploying the web
application.
No. Java provides no way to replace a class (loaded by a particular class loader) with a modified version, without throwing away the entire class loader. That's what normally happens when you reload a webapp.

I have the servlet reloading enabled , but weblogic doesnt seem to recognize
the changes to the Action classes and throws a ClassCastException.
So every small change I make, I have to redeploy the Web app which makes the
whole development process slow.
I don't know about Weblogic, but Sun's app servers (and Tomcat) have "reload" options that are *much* faster than the undeploy/redeploy cycle it sounds like you are using. Check the docs.

thanks
Anil

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to