在 WAS 7 的管理控制台中,位于 上应用程序 > 应用程序类型 > WebSphere 企业应用程序 > 应用程序 > EJB JNDI 名称 部分,我有一个四列的表:
像这样的东西:
我的 LogWriter bean 的 jndi 名称是什么?
最佳答案
下面你有默认名称的表。每个 bean 都有短而长的形式。您可以使用 ibm-ejb-jar-bnd.xml 文件或在安装期间通过控制台覆盖默认值。在模块启动期间绑定(bind)将在 SysyemOut.log 中可见
您可以在此处阅读有关默认绑定(bind)的信息:
http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/cejb_bindingsejbfp.html
Description Binding pattern
Short form local interfaces and homes ejblocal:<package.qualified.interface>
Short form remote interfaces and homes <package.qualified.interface>
Long form local interfaces and homes ejblocal:<component-id>#<package.qualified.interface>
Long form remote interfaces and homes ejb/<component-id>#<package.qualified.interface>
The component-id defaults to <application-name>/<module-jar-name>/<ejb-name>
关于jakarta-ee - Websphere Application Server 7 (WAS) 中 EJB 的默认 JNDI 名称是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23963988/