Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Java/Corrba app...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 454 of 534
Post > Topic >>

Java/Corrba applet client communication problem

by "news.onet.pl" <tgrabon@[EMAIL PROTECTED] > Sep 20, 2006 at 12:11 AM

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("RootPOA"));
 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 know what i`m doing wrong.
Thanks form any help.
Best Regards - gRabbi




 1 Posts in Topic:
Java/Corrba applet client communication problem
"news.onet.pl"   2006-09-20 00:11:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 2:30:12 CDT 2008.