Hi,

do you mean something like this?


  | @Stateless
  | public class ABean implements ARemote
  | {
  |   //Access B and C through local interface?
  |   @EJB
  |   private BBean;
  | 
  |   @EJB
  |   private CBean;
  | }
  | 
  | 
  | @Remote
  | public interface ARemote
  | {
  | }
  | 
  | 
  | @Stateless
  | public class BBean implements BLocal
  | {
  | }
  | 
  | 
  | @Local
  | public interface BLocal
  | {
  | }
  | 
  | @Stateless
  | public class CBean implements CLocal
  | {
  | }
  | 
  | 
  | @Local
  | public interface CLocal
  | {
  | }
  | 

If not, please modify my sample. Currently, I don't get your question ;-).

Best regards

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266276
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to