Article View: cn.bbs.comp.lang.java
Article #20253[help]jndi����һ��
From: ���пճƳ��Լ��ж��ء�
Date: Sat, 20 Dec 2003 07:09
Date: Sat, 20 Dec 2003 07:09
11 lines
1349 bytes
1349 bytes
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, jndi_factory);
env.put(Context.PROVIDER_URL, jndi_url);
ctx = new InitialContext(env);
��weblogic��server����jndi_factory="weblogic.jndi.WLInitialContextFactory"
jndi_url="t3://localhost:7001"
��ô���ʣ�
��websphere applicatioin server�Ļ���jndi_factory��jndi_url�ֱ���ʲô��
--
[m[1;33m�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: eBarracuda][m
Technical Details
Message-ID:
<49iK3a$9uS@Freecity.dhs.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!news.primus.ca!news.primus.ca!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!FreecityShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB X-Google-Thread: f6cb0,f268e9cef25f5081,start X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-22 03:06:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!news.primus.ca!news.primus.ca!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity From: eBarracuda.bbs@Freecity.dhs.org (���пճƳ��Լ��ж��ء�) Newsgroups: cn.bbs.comp.lang.java Subject: [help]jndi����һ�� Date: 20 Dec 2003 07:09:09 GMT Organization: Ʈ��ˮ�Ƽ� Message-ID: <49iK3a$9uS@Freecity.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1071903924.A Lines: 11