feature request #6791
openTest RMIIO for remote procedure calls of streams in TaxEditor
0%
Description
http://openhms.sourceforge.net/rmiio/
Or use any other solution (for downloading data REST might be solution, see https://stackoverflow.com/questions/6413276/streaming-with-spring-framework
Other solution by adapting httpInvoker: http://forum.spring.io/forum/other-spring-related/remoting/7250-httpinvoker-and-streaming
Spring¶
Updated by Andreas Kohlbecker almost 7 years ago
Please give more details on the problems that rise this requirement: For which situations and why do we need another remoting technology?
Updated by Andreas Müller over 6 years ago
Andreas Kohlbecker wrote:
Please give more details on the problems that rise this requirement: For which situations and why do we need another remoting technology?
It is not an other remoting technology. It just allows using streams within httpinvoker. HttpInvoker per se does not allow streams therefore it is difficult to handle return types of a method which are large such as export files. Current implementation requires to load them fully into main memory.
Updated by Andreas Kohlbecker over 6 years ago
Andreas Müller wrote:
Andreas Kohlbecker wrote:
Please give more details on the problems that rise this requirement: For which situations and why do we need another remoting technology?
It is not an other remoting technology. It just allows using streams within httpinvoker. HttpInvoker per se does not allow streams therefore it is difficult to handle return types of a method which are large such as export files. Current implementation requires to load them fully into main memory.
Ah, ok, thank you for clarifying that. I think we should collect a couple of usecases with details on expected stream sizes, approximate average duration of the transfer process. Do we need streams from and to the server?
Updated by Andreas Müller over 6 years ago
Imports and Exports are the most important usecases I do know for now. So this is both directions.