Feb 16th, 2008, 12:34 PM
Runtime JVM to JVM - Property Injection
Is there a way to inject a Property value to a Singleton bean instantiated in one JVM from another JVM?
To be more specific, I'm looking for something like this:
- I will have a web application running which uses Springframework
- I will create a property reference which will hold a boolean value to a singleton bean
- Now I want to write a standalone program which can toggle the property on/off whenever I execute it commandline on the same box where my AppServer is running. As I'm intended to modify a singleton bean, I believe it should be possible to set it back to the ApplicationContext.
Seems like I'm asking for too much. But it'll be of huge time saver for me in our application.
Feb 16th, 2008, 01:19 PM
did you check jmx? for me it sounds like this is what you want to use