This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hot deploying EJB on Jboss 4.2

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have an Application. The EJBs are bundled into a jar file and the web application is bundled to a war file and everything is bundled into an EAR file. I noticed whenever i make changes to my web application(Either to the Struts Files or the JSPs) I don't really need to restart my Server. but whenever i make changes to the EJBs i need to restart. I am using ANT by the way to build the Jars,Wars and EAR and also to deploy (copy) the ear to the deploy directory.

is there any settings i need to make to enable Hot deployment for EJB
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to restart the server for the changes to take place. You can just redeploy that single application. Without redeploying the application, it's not possible to change the EJB classes on the fly. See if this helps:

Exploded deployment

Redeploy exploded applications
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic