单词 | JNDI | ||||||||
释义 | JNDI
更多释义 收起释义 例句释义: 命名技术 1. When specifying search parameters, however, it is a JNDI requirement that you specify the uid value as if it were an attribute value. 但在指定搜索参数时,JNDI要求指定uid值,就像它是属性一样。 www.ibm.com 2. As you could probably have guessed, the best solution is to use JNDI resolution. 正如您可能已经猜到的那样,最好的解决方案是用JNDI解析。 www.ibm.com 3. I really only need one indicator, be it a JNDI name or an annotation, to let me know if it is local or remote. 我确实只需要一个指示器,可以是JNDI名称或者注释,就可以知道该接口是本地接口还是远程接口。 www.ibm.com 4. Every connection factory or destination used in the sample application must be registered in a JNDI directory with a unique name. 在示例应用程序中使用的每个连接工厂或目的地必须使用唯一名称在JNDI目录中注册。 www.ibm.com 5. The example utilizes a queue and a topic on the queue manager, using the JNDI bindings to switch back and forth between them. 示例利用队列管理器上的队列和主题,并使用JNDI绑定在它们之间来回切换。 www.ibm.com 6. Administered objects are not dependent on JNDI, but it is implicit that they can be bound to and looked up in a JNDI namespace. 受管的对象并不依赖于JNDI,但暗示它们可以绑定到JNDI名称空间并可以在其中查询它们。 www.ibm.com 7. This method could be altered to set up any JMS provider or to use JNDI to retrieve the Administered Objects. 但是可以修改这个方法用来配置任何JMS提供者,或者使用JNDI来检索受管理对象。 www-128.ibm.com 8. JMS topics are defined with a name, a JNDI name, and a topic name, where the topic name is for the structure defined in the topic space. 使用一个名称、一个JNDI名称和一个主题名称对JMS主题进行定义,其中,结构的主题名称在主题空间中定义。 www-128.ibm.com 9. The changes become effective only when the object is looked up in JNDI, which typically occurs once, when the program initializes. 仅当在JNDI中查找对象时更改才有效,这通常在程序初始化时才出现一次。 www.ibm.com 10. With these optional configuration parameters, up to five JNDI parameters can be specified as name-value pairs. 使用这些可选的配置参数,最多可以作为名称-值对指定五个JNDI参数。 www.ibm.com 1. By default, ADS does not support the Java schema, and will display the error Unable to bind object if you try to add the JNDI objects. 默认情况下,ADS不支持Java模式,并且在您试图添加JNDI对象时将显示无法绑定对象的错误。 www.ibm.com 2. A simple example is that of an LDAP search request being mapped to a JNDI search operation. 简单的示例就是映射到JNDI搜索请求的LDAP搜索请求。 www.ibm.com 3. The JNDI name must later be bound to JNDI names used by EJB and Web modules to look up the connection factory. 稍后必须将这里的JNDI名绑定到EJB和Web模块所使用的JNDI名,以查找连接工厂。 www.ibm.com 4. If the JNDI names are not right, then the client application will not be able to locate the JMS destinations. 如果JNDI名称不正确,则客户机应用程序将无法定位JMS目的地。 www.ibm.com 5. If the JNDI names are not right, then the application will not be able to locate the connection factories. 如果JNDI名称不正确,则应用程序将无法定位连接工厂。 www.ibm.com 6. For the activation specifications, you also need to specify a destination type and a destination JNDI name, as shown in Figure 13. 对于激活规范,您还需要指定目的地类型和目的地JNDI名称,如图13所示。 www.ibm.com 7. If you receive errors about JNDI names not being found, you've probably set one of these elements incorrectly. 如果收到找不到JNDI名称的错误消息,则可能错误设置了其中一个元素。 www.ibm.com 8. The Service Locator pattern is still useful for encapsulating the code that uses JNDI, even if the locator does not use caching. ServiceLocator模式对封装使用JNDI的代码仍然有用,即使定位器不使用缓存。 www.ibm.com 9. Using this naming context will not tie up a bean with the JNDI name of a resource that is known only at the time of deployment. 使用这个命名上下文将不会把bean与只在部署时才知道的资源的JNDI名密切联系在一起。 www-128.ibm.com 10. The next step is to call these EJBs using JNDI to access the database. 下一步是调用这些使用JNDI的EJB来访问数据库。 www.ibm.com 1. Note how the JNDI names tie up with the datasource names you created when you were planning the database. 请注意JNDI名称是如何同您设计数据库时创建的数据源名称相关联的。 www.ibm.com 2. Scroll down to the WebSphere Bindings section and enter the correct JNDI name for that resource (found in the WebLogic config. xml file). 向下滚动到WebSphereBindings部分,为资源(在WebLogicconfig.xml文件中找到的)键入正确的JNDI名称。 www.ibm.com 3. You have now completed the JNDI resource configuration and are ready to deploy and test your applications. 现在,您已经完成了JNDI资源配置,您可以部署和测试您的应用程序了。 www.ibm.com 4. In this case, you need a new client-side JNDI implementation capable of working with your new directory server. 在这种情况下,需要一个能够操作新目录服务器的新的客户端JNDI实现。 www.ibm.com 5. Besides opening a communication channel, this link allows you to map your enterprise application's datasource JNDI names. 除了打开一个通信信道之外,该链接还允许您映射企业应用程序的数据源JNDI名称。 www.ibm.com 6. The listener port has to be configured with the JNDI names of connection factory and the WebSphere MQ JMS destination as shown in Figure 3. 侦听器端口已被配置,含有连接工厂JNDI名和WebSphereMQJMS目的地JNDI名,如图3所示。 www.ibm.com 7. In a lot of situations, you might need to browse the JNDI name tree, either to understand applications or debug application problems. 在许多情况下,您可能需要浏览JNDI名称树,以了解应用程序或调试应用程序的问题。 www.ibm.com 8. The code in this class first does a JNDI lookup to see if it can get an instance of the service. 此类中的代码首先进行JNDI查询,以确定是否可以获得服务的实例。 www.ibm.com 9. The nodes can reuse any existing JNDI repositories and administered objects that are already set up for the existing JMS network. 这些节点可以重用任何现有的JNDI储存库和已为现有的JMS网络建立的管理对象。 www.ibm.com 10. Use the first form to access a datasource associated with a JNDI name, by providing that name as the value of the dataSource attribute. 通过提供JNDI名作为dataSource属性值,您可以使用第一种格式来接入与JNDI名相关的datasource。 www.ibm.com 1. JNDI is a Java standard that allows you to abstract the actual name of the JMS queue, topic, or even host name. JNDI是一个Java标准,它允许你抽象JMS队列名、主题名、甚至是主机名的实际名称。 www.infoq.com 2. Client code should call JNDI, and JNDI forwards to the applicable service underneath through a provider implementation. 客户机代码调用JNDI,JNDI在底层通过提供程序实现转发到可用的服务。 www.ibm.com 3. The portlet can retrieve such a service through a standard JDNI lookup. Portlet可以通过标准JNDI查找来检索这样的服务。 www.ibm.com 4. How the Home is retrieved from the JNDI context (the name used to find it and whether a narrow or cast is needed)? 如何从JNDI上下文检索Home接口(查找所用的名称以及是否需要进行收缩转换或类型转换)? www.ibm.com 5. This contains properties like the driver name, jndi name, username, password, datatype, and the url. 该资源包含驱动程序名、jndi名称、用户名、密码、数据类型和url等属性。 www.ibm.com 6. Typically, the only parts that needs changing are the JNDI references for the JTA and non-JTA datasources. 通常需要更改的惟一部分是对JTA和非JTA数据源的JNDI引用。 www.ibm.com 7. Emitter instances are generated by an emitter factory, which in turn is obtained from JNDI. 发射器实例由发射器工厂生成,而发射器工厂又是从JNDI获得的。 www.ibm.com 8. While JNDI can be used to bind any kind of object to a name, J2EE primarily uses JNDI to provide access to resources. 既然JNDI可以被用来将任何类型的对象绑定到一个名称,J2EE就主要适用JNDI来提供对资源的访问。 www.ibm.com 9. Click on the Details tab to see the editable drop down box for the plug-in configuration JNDI name. 单击Details选项卡可以看到插件配置JNDI名的可编辑下拉框。 www.ibm.com 10. Also, the JNDI context provides a related aspect of loose coupling that should not be overlooked: implementation independence. 另外,JNDI上下文提供了一个不容忽视的松耦合相关方面:实现独立性。 www.ibm.com 1. For node-level deployment with a module having a JNDI reference to the activation specification, create it from the Admin Console. 对于节点级部署并且模块拥有激活规范的JNDI参考,从AdminConsole开始部署。 www.ibm.com 2. All OSGi services are automatically registered in JNDI and can be accessed in a manner familiar to Java EE components. 所有OSGi服务都自动在JNDI中注册,并可以以访问JavaEE组件的熟悉方式访问。 www.ibm.com 3. Ensure that the JNDI name for the session bean will be the same name you will later use when doing up a lookup of the home interface. 确保会话bean的JNDI名称与您后面查找主接口时将使用的名称一致。 www.ibm.com 4. There are a few ways you can map the local-jndi-name element to WebSphere Application Server that are either unsupported or impractical. 一些能够将local-jndi-name元素映射到WebSphereApplicationServer的方法是不受支持或者不实用的。 www.ibm.com 5. The set of interfaces in JNDI provides an abstraction of a directory service. JNDI中的接口集提供了目录服务的抽象。 www.ibm.com 6. Because JNDI lookups are expensive operations, the reference to the BC is looked up once, then stored for the rest of the session. 由于JNDI查找属于开销较大的操作,因此对BC的引用只执行一次查找,然后将其存储起来以供会话的其余部分使用。 www.ibm.com 7. You do not need to manually assign JNDI binding names for each of the interfaces or EJB homes on your enterprise beans in EJB 3. 0 modules. 您不需要为EJB3.0模块中的企业Bean上的每个接口或EJB主接口手动分配JNDI绑定名。 www.ibm.com 8. As you can see, name space binding is a flexible way to specify the JNDI name, independent of the deployment topology. 正如您所看到的,命名空间绑定是一种指定JNDI名称的灵活方式,独立于部署的拓扑结构。 www.ibm.com 9. Define this new connection factory by specifying the name of the factory and the JNDI name for the factory, as Figure 8 shows. 通过指定工厂的名称,和该工厂的JNDI名称来定义新的连接工厂,如图8所示。 www.ibm.com 10. This name is the local JNDI name being looked up in your bean code. 该名称是在您的Bean代码中查找的本地JNDI名称。 www.ibm.com 1. A typical configuration is a container environment for a JTA transaction with three JNDI-registered data sources. 一个具有3个JNDI注册的数据资源的JTA事务的容器环境是一种典型的配置。 www.ibm.com 2. The JNDI name for the filter factory must correspond to the JNDI name of a Filter Factory Profile resource. 过滤器工厂的JNDI名称一定要与过滤器工厂概要资源的JNDI名称一致。 www.ibm.com 3. We will briefly review how JNDI works here, primarily to understand the parts that affect the Service Locator pattern. 我们将主要回顾JNDI是如何工作的,首先要弄清楚影响ServiceLocator模式的部分。 www.ibm.com 4. As typical with all application servers, the JNDI context factories for Community Edition and WebSphere Application Server are different. 一般情况下,对于所有的应用程序服务器,CommunityEdition和WebSphereApplicationServer的JNDI上下文工厂是不同的。 www-128.ibm.com 5. If switching vendors is a possibility in your environment, you may consider using JNDI to help abstract the details. 如果您的环境有可能切换到不同的供应商,您可以考虑使用JNDI来帮助抽象细节。 www.infoq.com 6. In Figure 2, you can see that the client application container provides a reference resolution and mapping layer with JNDI. 在图2中可以看到,客户机应用程序容器提供了带有JNDI的引用解析和映射层。 www.ibm.com 7. As I noted previously (and shown in Figure 1), a J2EE container can use the directory services of ApacheDS through its JNDI wrapper. 正如前面指出的(如图1所示),J2EE容器可以通过ApacheDS的JNDI包装器利用它的目录服务。 www.ibm.com 8. In a similar vein to this one, my next tip will focus on decreasing the performance overhead of using JNDI with EJB components. 我的下一篇技巧文章将以和本文相似的风格,着重讨论在结合EJB组件使用JNDI时减少性能开销。 www.ibm.com 9. This allows for late binding of the JNDI names in an EJB application without having to recompile the Java code. 这使得在EJB应用程序中,不必重新编译Java代码就可以对JNDI名称进行后期绑定。 www.ibm.com 10. It can be difficult to figure out the JNDI tree of a target server if you are unfamiliar with what was deployed there. 如果用户不熟悉这里的部署,那么想弄清楚目标服务器的JNDI树是很困难的。 www.ibm.com 1. You can either select a default entry from the drop down list, or enter the JNDI name of your self-defined staff plug-in configuration. 您可以从下拉列表中选择缺省项,也可以输入自定义的人员插件配置的JNDI名。 www.ibm.com 2. The DumpNameSpace tool provides a simple dump of the contents of the JNDI name tree visible to applications at a particular server. DumpNameSpace工具提供JNDI名称树内容的一个简单转储,该转储对于某个特定服务器上的应用程序是可见的。 www.ibm.com 3. Mapping the various types of references to the global JNDI names of the target objects is a common porting task. 将各种类型的引用映射到目标对象的全局JNDI名称是一项常见的迁移任务。 www.ibm.com 4. Database servers, JNDI trees, LDAP Servers, and external file systems can be shared by the nodes in the cluster. 数据库服务器、JNDI树、LDAP服务器以及外部的文件系统都有可能被集群中的节点共享。 blog.163.com 5. Assigning JNDI names to beans is the responsibility of the deployer, not the bean developer. 将JNDI名赋给bean是部署者的责任,而不是bean开发者的责任。 www.ibm.com 6. The first thing a session bean must do is to obtain a reference to a PersistenceManagerFactory by making a JNDI lookup call. 会话bean必须做的第一件事是通过调用JNDI查询,获得对PersistenceManagerFactory的引用。 www.ibm.com 7. In Figure 1, you can see that ApacheDS implements a Java Naming and Directory Interface (JNDI) wrapper for its core directory service. 在图1中可以看到,ApacheDS为自己的核心目录服务实现了Java名称和目录接口(JNDI)包装器。 www.ibm.com 8. Is provided by the Java Naming and Directory Interface JNDI, with the ability to bind a logical name to an implementation at runtime. 是由JavaNaming和DirectoryInterfaceJNDI提供的,它具备在执行时将逻辑名称系结到实作的能力。 www-128.ibm.com 9. When defining bindings, you specify JNDI names for the referenceable and referenced artifacts in an application. 在定义绑定时,要指定应用程序中可引用和被引用构件的JNDI名称。 www.ibm.com 10. Finally, the narrow method checks to make sure the retrieved object from JNDI can be cast into the intended object type, CustomerHome. 最后,严密的方法检查用于确保从JNDI检索到的对象可以被映射为所需的对象类型CustomerHome。 www.ibm.com 1. It is possible to configure more than one DistributedMap instance on one server, each with different JNDI names and cache characteristics. 可以在一个服务器上配置多个DistributedMap实例,其中每个实例都具有不同的JNDI名称和缓存特征。 www-128.ibm.com 2. This is a logical name that can be bound to a JNDI datasource object during the deployment phase. 这是一个逻辑名,在部署阶段可以绑定到一个JNDI数据源对象。 www-128.ibm.com 3. At deployment time, I can match the reference name on the deployment descriptor to the real name of the resource defined in the JNDI. 在实施部署的时候,能够将部署描述符上的引用名称与JNDI中定义的资源的实际名字匹配起来。 www.ibm.com 4. Suppose you've developed a Java application that uses a client-side JNDI implementation for LDAP to talk to ApacheDS. 假设您已经开发了一个Java应用程序,该应用程序使用LDAP的客户端JNDI实现与ApacheDS进行对话。 www.ibm.com 5. This setting specifies the JNDI factory class to look up the LDAP server. 该设置指定用于在LDAP服务器上进行查找的JNDIfactory类。 www.ibm.com 6. Note also that Java 2 Standard Edition (J2SE) comes with a client-side JNDI implementation for LDAP, which you can use to talk to ApacheDS. 注意,Java2标准版(J2SE)提供了LDAP的客户端JNDI实现,可以用它与ApacheDS对话。 www.ibm.com 7. To access those SLSBs, the test program must specify the implementation specific location (port number) of the JNDI naming service. 要访问那些SLSBs,测试程序必须指定JNDI命名服务的特定于实现的位置(端口号)。 www.ibm.com 8. Applications are bound to JNDI objects that represent the JMS provider. 将应用程序绑定到表示JMS提供程序的JNDI对象中。 www-128.ibm.com 9. The best way to cache is for an object to store any JNDI reference it uses in an instance variable. 为对象缓存的最好的方式是存储任何的它要在实例变量中使用的JNDI引用。 www.ibm.com 10. JNDI is a Java API that allows the physical locations of resources to be abstracted into names. JNDI是一个JavaAPI,允许把资源的物理位置抽象成名字。 www.infoq.com 1. Before I can run the application, I need to set up the WebSphere MQ queue manager and queues and bind them to JNDI. 在运行应用程序之前,需要设置WebSphereMQ的队列管理器和队列,并把它们绑定到JNDI。 www.ibm.com 2. EJB references let us use an extra level of indirection between the code and the actual JNDI name of the referenced bean. EJB引用使得用户可以在代码和引用bean的实际JNDI名称之间使用额外的间接标准。 www.ibm.com 3. You use JNDI to set the context for your JMS connection. 您使用JNDI设置JMS连接的上下文。 www.ibm.com 4. Stay tuned for Part 3, which will discuss JNDI connections to a mail session resource and integration with the example application. 请继续关注第3部分,将讨论JNDI如何连接至邮件会话资源以及如何与示例应用程序集成。 www.ibm.com 5. By using JNDI ENC, the dependent object can explicitly request a reference to a certain collaborator. 通过使用JNDIENC,依赖对象可以显式地请求对某个协作者的引用。 www.ibm.com 6. Briefly, this means that we can hide specific JMS provider details behind a simple name that we use to look up a namespace in JNDI. 简而言之,这意味着我们可以把特定的JMS供应商的详细信息隐藏于我们用来在JNDI中查询名称空间的简单名称之后。 www.ibm.com 7. However, neither of these files contains any JNDI declarations, so they are not covered here. 但是,这两个文件都不包含任何JNDI声明,因此在这里不介绍这两个文件。 www.ibm.com 8. The only setting you are required to specify in the MDB's bindings is the JNDI name for the specification (Figure 9). MDB的绑定中唯一需要您指定的设置就是规范的JNDI名称(图9)。 www.ibm.com 9. Spring will look up the connection factory in JNDI using the environment property and initial context specified in the. 中指定的环境属性和初始上下文在JNDI中查询连接工厂。 www-128.ibm.com 10. The JNDI name is the link to the task model that references the configuration and must be unique. JNDI名称是引用该配置的任务模型的链接并且必须是唯一的。 www.ibm.com 1. In this manner, the actual JNDI names can be specified differently for each version at deployment time. 通过这种方式,在部署阶段可以为不同的版本指定实际的JNDI名称空间。 www.ibm.com 2. The JMS JNDI objects are bound to the actual objects in the message engine. 将JMSJNDI对象绑定到消息引擎中的真实对象中。 www.ibm.com 3. Now an application deployed on the Server can access the database by referencing the JNDI name without regard to the actual DBMS being used. 现在,部署在服务器上的应用程序便可以通过引用JNDI名称来访问这个数据库,而不必管实际使用的是哪种DBMS。 www-128.ibm.com 4. To store JNDI objects, make a directory named JNDI-Directory on your C: drive. 为了保存JNDI对象,请在驱动器C:上创建名为JNDI-Directory的目录。 www.ibm.com 5. The synchronous transmission profile JNDI name is the JNDI name of the event bus transmission profile resource. 同步传输概要JNDI名称是事件总线传输概要资源的JNDI名称。 www.ibm.com 6. As appropriate for a J2EE environment, the example now obtains the connection factory and destination from JNDI. 现在,示例采用适合J2EE环境的方式从JNDI获取连接工厂和目的地。 www.ibm.com 7. The subsequent screen (Figure 32 ) allows you to select the CEI Emitter Factory JNDI name. 下一个屏幕(图34)允许您选择CEI发射器工厂的JNDI名称。 www.ibm.com 8. To avoid these conflicts, defer binding the EJB home interface references to the JNDI name until deployment time. 为了避免这种冲突,可以直到部署阶段才将EJB本地接口对JNDI名称空间的引用绑定。 www.ibm.com 9. You may also be wondering why the global-jndi-name element is commented out. 您可能还想知道为什么将global-jndi-name元素注释掉了。 www.ibm.com 10. Name of the user allowed to perform the JNDI lookup. 允许执行JNDI查找的用户的名称。 www.ibm.com 1. The complete JNDI strings follow the naming convention, as shown in Listing 8. 完整的JNDI字符串遵守此命名约定,如清单8所示。 www.ibm.com 2. Field, enter the same name used in the JNDI Name field of the URL created in the default URL provider in the previous section. 字段内输入名字,这个名字和在我们前文中在创建默认URL提供程序时在。 www-128.ibm.com 3. This file contains such properties as the driver name, jndi name, username, password, datatype, and the URL. 该文件包含以下属性,包括驱动名、jndi名、用户名、密码、数据类型和URL。 www.ibm.com 4. All naming services that implement the JNDI can be accessed under a single, standard API. 可以用一个标准的API访问实现JNDI的所有命名服务。 www.ibm.com 5. Is a well-known JNDI name for the default Event Factory provided by the event infrastructure. 是事件基础架构提供的默认事件工厂的众所周知的JNDI名称。 www-128.ibm.com 6. File is no longer required since we are using a JNDI datasource. 因为我们使用了一个JNDI数据源,所以不再需要。 www-128.ibm.com 7. In their context and obtain different types of objects that are bound in the global JNDI naming context. 并得到绑定在全局JNDI命名上下文中的不同类型的对象。 www-128.ibm.com 8. If desired, change the values for the administrative name and JNDI name for the new MQ activation specification. 如果需要,更改新MQ激活规范的管理名称和JNDI名称的值。 www.ibm.com 9. Note that the JNDI lookup uses the resource reference name in the application deployment descriptor. 注意,JNDI查找使用了在应用程序部署描述符中定义的资源引用名。 www.ibm.com 10. You need to configure all the JNDI names used by your distributed applications in every node of the cluster. 您需要在集群的每个节点中配置您的分布式应用程序使用的所有JNDI名称。 www.ibm.com 1. This means it includes classes that implement JNDI interfaces to respond to requests for directory operations. 这意味着它包含的类,实现的是对目录操作请求进行响应的JNDI接口。 www.ibm.com 2. Make sure your JNDI names map to the ones defined in the Web deployment descriptor of the portlet project. 请确保JNDI名映射到在Portlet项目的Web部署描述符中定义的名称。 www.ibm.com 3. Describes conversion issues for applications that use the Java Naming and Directory Interface (JNDI). 说明使用Java命名和目录接口(JNDI)的应用程序的转换问题。 msdn2.microsoft.com 4. Take care to avoid JNDI name clashes if multiple message listener port configurations are migrated. 如果迁移多个消息侦听器端口配置,请注意避免JNDI名称冲突。 www.ibm.com 5. Like EJB security settings and JNDI names, transaction mode can be modified using the AAT tool before deployment to AE. 和EJB安全性设置和JNDI名称一样,事务模式可以在部署到AE之前使用AAT工具进行修改。 www.ibm.com 6. It could equally use an @Resource annotation to inject the reference as an alternative to using the JNDI Context API. 同样,也可以使用一个@Resource注释来注入这个引用,作为使用这个JNDIContextAPI的替代方法。 www.ibm.com 7. If some applications need write access to JNDI, you'll have to grant them the needed permissions. 如果一些应用程序需要对JNDI具有写访问权限,则您必须授予它们需要的权限。 www.ibm.com 8. It shows how to declare the JNDI name that will be used to look up the session bean. 它用于显示如何声明用于查找会话bean的JNDI名称。 www.ibm.com 9. The event bus JNDI name specified in the transmission profile is the JNDI Name of the CEI server EJB interface. 在传输概要中指定的事件总线JNDI名称是CEI服务器EJB界面的JNDI名称。 www.ibm.com 10. Setting JNDI names and bindings for the connection configuration information and the EJB itself. 为连接配置信息和EJB本身设置JNDI名称和绑定。 www.ibm.com 1. For Cloudscape datasources, enter values for Name, JNDI name, and database name, and accept default values for the remaining fields. 对于Cloudscape数据源,输入Name、JNDI名和数据库名的值,对于其它字段,采用缺省值。 www.ibm.com 2. A CosNaming provider is available within the JDK, allowing the JNDI code to use the CORBA naming service for object lookup. JDK中提供了CosNaming提供程序,允许JNDI代码使用CORBA命名服务查找对象。 www.ibm.com 3. As stated earlier, the dumpnamespace utility makes finding out the fully qualified JNDI locations of objects much easier. 如前面介绍的,dumpnamespace实用程序使得找出对象的JNDI全限定位置变得很容易。 www.ibm.com 4. It includes an implementation of the JMS interface, but not the JNDI interface. 它包括JMS接口实现,而非JNDI接口。 www-128.ibm.com 5. Storing it in the JNDI will give your applications access to other ApplicationContexts that were started in another context. 将其存储在JNDI中可使您的应用程序能够访问另一个上下文中启动的其他ApplicationContexts。 www.ibm.com 6. Only this time, the JNDI name is different, and the ProcessCustomerHome class is used to confirm the retrieved object from JNDI. 只是这时,JNDI名称不同,且ProcessCustomerHome类用于确认从JNDI检索到的对象。 www.ibm.com 7. A common use of JNDI is database naming, where the application uses a JNDI name to get a database connection. JNDI的常见用法是数据库命名,应用程序使用此JNDI名获得数据库连接。 www.infoq.com 8. The name of the queue or topic is also resolved using JNDI. 队列名或主题名也是使用JNDI进行解析的。 www.infoq.com 9. Use the JNDI value shown below for this tutorial (although you can enter any CMP container factory JNDI name). 在本教程中使用下面显示的JNDI值(尽管您可以输入任何CMP容器工厂JNDI名称)。 www.ibm.com 10. For the time being, leave the JNDI name of the CEI emitter factory to the default. 现在,保留CEI发射器工厂的JNDI名称为缺省值。 www.ibm.com 1. Both of the configured event group profiles described above use JMS queue and topic JNDI names. 上面描述的两种配置事件组概要都使用了JMS队列和主题JNDI名称。 www.ibm.com 2. To extend our metaphor: JNDI is a template for a town, while CosNaming and LDAP are specific towns. 现在扩展我们的比喻:JNDI是城镇的模板,而CosNaming和LDAP是特定的城镇。 www-128.ibm.com 3. JMS application - Provider-independent; accesses the provider via JMS using JNDI. JMS应用程序——与提供程序无关;使用JNDI通过JMS访问提供程序。 www.ibm.com 4. Unfortunately, JNDI operations almost always exact a performance toll. 遗憾的是,JNDI操作几乎总是需要性能开销。 www-128.ibm.com 5. To do this, you need to first look up an emitter factory from JNDI in the same way that the event factory was obtained. 为此,首先需要从JNDI中查找发射器工厂,这和获取事件工厂是一样的。 www-128.ibm.com 6. Once the ApacheDS framework knows which JNDI operation needs to be invoked while processing a protocol request, it can generate an event. 一旦ApacheDS框架了解了在处理协议请求时需要包含哪个JNDI操作,它就能生成事件。 www.ibm.com 7. The activation specification is bound into JNDI; an MDB's configuration specifies its activation specification using the JNDI name. 激活规范绑定到JNDI中;MDB的配置将使用JNDI名称指定其激活规范。 www.ibm.com 8. This article shows how to make a standalone Java application work with WebSphere MQ as a JMS and JNDI client. 本文说明如何开发一个用WebSphereMQ作为JMS和JNDI客户端工作的独立的Java应用程序。 www.ibm.com 9. You can find the actual JNDI name of those resources in the WebLogic config. xml file. 您可以在WebLogicconfig.xml文件中找到这些资源的实际JNDI名称。 www.ibm.com 10. Applications look up a topic in JNDI and publish or consume messages. 应用程序将在JNDI中查找主题并发布或使用消息。 www.ibm.com 1. The application server then binds a reference containing this information into JNDI. 应用服务器随后将包含这个信息的引用绑定到JNDI。 www.ibm.com 2. The "Map EJB references to beans" panel maps all the EJB references to actual EJB JNDI names. “MapEJBreferencestobeans”面板将所有的EJB引用映射为实际的EJBJNDI名称。 www.ibm.com 3. EJB home interfaces are persistent object references registered in the shared JNDI name space. EJB本地接口是在共享的JNDI名称空间中注册的持久性对象引用。 www.ibm.com 4. EJB JNDI references are very much like the JDBC resource references. EJB的JNDI引用非常类似于JDBC资源的引用。 www-128.ibm.com 5. This is because resources have JNDI names that can be looked up by any application, and there is no authorization on resource access. 这是因为资源具有JDNI名称,而此名称可以由任何应用程序进行查询,并且资源访问上没有授权机制。 www.ibm.com 6. We already know that every JMS administered object must be registered in a directory accessible via JNDI. 我们已经知道,每个JMS受管理对象必须在可以通过JNDI访问的目录中注册。 www.ibm.com 7. A resource environment entry enables access to the resource by reference via JNDI lookup. 资源环境项可以通过JNDI查询来访问引用的资源。 www.ibm.com 8. You also need to declare the resource reference in web. xml and look for the database pool via JNDI from the application code. 您还需要在web.xml中声明该资源引用,并在应用程序代码中通过JNDI查找数据库池。 www.ibm.com 9. The container or application can get a handle on the resource manager through JNDI. 容器或应用程序可以通过JNDI获得资源管理器的控制。 www.ibm.com 10. The staff support service uses the configuration JNDI name to locate the configuration. 人员支持服务使用配置JNDI名称来查找该配置。 www.ibm.com 1. Once the named datasource has been configured, write your application to use the JNDI name to access the new datasource. 一旦配置好已命名的数据源,就可编写应用程序,使用JNDI名来访问新的数据源。 www-128.ibm.com 2. Method is the JNDI queue name, which specifies where messages should be sent. 方法的第一个参数是JNDI队列名,队列名指定了消息应当发送到哪里。 www-128.ibm.com 3. The same value as the JNDI Name field in the connection factory defined earlier. 与前面定义的连接工厂中的JNDIName字段值相同。 www-128.ibm.com 4. Note that changing the JNDI bindings while the program is running will not dynamically switch the program between queues and topics. 注意,如果在程序运行时更改JNDI绑定,则不能在队列和主题之间动态切换程序。 www.ibm.com 5. You may have noticed that a property file is used to avoid hard coding the EJB JNDI name and location of the application server. 也许您已经注意到了属性文件是用于避免EJBJNDI名称的硬编码以及应用程序服务器的定位。 www.ibm.com 6. The following are examples of property file entries that will result in different JNDI connections. 以下是可以产生不同JNDI连接的特性文件项示例。 www.ibm.com 7. The details are quite complex, but in brief, any application can look up any resource in the JNDI namespace. 具体的细节非常复杂,但简单来说,任何应用程序都可以查找JNDI名称空间中的任何资源。 www.ibm.com 8. Make a directory named JNDI-Directory on the C: drive for storing JNDI objects. 在C:驱动器上建一个名为JNDI-Directory的目录以存储JNDI对象。 www.ibm.com 9. In this section, you see how to develop a portlet application that accesses a session bean using JNDI context. 在本部分中,您将看到如何开发使用JNDI上下文访问会话bean的portlet应用程序。 www-128.ibm.com 10. However, all resources accessed using Context. lookup in the code must specify the true JNDI name. 但是,所有使用代码中的Context.lookup访问的资源必须指定真实的JNDI名。 www.ibm.com 1. The EJB component in this example uses a JNDI lookup to locate the database connection pool resource. 本例中的EJB组件使用JNDI查询来确定数据库连接池资源的位置。 www-128.ibm.com 2. The JNDI 1. 2 Standard Extension API lets Java applications access objects in disparate directories and naming systems in a common way. JNDI1.2标准扩展API允许Java应用以相同的方式访问位于完全不同的目录和命名系统中的对象。 www-128.ibm.com 3. Pass the context factory type, nameserver name, and JNDI lookup string as parameters. 以参数的形式传递上下文工厂类型、命名服务器名和JDNI查询字符串。 www.ibm.com 4. For each emitter factory profile configured in the application server, an EmitterFactory object is bound into JNDI on startup. 对于应用程序服务器中配置的每一个发射器工厂概要,在服务器启动时都会有一个EmitterFactory对象被绑定到JNDI上。 www.ibm.com 5. This may lead to namespace collisions, but more likely it just makes JNDI problem determination and resolution more difficult. 这可能造成命名空间冲突,更有可能使JNDI问题的确定和解决更加困难。 www.ibm.com 6. In contrast to the manual configuration, all JNDI references are removed. 与手工配置相比,所有的JNDI引用都被删除了。 www.ibm.com 7. Even though the sequence of doing the JNDI lookup is well known, casting and handling the JNDI exception adds a lot of standard code. 就算已经知道了做JNDI查找的序列,处理JNDI例外的操作会添加一系列标准代码。 www.ibm.com 8. The jndiProperties variable is passed into the InitialContext constructor and the resulting Context is a "handle" to the JNDI service. jndiProperties变量被传递到InitialContext构造器中,而产生的Context是JNDI服务的“句柄”。 www.ibm.com 9. This is reasonably safe as there is nothing sensitive stored in JNDI (passwords are not stored there). 这是相当安全的,因为JNDI中没有存储敏感数据(密码不存储在那里)。 www.ibm.com 10. Returning to the wizard, enter oPort as output port JNDI name, BOOK as message format identifier, and REPLY_BOOK as reply id. 返回向导后,输入oPort作为输出端口JNDI的名称,输入BOOK作为消息格式标识符,REPLY_BOOK作为回复id。 www.ibm.com 1. All the low-level JNDI logic is written in protected methods of LDAP4JavaObjects for just this reason. 所有底层JNDI逻辑都使用LDAP4JavaObjects的protected方法进行编写就是出于这个原因。 www.ibm.com 2. That's it for declaring JNDI names and associating them to EJB components! 至此声明JNDI名称并把它们与EJB组件关联起来就全部完成了! www.ibm.com 3. JNDI names associated with components or resources that belong to each application. 与属于每个应用程序的组件或资源关联的JNDI名称。 www.ibm.com 4. In the property editor that opens, for Name, enter CICS ECI, and for JNDI name, enter cicseci. 在打开的属性编辑器中,在Name中输入CICSECI,在JNDIName中输入cicseci。 www.ibm.com 5. First, the complete JNDI name is retrieved from the customer. properties file. 首先,从customer.properties文件中检索完整的JNDI名称。 www.ibm.com 6. This file maps EJB components to their default JNDI bindings and to the appropriate default datasource. 该文件把EJB组件映射到它们默认的JNDI绑定以及合适的默认数据源上。 www.ibm.com 7. These properties are used while instantiating an object that exposes a JNDI interface named Context. 在实例化公开名为Context的JNDI接口的对象时,会使用这些属性。 www.ibm.com 8. The Java libraries required are imported, first all of the JMS jars, and then the JNDI jar. 需要导入Java库,首先是所有的JMSjar,然后是JNDIjar。 www.ibm.com 9. The first four items in the file are the JNDI environment properties. 文件前四项是JNDI环境特性。 www.ibm.com 10. My next step is to configure the WebSphere MQ queues and bind them to JNDI objects. 下一步就是配置WebSphereMQ队列并把它们绑定到JNDI对象。 www-128.ibm.com 1. A lookup is performed using the JNDI name that you earlier bound into the EJB. 使用您前面绑定到EJB的JNDI名称来执行查找。 www.ibm.com 2. The context properties tell JNDI what context you want so that it can create the right one for you. 通过这些上下文属性,JNDI能为您创建所需的上下文。 www-128.ibm.com 3. To manually add the JNDI name, click the newly added EJB reference on the References tab. 若要手动添加JNDI名称,请在References选项卡上单击新添加的EJB引用。 www.ibm.com 4. The service locator skips the JNDI lookup and uses the resource from the cache instead. 服务定位器略过JNDI查找并取而代之的使用缓存中的资源。 www.ibm.com 5. Note that JNDI permissions apply to the entire namespace, not just one part. 请注意,JNDI权限适用于整个命名空间,而不只是其中一部分。 www-128.ibm.com 6. These administered objects could also have been obtained from a repository such as Java Naming and Directory Interface (JNDI). 这些被管理的对象也可以从存储库(如JavaNamingandDirectoryInterface——JNDI)获得。 www.ibm.com 7. JNDI provider URL in the form of corbaname: iiop: : . JNDI提供器URL,形式为:corbaname:iiop::。 www.ibm.com 8. The J2EE specification requires that all J2EE containers provide an implementation of the JNDI specification. J2EE规范要求所有J2EE容器都要提供JNDI规范的实现。 www.ibm.com 9. Subject containing CORBA credential is used by the authorization service to further restrict access to JNDI resources. 授权服务使用包含CORBA凭证的对象进一步限制对JNDI资源的访问。 www.ibm.com 10. In a non-managed environment, the EIS connection information is used but the JNDI lookup name is not used. 在非受管环境中,使用EIS连接信息,但是不使用JNDI查找名称。 www-128.ibm.com 1. While the client module might lookup local homes using JNDI, the container need not expose them in the JNDI namespace. 虽然客户机模块可能使用JNDI查找本地home,但容器不需要在JNDI命名空间中公开它们。 www.ibm.com 2. To support JMS applications, we need to configure JNDI with references to the JMS resources in the bus. 为了支持JMS应用程序,需要在总线中配置关于JMS资源的JNDI。 www-128.ibm.com 3. It is good practice to load the home object once and reuse it to avoid additional expensive JNDI lookups. 只加载本地对象一次,重用它来避免额外的昂贵JDNI查找,这不失为一个好方法。 www.ibm.com 4. It accesses all resources the same way through the same JNDI tree. 它通过相同的JNDI树以相同的方式访问所有的资源。 www.ibm.com 5. Interface to support registration in the JNDI namespace. 接口以支持JNDI名称空间中的注册。 www-128.ibm.com 6. The same value as the JNDI Name field in the queue defined earlier. 与前面定义的队列中的JNDIName字段值相同。 www-128.ibm.com 7. JNDI is not an LDAP-specific interface; you can have a JNDI implementation for any type of directory service. JNDI不是特定于LDAP的接口,因此可以拥有针对任何目录服务类型的JNDI实现。 www.ibm.com 8. This greatly simplifies things by avoiding JNDI lookup code. 这避免了JNDI查找代码,因此极大地简化了操作。 www.ibm.com 9. The activation specification is bound into JNDI with this name, which is in turn what the MDBs use to access the activation specification. 激活规范使用此名称绑定到JNDI,而MDB将使用此名称访问激活规范。 www.ibm.com 10. In the example application, the JNDI access makes use of the file-based FSContext version available from the JNDI homepage (see Resources). 在示例应用程序中,JNDI的访问利用了可以从JNDI主页得到的基于文件的FSContext版本(请参阅参考资料)。 www.ibm.com 1. Wrapping before JNDI binding is the best practice because this is done once as opposed to wrapping after every lookup. 在JNDI绑定之前进行包装是最好的做法,因为只需要执行一次,而不需要在每次查找之后都进行包装。 www.ibm.com 2. The base class for making a JNDI connection is javax. naming. InitialContext. 进行JNDI连接的基类是javax. www.ibm.com 3. J2EE has conventions for what the JNDI resource environment reference subcontext names should be for common types of resources. 在J2EE中有对资源的通用类型的JNDI资源环境引用子上下文名的约定。 www.ibm.com 4. We are coding to the EJB reference name as opposed to the JNDI name of the target bean. 我们对EJB引用进行编码,与目标bean的JNDI名称相对应。 www.ibm.com 5. Note the commented out code for JOnAS which uses the global JNDI name for lookup. 请注意JOnAS注释掉的代码,该代码使用全局JNDI名称进行查找。 www.ibm.com 6. The JNDI name is hard-coded in the Java code. This makes the Java code much less portable. 在Java代码中JNDI名称是硬编码,这使得Java代码非常不轻便。 www.ibm.com 7. An end-point specific connection, such as a JNDI connection factory within a JNDI repository. 端点专有的连接,比如JNDI存储库中的JNDI连接工厂。 www.ibm.com 8. The next section details how to declare these objects in JNDI. 下一节将详细说明如何在JNDI中声明这些对象。 www.ibm.com 9. For more information about using JNDI to get the connection, see the ActiveMQ documentation. 对于想了解使用JNDI来获得连接的更多信息,请参阅ActiveMQ文档。 www.infoq.com 10. Figure 3 below demonstrates where you need to specify the JNDI name that you will use later from your test case servlet. 下面的图3展示了您需要指定后面要从测试案例servlet使用的JNDI名称的地方。 www.ibm.com 1. Instead, it is added to the ibm-web-bnd. xmi file as an ejbRefBindings element. JNDI名称没有添加到web.xml文件中,而是作为ejbRefBindings元素添加到ibm-web-bnd.xmi文件中。 www.ibm.com 2. Each subcontext name is used as part of a JNDI expression for accessing objects in the client's local context. 每个子上下文名被用作JNDI表达式的一部分,以此来访问客户端本地上下文中的对象。 www.ibm.com 3. Message-driven beans only need to specify the JNDI name of the activation specification (Figure 4). 消息驱动Bean只需要指定激活规范的JNDI名称(图4)。 www.ibm.com 4. It appears that you have to know minute details of JNDI to just use an EJB in your application. 显然,你仅仅要在程序中使用EJB但你却必须知道JNDI详细的细节。 www.mscto.com 5. However, applications that write to JNDI will fail. 然而,写入JNDI的应用程序将会失败。 www.ibm.com 6. This value identifies the datasource in the JNDI name space. 该值在JNDI名称空间标识数据源。 www.ibm.com 7. In this tip, we ll look at some of the most common JNDI optimizations. 在这篇技巧文章中,我们将研究一些最常用的JNDI优化。 www-128.ibm.com 8. Enter the datasource name for the JNDI name value. 输入数据源名称作为JNDIname的值。 www.ibm.com 9. In this tip, Brett shows you how a home-interface factory can reduce the overhead of JNDI lookups in your EJB applications. 在本技巧文章中,Brett向您展示了home接口工厂是如何降低您EJB应用程序中JNDI查找开销的。 www-128.ibm.com 10. You need to manually configure the JNDI resource, usually via server. xml. 通常您需要通过server.xml手动配置JNDI资源。 www.ibm.com 1. Also, you saw how to use JNDI directory services to share variables or objects among different pieces of code. 另外还介绍了如何使用JNDI目录服务在不同的代码片中共享变量或对象。 www.ibm.com 2. The Java Naming and Directory Interface (JNDI) is the most common way to interface with naming services. Java命名和目录接口(JNDI)是与命名服务进行相互操作的最常见方式。 www.ibm.com 3. In this sample, you will instead follow the JPA specification and map the datasources directly to global JNDI. 在该样例中,您将遵循JPA规范,并将数据源直接映射到全局JNDI。 www.ibm.com 4. When an emitter factory is obtained from JNDI, it arrives preconfigured. 当从JNDI获得发射器工厂时,它已经进行了预先配置。 www.ibm.com 5. JMSAdmin. config - Tells the JMSAdmin tool to use a filesystem for the JNDI registry service. config——通知JMSAdmin工具将文件系统用于JNDI注册服务。 www.ibm.com 6. And that's it. That's all the code you need to change, the code for instantiating an initial JNDI context. 这便是所需更改的全部代码,该代码例示了初始的JNDI上下文。 www.ibm.com 7. By using the resource reference you will make sure that real JNDI name of your resource is not hard coded anywhere in your code. 通过使用资源引用您可以确保在您的代码中,资源的真正JNDI名称并不是固定编码的。 www.ibm.com 8. If you didn't specify the JNDI lookup name, this name is automatically constructed. 如果您没有指定JNDI查找名称,系统将会自动创建这个名称。 www.ibm.com 9. Tab to bind the resource to a JNDI name. 选项卡,将资源绑定到一个JNDI名。 www-128.ibm.com 10. You will later bind this J2C connection factory's JNDI name to the generated deploy code's session bean. 以后您将把此J2C连接工厂的JNDI名绑定到生成的部署代码的会话bean中。 www.ibm.com 1. Type this name if you haven't yet specified the JNDI lookup name. 如果您还没有指定JNDI查找名称,就请键入这个名称。 www.ibm.com 2. You can change it later in the Crystal Report jdbc(jndi) Connection Wizard ( Figure 12). 你可以稍后在CrystalReportjdbc(jndi)Connection向导中更改它(图12)。 www.ibm.com 3. In addition, because there is no reference mapping layer, you must specify the raw JNDI name of the remote EJB. 此外,因为没有引用映射层,所以必须指定远程EJB的原JNDI名称。 www.ibm.com 4. You can see the protocol providers, MINA interfaces and classes, and operation handlers working with JNDI in Figure 2. 在图2中可以看到操作JNDI的协议提供者、MINA接口、类以及操作处理程序。 www.ibm.com 5. It is not possible to obtain a local reference using the global JNDI name. 不可能通过使用通用的JNDI名称来获得本地的引用。 www.ibm.com 6. Any string; by convention, we use the same name as its JNDI leaf. 任何字符串;按照惯例,我们使用与其JNDI叶相同的名称。 www-128.ibm.com 7. To address this, you should restrict access to the JNDI namespace by specifying something more restrictive administratively using the. 区域来指定更加严格的限制,从而限制对JNDI命令空间的访问。 www-128.ibm.com 8. If you are using a previous version of WSRR, then update the interface JNDI name accordingly. 如果您使用的是以前的WSRR版本,那么应该相应地更新接口JNDI名。 www.ibm.com 9. The complete JNDI strings follow the naming convention seen in Listing 6. 清单6中显示了命名约定以及完整的JNDI字符串。 www.ibm.com 10. Set the JNDI names as part of installing a J2EE application on the server. 设置JNDI名称作为在服务器上安装J2EE应用程序的一部分。 www.ibm.com 1. You'll recall the first two steps from Listing 1, namely loading JNDI properties and instantiating a DirContext object. 前两个步骤您应该可以从清单1中回想起来,即装入JNDI属性并实例化一个DirContext对象。 www.ibm.com 2. JNDI is a lot like using Domain Name System (DNS) to enable the use of host names instead of IP addresses to identify hosts. JNDI有点像域名系统(DNS),使您能够使用主机名而不是IP地址来识别主机。 www.infoq.com 3. Note the JNDI names for the request queue. 请注意请求队列的JNDI名称。 www.ibm.com 4. With no parameters and get the JNDI context you need. 不含参数,并且得到所需的JNDI上下文。 www-128.ibm.com 5. After you add the reference, you must manually add the JNDI name for the binding. 添加引用后,必须手动添加绑定的JNDI名称。 www.ibm.com 6. JNDI lookups are the standard way to obtain references to remote objects. JNDI查询是获得对远程对象的引用的标准访问。 www.ibm.com 7. Specify the port number you found in step 4 inside the properties file so that the test program can find the JNDI naming service (Figure 7). 在这个属性文件中指定您在步骤4中发现的端口号,以便测试程序能够发现这个JNDI命名服务(如图7所示)。 www.ibm.com 8. By convention, the JNDI names for all EJBs should start with the ejb segment. 按照惯例,所有EJB的JNDI名称应该从ejb部分开始。 www.ibm.com 9. This JNDI name is used during application deployment resource reference mapping. 在应用程序部署资源引用映射的过程中使用此JNDI名称。 www.ibm.com 10. So, I don't think the Access Intent errors are related to the JNDI problem. 所以,我认为AccessIntent错误与JNDI问题没有关系。 www.ibm.com |
||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。