File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Flexible application deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Flexible application deployment" Watch "Flexible application deployment" New topic
Author

Flexible application deployment

Manoj Raghuwanshi
Ranch Hand

Joined: Jun 20, 2004
Posts: 75
I want to change a class file from the application that is deployed on j2ee server but don�t want to restart the server. Is there any tool available which can change the deployed class file on the fly without restarting the server?
Srikanth Basa
Ranch Hand

Joined: Jun 06, 2005
Posts: 241
Which server you are using ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Most application servers support hot deployment. Consult your server's documnetation to make sure.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Manoj Raghuwanshi
Ranch Hand

Joined: Jun 20, 2004
Posts: 75
i mean in production without repdeploying the all application, just i want to replace a jar file from web-inf\lib. is it possible any aplication server provide such facility
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Again, most application servers support hot deployment, so consult your application server documentation.

That aside, a production server shouldn't have hot deployment enabled, nor would a change to production code normally be run out via hot deployment: too much scope to mess live data up. An prudent update to an application in production would be done by taking the application down.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Flexible application deployment