> and when I debug, the program never goes after
> props.put(Context.PROVIDER_URL, "localhost:1099");
you do not configure the context via properties (that has been done at server startup).
try a simple
TestHome testHome = (new InitialContext()).lookup("ejb/Test");
thanks for all this help
It seems that everything work now. I hope Jboss will pass the test of my company. It could replace Weblogic:)