[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: DESCRIBE phase - Dependency builders for MC Beans

jason.greene@jboss.com do-not-reply at jboss.com
Tue May 12 20:48:27 EDT 2009


"alesj" wrote : "jaikiran" wrote : But in the long term, shouldn't we be moving away from this default?
  |   | 
  | No, that's why it's called *transparent* AOP integration. ;-)
  | 
  | You can only argue that the AOP mechanism is not performant enough,
  | but that's as far as I agree with you.
  | Although this comes with a cost, it does bring lots of nice features.
  | They are mostly true in a sense of AOP; aspects, concerns separation, ...
  | @JMX, @JNDI, @Password, @(add-your-own-metadata-here) are good examples of this.
  | And if I was a user, that's what I would want too, out-of-the-box.
  | 

It can be the greatest feature in the world, but if the performance sucks as bad as this does, no one will use it. In general we should avoid expanding our usage of this until we know that the design is even fixable. 

I do agree that supporting various service annotations is useful, and there is even some value in having pluggable behavior. However, building this behavior using arbitrary pointcut expressions in arbitrary locations is beyond overkill. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230635#4230635

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230635



More information about the jboss-dev-forums mailing list