dcsimg
How to specify the naming service name within a java client program??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   raj_dan
Posted On:   Tuesday, October 22, 2002 05:41 AM

Hi, I am writing a simple example to connect to a naming service and invoke a corba object. The name of the naming service is testservice and running on the default port. I have invoked my server using c:/>vbj -DSVCnameroot=testservice MyServer I ran the client using c:/>vbj -DSVCnameroot=testservice MyClient It ran successfully. But If I am not running my client from the console(could be from JSP), then how should I specify the DSVCnameroot property within the client program. Please get back to me. Thanks, Raj    More>>

Hi,

I am writing a simple example to connect to a naming service and invoke a corba object.

The name of the naming service is testservice and running on the default port.

I have invoked my server using

c:/>vbj -DSVCnameroot=testservice MyServer

I ran the client using

c:/>vbj -DSVCnameroot=testservice MyClient

It ran successfully.

But If I am not running my client from the console(could be from JSP), then how should I specify the DSVCnameroot property within the client program.

Please get back to me.

Thanks,

Raj

   <<Less

Re: How to specify the naming service name within a java client program??

Posted By:   Mike_Friedrich  
Posted On:   Wednesday, October 23, 2002 01:11 AM

This should be possible through the Property-class and
Orb.init(args,props) in the client code.
About | Sitemap | Contact