hallo everybody...

i met some problems with circular ejb references and already read postings 
like* http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149299,
  | * http://www.jboss.org/index.html?module=bb&op=viewtopic&t=148042
  | * and some others,that explain me what the problem is and how to solve it 
(@IgnoreDependency).

but my problem still occurs, because jaikiran always told us to remove the 
class level @EJB annotation. but if i only use @EJB on field level, than the 
corresponding ejb will always get injected, no matter if i will use it later.
but i would like to declare some references at class level and lookup later 
through local jndi (java:comp/env), just when i really need the corresponding 
ejb.

but i cannot do that without class level annotations, right?
so is there a solution to* ignore class level dependencies or* lazy inject 
field level dependencies?
thanks in advance
robert

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

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

Reply via email to