J'ai un ejb stateless qui s'appel UserFacadeBean et son interface UserFacade. Dans mon client (application web) pour le récupérer j'utilise:
ctx.lookup("hello/UserFacadeBean/local"); oû hello et le nom de mon .ear.
Sous jboss ca marche niquel. Mais sous glassfish, il ne me trouve pas cet EJB pourtant il est bien déployer: not found ou not bound.
L'utilisation "<nom-ear>/<nom-ejb>/local" ou /remote, n'est-elle pas standard ?
Partager