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

  • Runtime JVM to JVM - Property Injection

    Hi,

    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.

    Thanks,
    Seshendra Nalla.

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

    Comment

    Working...
    X