Sorry for the delay, I think I wasn't clear about what I meant by interceptor based jsr-77 implementation. I don't have a real problem with the existence of a jsr-77 mbean for each jsr-77 object. What I was wondering about was, instead of having jsr-77 specific code in each base object (ejb container, rar deployment, etc etc) could we have a bunch of jsr-77 interceptors, perhaps one for each jsr-77 type, that are added to the mbean interceptor stack of the base mbean object, and create the jsr-77 mbean and provide the info to it. The interceptor could either filter calls directly for statistics or ask the appropriate other interceptor/head object.
Presumably, if you didn't want jsr-77, you could remove the interceptors, and if you did, you'd keep them. Does this seem any more plausible? thanks david jencks On 2002.08.23 22:05:10 -0400 Andreas Schaefer wrote: > Hi David > > > What are the chances of moving to an mbean-interceptor based jsr-77 > > implementation soon? As I understand it Adrian is working on among > other > > things making the mbean stacks configurable and unifying the ejb > container > > stacks with the mbean stack. I'd rather see all the jsr-77 stuff moved > to > > interceptors rather than adding more and more interfaces and behavior > to > > the main objects. > > I don't see this happening. You can't take out performance monitoring > from the main code without a lot of troubles. For example the statistics > on Entity Beans need to list the "read" and the "pooled" count which > can only be obtained within the appropriate interceptor of the Entity > Bean. Also like the "uncertainty theory" of Heisenberg the more time the > monitoring is consuming the less accurate the statistics is and you don't > want that, I guess. That is why I need to add this as close as possible. > > The other thing is the JSR-77 mbeans and the interceptor stack. For > JSR-77 > MBeans interceptors do not make much sense because they are not doing > much. They are just a representation of what the spec. requires and the > link to the target (MBeans etc.). > The inteceptor can help to reduce the number of JSR-77 MBeans to one > by doing what the EJB containers are doing having a list of JSR-77 > instances but one MBean. So the MEJB can map the call to this single > MBean and the interceptor selects the right instance. The downside is > that we lose the unified view through JMX on the manageable objects. > > Have fun - Andy > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
