aspose file tools*
The moose likes JBoss/WildFly and the fly likes Can we change content of jar file while it is running on JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Can we change content of jar file while it is running on JBoss?" Watch "Can we change content of jar file while it is running on JBoss?" New topic
Author

Can we change content of jar file while it is running on JBoss?

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
I have deployed Jar file in Jboss includes Servlets jsp beans etc.

Can i change the deployed jar files and put entries in xml and add classes
without stopping or redeploying the jar?

I hope you got the question, again i am asking it

can we change content of deployed and running jar file (liek changing xml entries or adding new class, without touching existing), so that we do not have to stop or redeploy the jar?

Hope for best researched answers
Thank you


Regards
Azrael Noor
Ahmet Tapmaz
Greenhorn

Joined: Mar 02, 2011
Posts: 4
your web server must encourage "hot deploy", google it.You will find a lot
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10285
    
169

Azrael Noor wrote:

can we change content of deployed and running jar file (liek changing xml entries or adding new class, without touching existing), so that we do not have to stop or redeploy the jar?



If you are changing any class files or xmls, then the application will have to be redeployed. If it's files like .xhtml or .jsp and if you have deployed as an exploded deployment, then you don't need to redeploy the app.

[My Blog] [JavaRanch Journal]
Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
thank you jaikaran and tapmaz

love you all
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we change content of jar file while it is running on JBoss?