dcsimg
Client Applet
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, January 17, 2003 07:27 AM

I'm trying to make an Applet comunicate with a server using CORBA, but something is going wrong. I'm using wisibroker 4.5 for java and the first example i've tried was the visibroker's applet example, that didn't work...so i found some code that could work, but now i have a null pointer exception. My Applet code that is in trouble is: java.util.Properties props = new java.util.Properties(); props.put("ORBInitialPort",getParameter("org.omg.CORBA.ORBInitialPort")); props.put("ORBInitialHost",getParameter("org.omg.CORBA.ORBInitialHost")); org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(this, props); Does anyone knows how can i    More>>

I'm trying to make an Applet comunicate with a server
using CORBA, but something is going wrong. I'm using wisibroker 4.5 for java and the first example i've tried
was the visibroker's applet example, that didn't work...so i found some code that could work, but now i have
a null pointer exception. My Applet code that is in trouble is:


java.util.Properties props = new java.util.Properties();

props.put("ORBInitialPort",getParameter("org.omg.CORBA.ORBInitialPort"));

props.put("ORBInitialHost",getParameter("org.omg.CORBA.ORBInitialHost"));

org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(this, props);



Does anyone knows how can i fix this problem?


Thanks,

Semíramis Assis    <<Less
About | Sitemap | Contact