users@glassfish.java.net

Re: Glassfish 3 local ejb lookup problem.

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Sun, 07 Feb 2010 21:32:10 +0100

This article will might help you:
http://blogs.sun.com/kensaks/entry/portable_global_jndi_names

Regards,
Peter

2010-02-07 21:26 keltezéssel, glassfish_at_javadesktop.org írta:
> In glassfish 2 I have an instance where I looked up a local ejb within the same EAR application using its FQ class name.
>
> new InitialContext().lookup("com.acme.beans.LocalInterface")
>
> where LocalInterface is annotated with @Local and I have a LocalBean class which is annotated with @Stateless and implements LocalInterface.
>
> The lookup with the FQ name is giving me a not found exception.
>
> Has something changed onto V3 which is causing this?
>
> Thanks
>
> Chris