As I understand, you are using XML file to store start up configuration
And my assumptions on your interface between Java & Python apps
- You want your Java application to retrieve objects over Python interface
- And process them locally and send it back to Python interface to reload config ?
So, depending on your circumstances, you can workout something with the following
Jython
Pickle (if you have no restriction on startup config file format or can afford to do conversion)
https://pypi.python.org/pypi/Pyro4
Also you can get some ideas from here: Sharing a complex object between Python processes?