Posts Tagged ‘ XML ’

Simple way to Write to XML using Java

Jul 30th, 2009 | By admin | Category: Java

Often it becomes necessary for application programmer to read from or write to XML pragmatically. There are many different ways to deal with XML using Java programming language. I am going to share one of them. Let me start this post with an use case. While reading through the use case , we should learn how to use Java to write to XML file. Lets Start . . .



Refresh GUI on XML update without restarting Tomcat(Server)

Jul 20th, 2009 | By admin | Category: Servlets

I am writing this post on the basis of my learning on refreshing UI(User interface) without restarting server(Tomcat , in my case) on update of an XML which resides inside the container. Often we follow the design where we write our application configuration into an XML file and read – write the XML based on the requirements.