【发布时间】:2017-02-22 09:44:12
【问题描述】:
当我部署我的 EJB 模块(包含会话 bean)时;我在 Glassfish 控制台(在 Netbeans 中)中看到以下输出:
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?
【问题讨论】:
标签: jakarta-ee netbeans glassfish jndi ejb-3.0