Hi Guys, All appservers these days do automatic hot deploying of the enterprise applications, i.e jars/wars/ears. I have some application which i am right now developing which need to be hot deployed. The application is like this. I have a servlet running in the appserver(Weblogic 6.0) and it has dependency class files in "hotDeploy.jar" file which is NOT in the classpath of the appserver. What i am doing is loading the classes in the jar using my own class loader from the servlet. I am able to this successfully. But the main problem is this. I have the servlet completely developed and stable. But my "hotDeploy.jar" contents are not stable and they keep changing form time to time as the development goes and as the requeirements changes. So i need to load the latest classes every time i try to use the classes in "hotDeploy.jar". Right now i am not able to do this and every time i make a change in the "hotDeploy.jar" contents, i need to restart the server which is really painful. Does any body has any idea how the hot deploying is done in appservers, so that i can incorporate that feature in to my application. I don't want to use the existing functionality of appservers. I want to code the functionality for myself for my application. You can think as if i am coding an application which does hotdeployment. Guys i want to know if any of you guys have drilled down the code of open source projects like jboss and have any clue where that sort of functionality can be found? thanks,
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
That was really interesting you were trying to do. I am sure you would have got over the problem by now. What I dont understand is why is it that you want to have a custom class loader, which is the cause of the problem you were facing.