users@glassfish.java.net

Re: jndi lookup of local session bean

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Oct 2007 00:30:06 PDT

Thanks for ur reply
THis is what I am trying to do I am goign to have a service locator pattern that will do a lookup for me given a bean name so for remote i can get this working easily but for a local bean
say AUResolver is a local stateless session bean and I want to give the name and lookup
I can do something ike this and get it working fine but my service locator should be generic and given a name i want it to look it up how do I do that..

@EJB(name="fooejbref", beanInterface=FooLocal.class)
[Message sent by forum member 'priyasubu' (priyasubu)]

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