Forums Register Login

Hotswap ejbs possible when using ear files?

+Pie Number of slices to send: Send
I am considering packaging my web app wars and ejb jars together as one ear file. My question is, if I want to hotswap out a single ejb jar and not have to replace all of the other wars and jars, is that possible? Or will I need to overwrite the entire ear effectively hotswapping all of my ejbs and all of my web apps? Thanks for any info.
+Pie Number of slices to send: Send
When you redeploy an EJB that's part of an enterprise application, the whole application will get redeployed in any case. Besides, if you're using Ant (or something similar), it'll be just as easy to replace the .ear file as it would be to replace the .war or .jar file within an exploded application.
+Pie Number of slices to send: Send
In production though - wouldn't this be an unnecessary redploy of web apps and ejbs that were not dependent on the ejb or web app I wanted to redeploy? I am just asking because I want to use an ear but my colleagues believe that this limitation in production makes it a bad way of doing things.
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 779 times.
Similar Threads
client in ejb
referencing ejb at run time in wsad
Hot deploying EJB on Jboss 4.2
maven: the war directory structure
Deploy unders WSAD but not under WAS
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:04:46.