2 Replies Latest reply: Sep 4, 2013 5:40 AM by Wolf-Dieter Fink RSS

Streaming over RMI

Eduterio Eduterio Newbie

Hello,

 

Simple problem, i have to retrieve the contents of a large file through and invokation to an EJB3 method. The problem is that EJB uses RMI as communication protocol, which is not stream-oriented and doesn't support streaming of data.

 

I have found a library that allows to stream data over a RMI connection on a rather cute way (RMIIO), but I wonder if JBoss offers something to use "out-of-the-box", or if anyone can point an alternative.

 

Thank you very much!