Results 1 to 2 of 2

Thread: Runtime JVM to JVM - Property Injection

  1. #1
    Join Date
    Feb 2008
    Location
    India
    Posts
    6

    Default 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. #2
    Join Date
    Nov 2007
    Location
    Munich, Germany
    Posts
    7

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •