Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14073

Re: Registering MBeans in a central MBeanServer

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Registering MBeans in a central MBeanServer
References <jn8up9$122$1@news.albasani.net> <jnm66f$4b3$1@news.albasani.net>
Message-ID <rGRnr.6310$tH5.5376@newsfe11.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2012-05-01 10:37 -0300

Show all headers | View raw


On 12-04-30 11:05 AM, Sebastian wrote:
> Am 25.04.2012 15:38, schrieb Sebastian:
>> Hello there,
>>
>> I'd like to register MBeans that are local to several applications -
>> each running in their own JVM - in a central MBeanServer. An operation
>> invocation on that registered bean (e. g. using a jconsole connected to
>> the central server) should result in a remote callback (probably via
>> RMI) to the local bean, which would be registered in its platform
>> MBeanServer.
>>
>> In other words, instead of creating a local bean on the central server,
>> I'd like to create a remote proxy to my application-local bean and
>> register that
> [snip]
> 
> I ascribe the lack of response to my not actually having asked a
> question. Meanwhile, I have implemented something, which has a
> surprising behavior. I'll describe the code in some detail below (and
> ask a question about it, too).
[ SNIP ]

Well, no, I saw a question in the first post. :-) I use JMX a lot and so
it was an interesting problem.

I verified that there are commercial offerings that do this: e.g. Oracle
Coherence.

I'm also thinking that Open DMK with its Cascading (see
http://docs.oracle.com/cd/E19698-01/816-7607/components-35/index.html)
does what you want.

I'll play with your code snippets some, it's interesting stuff.

AHS
-- 
A fly was very close to being called a "land," cause that's what they do
half the time.
-- Mitch Hedberg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Registering MBeans in a central MBeanServer Sebastian <sebastian@undisclosed.invalid> - 2012-04-25 15:38 +0200
  Re: Registering MBeans in a central MBeanServer Sebastian <sebastian@undisclosed.invalid> - 2012-04-30 16:05 +0200
    Re: Registering MBeans in a central MBeanServer Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-05-01 10:37 -0300
  Re: Registering MBeans in a central MBeanServer ratornado@gmail.com - 2012-07-05 04:17 -0700

csiph-web