當我部署我的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