wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Hot Deployment Challenge! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hot Deployment Challenge!" Watch "Hot Deployment Challenge!" New topic
Author

Hot Deployment Challenge!

Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
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."
Ishita Gupta
Greenhorn

Joined: Jan 03, 2003
Posts: 18
Hi Ram,
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.

Thanks,
Ishita
Teja Saab
Rancher

Joined: Mar 08, 2010
Posts: 152
This is the wrong forum for your post. Posting your question in the appropriate forum is likely to get you a response sooner.


SCEA 5, SCJD,SCWCD,SCJP,PMP,IBM-SOA Solution designer,IBM-XML
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11423
    
  85

Agreed. And now moved.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
wood burning stoves
 
subject: Hot Deployment Challenge!