🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23475

Re: ���ƣ� ���dz���

#23475
From: ����
Date: Fri, 25 Jul 2003 01:15
27 lines
2159 bytes
javax.rmi.PortableRemoteObject.narrow()��ͨ����
����J2EE��ϵ�����Dz���Ҫ��.
ֻ�е�lookup�Ķ������ͨ����java���󣬶���Corba����ʱ����á�
����ڵ�����J2EE Application�����Dz���Ҫ����д�ġ�
ֻҪһ���򵥵�����ת���Ϳ�����.


�� �� cloudsun (�����̫��) �Ĵ������ᵽ: ��
: ��
: ��������붼��Ҫ?
: Object ref = context.lookup(��cart��);
: Cart cart1 = (Cart)javax.rmi.PortableRemoteObject.narrow(ref,Cart.class)
:                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: �� �� saviour (�����кۣ������޻ڡ���) �Ĵ������ᵽ: ��
: : ��ͨ��һ��servlet����session facade��session bean�ٵ���һ��CMP��CMP����SQL Ser
: : ver�е��Ѵ��ڵı�ӳ����ɡ�  ������session bean����CMP��CMP��DBMSʱ����
: : ��connection pool��Data Source���Ѿ����úã�
: : ����Ĵ�����ʾ��Ϣ��
: .................������ʡ�ԣ�

--
del *.���� /s
unable to delete file


help!!!!!!!!!!!!!!!!!!!!
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.8.23]
Technical Details
Message-ID: <47OSiV$AWQ@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,dbefb76f4fa5c7da
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-07-24 18:19:10 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!SJTU
From: ppsm.bbs@bbs.sjtu.edu.cn (����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���ƣ�  ���dz���
Date: 25 Jul 2003 01:15:57 GMT
Organization: ��ˮ˼Դ
Message-ID: <47OSiV$AWQ@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1059095647.A
Lines: 27