Java Tutorial/EJB3/Session Context
Use Session Context To Lookup EJB
File: AnotherEJB.java
import javax.ejb.Stateless;
@Stateless
public class AnotherEJB implements AnotherEJBLocal {
public void doAnother(){
System.out.println("AnotherEJB");
}
}