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

ALRubinger do-not-reply at jboss.com
Wed May 28 14:51:48 EDT 2008


And to go full-circle (though not related to the implementation of this topic), we should also be providing a mechanism to inject MC Beans into EJBs.  This would enable services to remain mere POJOs, wrappable in EJB.

@Stateless
  | public class MyBean{
  |   @InjectMcBeanAnnotation("McBeanName")
  |   private McBean bean;
  | }

S,
ALR

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

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



More information about the jboss-dev-forums mailing list