0 Replies Latest reply on Nov 16, 2006 3:47 PM by Alexander Sack

    Stateless session bean basics

    Alexander Sack Novice

      If I have two stateless session beans, A and B, in one jar deployed within an EAR (only module of the EAR). I have the local interfaces of A and B part of the JAR and in the same package as the stateless session beans.

      When I try to inject B into A via @EJB3, it seems that the classloader can't find the interface file and barfs (then during runtime it tries to remote). I'm using JBoss 4.0.4.GA EJB3.

      What's going on here? Does the local interface have to be outside the package? Why?

      Thanks!