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
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226321#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...