Re: DII Call returning a JavaBean as return type

From: Arun Gupta <>
Date: Tue, 07 May 2002 10:39:54 -0700


With DII clients, you also need to register the serializers with the
type mapping registry. Please refer to
for more details on how to do that.

Thanks for your interest in JAX-RPC.


Hrishikesh Bhagwat wrote:

>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!
>-----Original Message-----
>From: Yee, Jenn En [mailto:yje_dev_at_HOTMAIL.COM]
>Sent: Tuesday, May 07, 2002 12:16 PM
>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.

There is only one me, I must live myself!
There is only one today, I must live itself!