There is no limit to the marshalled size of parameters in RMI in general.
I have sent documents as parameters with sizes > 5Mb. Maybe you
were reading about an RMI implementation for smart cards other some
other memory limited device. RMI is just a protocol. A given
implementation may choose to impose limiting behavior but it is not part
of the RMI spec.
----- Original Message -----
From: "Eddie Fung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 20, 2000 5:13 PM
Subject: rmi and parameter limits
> I read somewhere that there is a limitation within RMI which restricts the
> TOTAL size of method call parameters to less that 256 bytes.
>
> Is this correct ?
>
> We were planning to pass a number of parameters to a session bean including
> remote object references and a number of parameters including a collection.
> We could exceed this limit.
>
> Can anyone confirm this - I have been unable to find any mention of it in the
>various documentation available. Also if this is
true, what are my alternatives to implementing this design ? The collection could be a
remote object in this case rather than a
local object which is copied by value but this seems 'clunky'. Anyway, what is the
size of a 'reference'?
>
>
> thanks,
>
> Eddie
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".