yes I finaly solved it.
in the places I have this problem of mutual dependecny I remove the injection
in one side and use lookup instead.
| @Remote ({YY.class})
| public @Stateless class YYBean implements YY {
| @PostConstruct
| public void PostConstruct() {
| Context c;
| try {
| c = new InitialContext();
| Object reference = (Object)c.lookup("ear/XXX/local");
| XXX xBean = (XXX)PortableRemoteObject.narrow(reference,
XXX.class);
|
| } catch (Exception e) {
| Logger.getLogger(this.getClass()).error("failed to
XXX",e);
| }
|
|
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960714#3960714
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960714
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user