Announcement Announcement Module
No announcement yet.
Runtime JVM to JVM - Property Injection Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:
    1. I will have a web application running which uses Springframework
    2. I will create a property reference which will hold a boolean value to a singleton bean
    3. 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.

    Seshendra Nalla.

  • #2
    did you check jmx? for me it sounds like this is what you want to use