• 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 deploying EJB on Jboss 4.2

 
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic