Can a web service return a stream?
问题 I've been writing a little application that will let people upload & download files to me. I've added a web service to this applciation to provide the upload/download functionality that way but I'm not too sure on how well my implementation is going to cope with large files. At the moment the definitions of the upload & download methods look like this (written using Apache CXF): boolean uploadFile(@WebParam(name = "username") String username, @WebParam(name = "password") String password,