什么是Websphere Application Server 7(WAS)中EJB的默认JNDI名称? [英] What's the default JNDI name of an EJB in Websphere Application Server 7 (WAS)?

查看:156
本文介绍了什么是Websphere Application Server 7(WAS)中EJB的默认JNDI名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在WAS 7的管理COnsole中,在应用程序>应用程序类型> WebSphere企业应用程序>应用程序> EJB JNDI名称部分中,我有一个包含四列的表:

In the Administration COnsole of WAS 7, on the Applications > Application Types > WebSphere enterprise applications > application > EJB JNDI names section, I have a table with four columns :


  • EJB模块(例如ProjectEJB.jar)

  • EJB(例如BeanBO)

  • URI(例如ProjectEJB.jar,META-INF / ejb-jar.xml

  • 目标资源JNDI名称(带空字段)

  • EJB Module (e.g. ProjectEJB.jar)
  • EJB (e.g. BeanBO )
  • URI (e.g. ProjectEJB.jar, META-INF/ejb-jar.xml
  • Target resource JNDI Name (with empty fields)

这样的事情:

我的LogWriter bean的jndi名称是什么?

What's the jndi name of my LogWriter bean ?

推荐答案

下面你有一个默认名称的表。每个bean都有短形式和长形式。你可以使用ibm-ejb-jar-bnd.xml文件覆盖默认值或者在通过控制台安装时覆盖默认值。在模块启动期间绑定将在SysyemOut.log中可见

Below you have table with default names. Each bean gets short and long form. You can override default using ibm-ejb-jar-bnd.xml file or during installation via console. During module startup bindings will be visible in SysyemOut.log

您可以在此处阅读有关默认绑定的信息:
HTTP:// pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/cejb_bindingsejbfp.html

You can read about default bindings here: 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>

这篇关于什么是Websphere Application Server 7(WAS)中EJB的默认JNDI名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆