Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > implement out-Parameter in Java
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 9th April 22:08
nahal
External User
 
Posts: 1
Default implement out-Parameter in Java



Hi,

Have someone any experience in implement of out-Parameter in Java.
//idl
interface AA
{
string login (in string name,in string pass,out pp obj);
};

How cann I implement it in a CORBA-application!(in Client- and
Servant-side)

could you please help? or Can you give me an example in this area?

thanks in advance

Nahal
  Reply With Quote


  sponsored links


2 9th April 22:08
piet van oostrum
External User
 
Posts: 1
Default implement out-Parameter in Java



You use a ppHolder object as a parameter, and pass the pp value in the
holder's value instance variable.
In the server, before return, use obj.value=(the obj that you want to
return)

In the client after calling the method you will find the returned pp object in obj.value. --
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet@vanoostrum.org
  Reply With Quote
3 9th April 22:08
developper
External User
 
Posts: 1
Default implement out-Parameter in Java


Nahal schreef:

Hi,

Have a look at

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.easerver_5.2/html/easpg/easpgp174.htm

Johan
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666