users@glassfish.java.net

Re: Problem (bug?) using _at_EJB annotation

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Mar 2007 23:43:48 PST

Thanks for your answer. I've reread the spec one more time.
As I understand injection==jndi lookup.
But injection in SLSB happens only once during creation of it and doesn't happen before business method call.
So the only way to solve this issue is to make jndi lookup every time in business method (as I do in my test).
[Message sent by forum member 'hazurek' (hazurek)]

http://forums.java.net/jive/thread.jspa?messageID=209365