Juha,

Using a set of properties to identify an object just seems werid to me.  WHY 
did the JMX spec do this???  Why not just use a unique string to identify an 
object???  Yes, I see one reasone, so you can do querys and lookup objects 
based on properties, buy you could still do that without making the 
properties part of the identifier.

Do you know what I mean??

Regards,
Hiram

>From: Juha-P Lindfors <[EMAIL PROTECTED]>
>To: marc fleury <[EMAIL PROTECTED]>
>CC: "Jboss-Development@Lists. Sourceforge. Net" 
><[EMAIL PROTECTED]>
>Subject: Re: [JBoss-dev] Why is new ObjectName() so slow?
>Date: Sun, 28 Apr 2002 21:39:26 +0300 (EET DST)
>
>
>because an object name contains a set of properties that need to be
>parsed and may also be a pattern which needs to be determined
>
>the current implementation does this eagerly at object name creation
>time
>
>-- Juha
>
>
>On Sun, 28 Apr 2002, marc fleury wrote:
>
> > ok,
> >
> > I know I asked already and I can't remember the reason why creating an
> > ObjectName should be SOOOO slow.  Can one of the JMX gurus enlighten me 
>and
> > explain the reason.
> >
> > (yes again sorry)
> >
> > last I remembered the new ObjectName would take half the time of the
> > invocation (!).
> >
> > If that is still the case then it is going to invalidate a lot of the
> > thinking around the ObjectName MBean client proxy stuff which is quite
> > powerful.  But it is software and software is fixable so I can't imagine
> > that there is a real life reason for this to be so slow.
> >
> > marcf
> >
> > xxxxxxxxxxxxxxxxx
> > Marc Fleury, Ph.D
> > President
> > JBoss Group, LLC
> > xxxxxxxxxxxxxxxxx
> >
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>--
>Juha Lindfors
>Author of "JMX: Managing J2EE with Java Management Extensions"
>Senior Developer, JBoss Group LLC
>
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to