If we make a change in an XML file, we need not do any recompilation obviously and that's why we use XML files but we do have to restart the server right? Is there any way we don't have to even restart the server?
[ October 20, 2008: Message edited by: Arjun Reddy ]
Originally posted by Vinod K Singh:
You can make a mechanism in your application to keep on looking for changes in the XML file and reload it when it changes. Or create a simple servlet/jsp to notify about the changes in XML to reload that instead of keep on looking for changes.
You cannot reload the deployment descriptor or other config files under code control.
Originally posted by Arjun Reddy:
Can we use tools like Cruise Control so that we can make changes in the XML file but need not restart the server?
Depends. There are other major reasons for why should you need a cruise control. Questions pertaining to it would go there.
[ October 21, 2008: Message edited by: Akhilesh Trivedi ]