File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Hot deploying EJB on Jboss 4.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Hot deploying EJB on Jboss 4.2" Watch "Hot deploying EJB on Jboss 4.2" New topic

Hot deploying EJB on Jboss 4.2

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
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

Joined: Jul 20, 2005
Posts: 10441

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

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Hot deploying EJB on Jboss 4.2
It's not a secret anymore!