Hi all, I've tested EJB injection in a remote Client :
public class Client {
@EJB(mappedName="TestBean/remote")
static Test t;
public static void main(String[] args) throws Exception
{
Context ctx = new InitialContext();
t.doSomething();
}
unfortunately "t" is null so injection doesn't happen. Tested with JBoss 5.0.0 GA on JDK 1.6 Any workaround ? thanks john