Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 903245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:50:43+00:00 2026-05-15T15:50:43+00:00

I plan to deploy an EAR packaged application into JBoss v4.2 as a folder

  • 0

I plan to deploy an EAR packaged application into JBoss v4.2 as a folder containing the content of the EAR. Until now the EAR is deployed as a single file. I hope to be able to replace single JARs without the need to restart the application.

Is there any kind of event listener or annotation that can be used to register those JAR files upon deployment? The idea is a plugin like deployment of some features implementing a known interface. The plugins shall be used in a Seam webapp environment and may be exchanged with updated versions on the fly.

Any ideas? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:50:43+00:00Added an answer on May 15, 2026 at 3:50 pm

    AFAIK, this is not possible/supported. When using an exploded EAR, touching an individual module would trigger the hot deployment of the whole EAR.

    From Lightweight Java Web Application Development: Leveraging EJB3, JSF, POJO, and Seam:

    3.4.2. Hot Deployment

    Another JBoss feature that helps agile
    development is exploded archives. The
    EAR, EJB3 JAR and WAR files are not
    necessarily JAR files in the JBoss
    container. They can be directories
    containing the contents of the JAR
    file. For instance, instead of
    deploying the dvdcatalog.ear file as a
    single file, you can deploy it as
    directory.

    With the exploded directories, you can
    make changes to any single JSP page or
    Java class file in the application
    while the server is running. Then you
    can touch the META-INF/application.xml
    file in the exploded directory (i.e.,
    update the file’s timestamp to
    current) to re-deploy the entire EAR
    application. This further saves
    significant amount of time for rapid
    turn-around agile developers.

    What you’re looking for doesn’t sound simple. It would require detecting the change, unloading loaded class definitions coming from that JAR (assuming this information is known), reloading classes (something like that but I’m pretty sure I’m oversimplifying). Maybe more a job for an OSGI server.

    See also

    • JBossClassLoadingUseCases
    • ClassLoadingConfiguration
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Rails application which I now plan to deploy many instances to
I'm trying to deploy a Zend Framework Application on my VPS. My plan was
If I plan to deploy my application to my windows phone 7 and i'm
I plan to make an pretty big application on Facebook. Would it be a
What's the best way to deploy a stateless Java EE 6 application in a
I have an application named HelloWorld installed, yet not deployed. Its state is Installed
I trying to deploy Java EE web application on Geronimo container with Jetty web
now we are going to deploy a new version from our applications, to avoid
I'm looking for a super easy way to deploy django application on windows. Basically
I'm writing a deployment engine for our code. I plan to put a deploy.py

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.