470,641 Members | 2,555 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

Corba java apllet client communication problemI hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet)

I hava a problem with communication between Java/Corba server based on JDK
ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to
localize server.

client`s ORB i initialize like that:
Dane proxy = null;
ORB orb = ORB.init(parent, null);
org.omg.CORBA.Object obj = orb.string_to_object(sIOR);
proxy = DaneHelper.narrow(obj);
server`s ORB i initialize like that:
ORB orb = ORB.init(args, null);
POA rootpoa = POAHelper.narrow(orb.resolve_initial_references("R ootPOA"));
rootpoa.the_POAManager().activate();
DaneImpl oDane = new DaneImpl();
org.omg.CORBA.Object ref = rootpoa.servant_to_reference(oDane);
String ior = orb.object_to_string(ref);

It looks like that:
- if i`m trying to run applet throught web site from the same (192.168.0.1)
computer where Corba sever works
everything works fine, i write it in the browser->
http://192.168.0.1//TestCoraba.html
- if i`m trying to run applet throught web site from an other (192.168.0.2)
computer server receive method call
from client but client can`t receive server`s answer and stops, i write it
in the browser-http://192.168.0.1//TestCoraba.html

Maybe you what i`m doing wrong.
Thanks form any help.
Best Regards - gRabbi

Sep 20 '06 #1
0 3073

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by csafd | last post: by
5 posts views Thread by Rowland | last post: by
30 posts views Thread by Kong Bhat | last post: by
1 post views Thread by Tomek | last post: by
1 post views Thread by Tomek | last post: by
reply views Thread by news.onet.pl | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.