⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jndi-cos-ext.html

📁 JavaJNDI examples of J[2]EE
💻 HTML
字号:
<HTML><HEAD><title>COS Naming Service Provider for JNDI 1.2 Optional Package</title></HEAD><BODY BGCOLOR="#FFFFFF" TEXT=#000000 LINK=#0000ff VLINK=#000077ALINK=#ff0000><hr SIZE=3 NOSHADE WIDTH="100%"><center><h1>COS Naming Service Provider for the <br>Java Naming and Directory Interface<font size=4><sup>TM</sup></font> (JNDI) 1.2<br>Optional Package</h1></center><hr SIZE=3 NOSHADE WIDTH="100%"><P><FONT SIZE=-1>Please send feedback to <a href="mailto:jndi@java.sun.com">jndi@java.sun.com</a></FONT><P><P><I>Table of Contents</I><UL><LI><A HREF="#INTRO">Introduction</A></LI><LI>  <A HREF="#JDK12">Java<sup>TM</sup> 2 SDK, Standard Edition, v 1.2.x</A></LI>   <LI><A HREF="#JDK11">JDK<sup>TM</sup> 1.1.x</A></LI></UL><P><HR><P><A NAME="INTRO"><H2>Introduction</H2><p>This document describes how to use the COS naming service providerfor the JNDI 1.2 Optional Package with theJava 2 SDK, Standard Edition, v 1.2.x,and the JDK 1.1.x.It is a companion to the main<a href=jndi-cos.html>COS Naming Service Provider</a>document.<hr><p><A NAME="JDK12"><H2>Java 2 SDK, Standard Edition, v 1.2.x</H2><p><h4>Software Dependencies</h4><ul><li><a href=http://java.sun.com/products/jndi/#download>JNDI 1.2</a>.<li><a href=http://java.sun.com/products/rmi-iiop>RMI-IIOP</a> -To bind RMI-IIOP objects, you need the <tt>javax.rmi.CORBA</tt> package,available as part of RMI-IIOP.<li>A COS name server.</ul><h4>Software Installation</h4><ol><li>Unzip the distribution file to get a <tt>lib</tt> directory. <li>If you are using JNDI as an <em>installed</em>extension, copy the JARs (<tt>cosnaming.jar</tt> and <tt>providerutil.jar</tt>)from the <tt>lib</tt> directory to the <tt>$JAVA_HOME/jre/lib/ext</tt> directory.<li>If you are not using JNDI as an installed extension,copy the JARs to their permanent locations and add their locationsto your classpath.</ol> <h4>Security Considerations</h4>Follow the instructions in<a href="jndi-cos.html#SEC">the COS Naming Service Provider document</a>to grant your application the appropriate permissions.<p>If you are using JNDI and the COS naming service provider as aninstalled extension, that is, their JARs have been installed in the<tt>$JAVA_HOME/jre/lib/ext</tt> directory, you need to take no furtheraction.<p>Otherwise, perform the following additional steps:<ul><li>Grant the permissions listed in <a href="jndi-cos.html#SEC">the COS Naming Service Provider document</a>to the COS naming service provider (<tt>cosnaming.jar</tt>, <tt>providerutil.jar</tt>)and JNDI (<tt>jndi.jar</tt>).<li>Grant the permissions listed in<a href="../jndi-ext.html#SEC">the JNDI 1.2 Optional Package document</a>.</ol><hr><p><A NAME="JDK11"><H2>JDK 1.1.x</h2><p><h4>Software Dependencies</h4><ul><li><a href=http://java.sun.com/products/jndi/#download>JNDI 1.2</a>.<li><a href=http://java.sun.com/products/jdk/1.2/docs/guide/idl>Java<font size="-2"><sup>TM</sup></font> IDL</a> -A version of Java IDL for JDK 1.1.x is available as part of the<a href=http://java.sun.com/products/rmi-iiop>RMI-IIOP</a></b> distribution.<li><a href=http://java.sun.com/products/rmi-iiop>RMI-IIOP</a> -To bind RMI-IIOP objects, you need the <tt>javax.rmi.CORBA</tt> package,available as part of RMI-IIOP.<li>A COS name server.</ul><h4>Software Installation</h4><ol><li>Unzip the distribution file to get a <tt>lib</tt> directory. <li>Copy the JARs (<tt>cosnaming.jar</tt> and <tt>providerutil.jar</tt>)from the <tt>lib</tt> directory to its permanent location.<li>Add the location of the JARs to your classpath.</ol> <h4>Security Considerations</h4>Follow the instructions in<a href="../jndi-ext.html#JDK11">the JNDI Optional Package document</a>.<p>If you are using JNDI and the COS naming service provider from anapplet or some other system that has installed asecurity manager, you need to grant the applet permissionto connect to the host/port pairs identified in the<tt>java.naming.factory.initial</tt> property, in URL string namessupplied to context methods, in ORB initialization parameters andproperties, and in object references.<HR SIZE=3 NOSHADE WIDTH=100%><br><i>Copyright &copy; 1999 Sun Microsystems, Inc., All Rights Reserved.</i>    </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -