Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0

 
Phani Chaitanya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Im looking for a way to achieve hot code replacement of xml files. Here im not talking about configuration files like struts-config.xml or web.xml. Im talking about user defined xml files, which i parse using digester. Generally if i make any change to the xml files i have to undeploy it, rebuild using ant tool and redeploy it. Im currently using JBOSS IDE for Eclipse 2.0.

Thanks in advance.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your code check to see if the xml file has been changed, and then reload it? If so, then you can accomplish this using an exploded deployment and simply copying over the file into the apps exploded deployment directory.

If you code does not check if the xml file has been updated, then nothing you do short of redeploying the application will work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic