• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hot Deployment Challenge!

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Agreed. And now moved.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic