• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

Hot deploying EJB on Jboss 4.2

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
Posts: 10445
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
Get out of my mind! Look! A tiny ad!
professionally read, modify and write PDF files from Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!