This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What is the best way (without shutting down the JBOSS server ) to deploy in production environment. I have been using JBOSS 3.X and i had faced several problems while doing hotdeployment (move the deployment to deploy folder without server restart). Since JBOSS 4.X is available, I want to know whether this has been made easier? or is there any other way of deployment without bringing the server down
If your application is deployed as an archive and not in exploded form then you can delete the existing application from the deploy directory and paste the newer version in that place. This will redeploy the application without having to restart the server.
Until the deployment is completed successfully, all these requests will fail (most likely with 404 errors - No mapping found for url sort of errors). In production environment i believe you would be notifying the users beforehand that the system will be down for some time and during this time you will doing the deployment of your application.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com