[jboss-dev-forums] [Design of EJB 3.0] - Re: Feature: MC Equivalent of @Service

ALRubinger do-not-reply at jboss.com
Wed May 28 05:16:11 EDT 2008


I'd like to focus on what we can get for free within EJB3.

Ales mentions a lot of MC-provided functionality for installing the EJB Implementation Class and adding onto it.  I'm more thinking in terms of:

* New EJB Type (new Container), building upon either SessionContainer or StatelessContainer
* Install a Proxy to the EJB in MC, instead of in JNDI
* Add deployment-level Lifecycle Callbacks

So maybe the following:

@Stateless
  | @MC(name="MyBean")
  | public class MyMcBean implements MyMcLocalBusiness{...}

...is what this looks like, making a SLSB, installing the proxy into MC at "MyBean", and hooking the callbacks into MC's lifecycle mechanism.

S,
ALR

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

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



More information about the jboss-dev-forums mailing list