2 Replies Latest reply on Nov 12, 2009 10:37 PM by jake_flex

    Is it possible to pass data from Flex to BlazeDS/POJO as a stream?

    jake_flex Level 2

      Is it possible to make a remote call to a remote Java object that uses BlazeDS so that the data is gotten as a stream (InputStream)? For example when uploading a file, it would require less memory.


      The BlazeDS examples about file upload that I've seen read the data from file to client memory first with FileReference#load() and after that pass it to the server as ByteArray. By doing so, both client and server need to load the whole file data into memory before it can be passed/processed.