Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > java idl question
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 16th April 21:59
firewalker
External User
 
Posts: 1
Default java idl question



Hello all,
I am trying to write the simple hello world program by java sun. The thing
that the implemnetation of the interface is in seperate class than the
server. The tutorial on the web just shows you that the implementation
returns a simple string "hello world". What if I want to return a preperty
of the serve (say the value of the variab) or if I want to use a function

Thank you very much for your help
  Reply With Quote


  sponsored links


2 16th April 21:59
piet van oostrum
External User
 
Posts: 1
Default java idl question



Your question isn't very clear. If you want to return something different
instead of "Hello World", then return that:

e.g. return myvariable;
or return somefunc(myvariable);

Of course the value to be returned should use variables that are on the
server side. The calculations are done in the server. Corba will then
transmit this value to the client.

(Actually to make it more complicated you can use stuff that you obtain
from other remote calls, but forget that for the moment.) --
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org
  Reply With Quote
Reply


Thread Tools
Display Modes




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