• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ahmet Tapmaz
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your web server must encourage "hot deploy", google it.You will find a lot
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you jaikaran and tapmaz

love you all
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic