Hey what do people think about this one?
It's always bugged me that you can't use input streams in EJBs. It's
just too useful. For the case where there is a single input stream
in the arg list, we could do something pretty simple like have the
server reorder any other args so that the input stream is last in the
data sent from the client, then the server could literally just hand
off the input stream it has open with the client over as an argument
for invocation.
For input streams as return types, we can just do the reverse of this.
If there were more than one input streams as arguments then we could
do a file upload style push to the server where the server reads in
each part to a temp file and then creates input streams to those and
passes them in as arguments for invocation.
It's kind of a crazy idea, but I think this feature would just rock.
What do you think?
-David