On Oct 30, 2007, at 8:54 AM, Mattias Jiderhamn wrote:

>
>> I have been thinking of adding javax.activation.DataSource  
>> capability to Hessian.  It's easy to handle on the sending side,  
>> but I'm not sure how to handle it properly on the receiving side.
>>
> (I don't quite see how this relates to my situation)

You might be able to send a bunch of files all at once by serializing  
the following structure:

   DataSource []fileList

Hessian would open each data source and serialize it.  The other side  
is trickier.  In theory, it would deserialize the data as it becomes  
available.  The question is where should Hessian deserialize the data  
to?  It should really ask the application for a target DataSource, so  
the application could select a temporary storage method.

-- Scott

>
>  /Mattias
> _______________________________________________
> hessian-interest mailing list
> [email protected]
> http://maillist.caucho.com/mailman/listinfo/hessian-interest



_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to