当我部署我的EJB模块(包含会话bean)时;我看到在Glassfish的控制台下方的输出(在Netbeans的):了解Glassfish控制台JNDI输出
Info: EJB5181:Portable JNDI names for EJB NewSessionBean: [java:global/EJBModule1/NewSessionBean!com.Hello.NewSessionBeanRemote, java:global/EJBModule1/NewSessionBean]
Info: EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB NewSessionBean: [com.Hello.NewSessionBeanRemote, com.Hello.NewSessionBeanRemote#com.Hello.NewSessionBeanRemote]
我有两个问题:
1) Why does the remote interface have a JNDI reference? I thought it was just the EJB.
2) Why is there a comma, which appears to separate two JNDI references per line?
感谢+1链接。你能够看看我的其他问题在这里:http://stackoverflow.com/questions/40045883/windows-client-and-linux-ubuntu-server? – w0051977