[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: OnDemand as an aspect

david.lloyd@jboss.com do-not-reply at jboss.com
Tue May 5 12:17:13 EDT 2009


What's the use case?  My impression was that last time the topic of on-demand beans came up, we didn't want to use them this way because it would cause e.g. the first request which uses the bean to do all the dirty work, which isn't useful for most cases (it only provides the illusion of a quick startup).

To me it makes more sense to restrict our usage of on-demand beans to deployments that are only activated if a user deployment consumes it declaratively (in other words, beans depend on beans; methods do not depend on beans).

Also, and I only speak for myself here, I'm personally really hesitant to invest more into AOP, given that AOP appears to be at least one key source of the performance problems that we have right now.

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

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



More information about the jboss-dev-forums mailing list