hi all, I found it's impossible to use java client to call the embedded EJB3 service running into tomcat. For the JNDI bind, the properties was difference with Jboss EJB3. It remove the "java.naming.factory.url.pkgs" property and change the "java.naming.factory.initial" as "org.jnp.interfaces.LocalOnlyContextFactory". Following the "LocalOnlyContextFactory" name , I think it means the Embedded EJB3 only can be called in local container(tomcat).
But I am not sure. I didn't find any doc of Embedded EJB3 java client. Hope someone give me a full confirmation.