First let me thank you for your help.
I'm still a little confused.
> Create your own mbean that simply invokes methods on the
> EJB through its remote or local interfaces.
I still have to manually register this Mbean however correct? Or will
it be detected and registered automatically on deployment.
> If you want untyped
> invocations call the EJB container mbean.
I understand the nature of dynamic MBeans, and the untyped invocations,
etc. I'm slightly confused though as to how I can add additional
attributes and operations and/or override/inherit other MBean operations.
For example, lets say I have an EJB. I want to manage its RW attribute
widgetType. And be able to invoke operation processWidget.
I would also like to invoke the operation automatically during the
postRegister() method call.
---
public void postRegister(Boolean param1) {
if(param1.booleanValue())
processWidget();
}
---
I can create a Standard MBean and register it with the server. I know
this works, and I have successfully done this. However, I would like to
take advantage of the fact that EJBs are registered and unregistered on
deployment. So I can drop in a new EJB widget, and remove existing EJB
widgets from my Widget Processing Application.
Any suggestions?
Thanks,
Mike
Widgets need automatic processing capabilities on deployment otherwise
the world will end... :-)
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Michael Stanley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 30, 2002 7:24 AM
> Subject: Re: [JBoss-user] MBean interfaces to EJBs
>
>
>
>>>All EJBs are all ready DynamicMBeans. See the org.jboss.ejb.Container
>>
> class.
>
>>I see..
>>
>>How can I (or where should I) override the implementation of some of
>>these methods like preRegister?
>>
>>How should I add more attributes and operations?
>>
>>Mike
>>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
--
<Mike/>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user