"refs-ejb3-ejblink.ear-EjbLink1Bean-metrics-instance"
"refs-ejb3-ejblink.ear-EjbLink1Bean-metrics-invocation"
A dash doesn't seem like the best choice as a delimiter here, since dashes will
commonly be found in the ear filename and may even be found in the ejb name. It makes the
component name difficult to parse or query on. I suggest using '|' or '/'
as the delimiter instead, e.g.:
"refs-ejb3-ejblink.ear/EjbLink1Bean/metrics-instance"
This allows me to easily parse out the three tokens that comprise the name.
As for the last portion of the name, this seems redundant to be included in every name.
Why not make it part of the component type name instead, e.g.:
name: refs-ejb3-ejblink.ear/EjbLink1Bean
type: EJB3:SLSB-instance
Even better, why can't the instance and invocation metrics all be exposed by the same
component type, so there would be a single component per EJB?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236851#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...