[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MC tools

flavia.rainone@jboss.com do-not-reply at jboss.com
Wed May 13 16:12:02 EDT 2009


"alesj" wrote : Just yesterday I was thinking of needing nice MC tool(s)
  | to help me with some migration, optimization.
  | 
  | So, the idea is next (all cmd line tools):
  | (1) help migrate -service.xml --> -beans.xml
  |  * single file, ant patterns
  |  * warn on non portable elements (perhaps being able to type in the fix/change
  | 

I'm doing some investigation to implement this tool.

"alesj" wrote : 
  | Both tools should come pretty much in-handy with JBoss6.
  | (1) moving all those mbeans to mc pojos
  | 
Should the migration tool generate a beans.xml file that declares every MBean just as a POJO, without injecting the @JMX annotation?
If yes, how exactly are we dealing with those MBeans? For example, suppose that I use the migration tool to migrate my MBean X to a MC bean. But suppose that another MBean Y, deployed at the MBeanServer, has an attribute that is initialized with the name of old MBean X, and it uses this property internally to look up for X in the MBeanServer. Now that I'm not deploying X as an MBean anymore, Y is hence broken. How do we deal with that?

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

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



More information about the jboss-dev-forums mailing list