Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hot Deployment Challenge!

 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Ishita Gupta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the wrong forum for your post. Posting your question in the appropriate forum is likely to get you a response sooner.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed. And now moved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic