I think there may be some confusion here.
The description from Fran�ois sounds like he is
describing a Message Bean, the third type of EJB, not
an MBean, the JMX manifestation.

//Nicholas

--- Timo Kauppinen <[EMAIL PROTECTED]>
wrote:
> Yes, I know this, but just I'm doing some testing to
> satisfy my
> curiosity..
> 
> So what you say is, that it's impossible to access a
> MBean from an
> EJB? Are they in different JVMs?
> 
> 
> 
> On Wed, 13 Jun 2001, Fran�ois Charoy wrote:
> 
> > Why do you want to access a MBean ?
> > From what I understood, MBean only receive
> messages. They cannot be accessed
> > directly.
> > Your SessionBean should just send a message to the
> queue to which the MBean
> > is registered.
> > The MBean doesn't have business method, Home or
> remote interfaces
> > 
> > Fran�ois
> > 
> > ----- Original Message -----
> > From: "Timo Kauppinen"
> <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 13, 2001 2:23 PM
> > Subject: [JBoss-user] accessing MBeans
> > 
> > 
> > > Hello!
> > >
> > > Is is possible to access a MBean from an EJB? I
> tried to use a MBean that
> > > does some I/O via a SessionBean but out came a
> hefty stack of exceptions
> > > (included). Is this possible or do I have to
> think up something else? Are
> > > EJB's and MBeanServer even in the same JVM in
> JBoss?
> > >
> > > Cheers.
> > >
> > > Timo
> > >
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > 
> > 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (973) 615 9646
[EMAIL PROTECTED]

Laugh your pants off with Lionel at eYada.com.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to