[jboss-dev-forums] [Design of POJO Server] - Re: JSR77 View

adrian@jboss.org do-not-reply at jboss.com
Tue Oct 14 11:45:29 EDT 2008


"alesj" wrote : 
  | Otherwise I'll have a go, starting from tomorrow.
  | Trying to mimic the old LocalJBossServerDomain in more generic+MC fashion.
  | 

I wouldn't go for a full rewrite now, that would be a lot more work.

A simpler solution would be to look at
org.jboss.management.j2ee.*
in the management project.

These are basically just mbeans that need to be created along with the
relevant component.

So you could for example have an EJBJSR77Deployer that looks at the
ejb metadata and then either creates the ServiceMetaData for the relevant 
jsr77 mbean(s) or talks to the LocalJBossServerDomain directly.

The same would go for the other types.

See LocalJBossServerDomain which previously worked by listening to
the old deployers and then did a type->factory thing in handleNotification().

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

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



More information about the jboss-dev-forums mailing list