users@glassfish.java.net

EJB naming convention in GFv3b51

From: Burak Oguz <burak.oguz_at_gmail.com>
Date: Fri, 19 Jun 2009 16:01:54 +0300

Hi everyone,

We faced a problem with accessing EJBs while migrating from b28
prelude to b51. In JSP pages we were using JNDI names which were
assigned with mappedName property Stateless annotation to lookup from
JNDI context and bind to page variables. We can not access from the
same JNDI name anymore.

For example:

In EJB:

@Singleton(mappedName="RPMCheckService")
public class RPMCheckService {

}

In JSP

RPMCheckService rPMCheckService = (RPMCheckService) new
InitialContext().lookup("RPMCheckService");

This scenario is not applicable anymore.

Any help will be greatly appreciated..

-- Burak