Is it possible to update a jar file in a module without stopping and restarting the server? I'm using JBoss-7.1.1.Final. One of my modules includes code that could possibly change. With the .war files, I can just drop them into the deployments directory and the web server will recognize the change and redeploy the .war file. Can i do the same thing with a .jar file in a module? Can i just replace the .jar file and delete the .index file, or does the server have to be stopped and the restarted?
I think you can add a new module (probably also a new slot) if it's not used. And I guess if all usage of the module is stopped and a GC occurs, they will be cleared out (I don't recall people mentioning explicit unload features in the Java classloader).