users@jax-rpc.java.net

Re: Non Serializable elements

From: Sasi Kala <sasikala_jmk_at_YAHOO.COM>
Date: Tue, 06 Aug 2002 06:31:23 -0600

Hi,

  I think this question suppose to go the J2EE forum since it does not allow the non-serializable objects as input/output parameters. It means that JAX-RPC allows one feature which may not be available in some other technology, that is it. Is not it?

  I think you could use the byte array as an input parameter to pass an image, right?

Regards,
Sasikala.


On Tue, 6 Aug 2002 12:26:45 +0200, Savchenko, Vladimir <vladimir.savchenko_at_SAP.COM> wrote:

>Hi All,
>
>JAX-RPC states that on cetain places, the ServiceEndpointInterface may have elements like javax.xml.transform.Source,
>or javax.xml.jaxm.SOAPElement, or java.awt.Image.
>
>If someone intends to write an EJBean (for example for JSR 109), and wants to use this functionality, he should declare his methods, using these types.
>
>But actualy, declaring an interface of a bean with these types is not correct, because they do not implement java.io.Serializable.
>
>Could you tell me what is the solution to such a problem.
>
>regards Vladimir