I suggest that you may first go through
section 5.4 of JAX-RPC specs (ver 0.9)
to know more about how JavaBeans are
handled by the JAX-RPC infrsstructure.
Now, so far as writing the code is
concerned, there's a goood news .
You have to do nothing different from
what you would other wise do to return
say a String Object. yet, here are the
steps in brief
1. write the
JavaBean class.
The Service Defn Interface
The Impl
2. Compile them
3. run the xrpcc tool.
(if you have coded the Bean
class correctly this step
would get executed quitely,
as if you were using any of
the simple types)
4. Write and compile the client.
5. Run !
(hope i didnt miss out any thing) enJoy!
Hrishikesh
-----Original Message-----
From: Yee, Jenn En [mailto:yje_dev_at_HOTMAIL.COM]
Sent: Tuesday, May 07, 2002 12:16 PM
To: JAXRPC-INTEREST_at_JAVA.SUN.COM
Subject: DII Call returning a JavaBean as return type
Hi, I was trying to use DII Call interface on the client to invoke a remote
method that returns a JavaBean as return value.
The JWSDP tutorial download does not have such an example and the
documentations also did not mention how we could go about doing it.
So I was wondering if it is support in the current EA and if yes, where can
I get hold of the docs and examples on how to do it.
Thanks!