WS Download operation with MTOM
问题 I want to stream directly from an Oracle database blobs files via WS with MTOM directly to the WS client. I thought I found a way which is described here: http://www.java.net/forum/topic/glassfish/metro-and-jaxb/mtom-best-practices but after i took a look on InputStreamDataSource and javax.mail.util.ByteArrayDataSource i realized that they acutal hava a byte[] of the 'document' in memory meaning the streaming ideea is in vain, cause what i try to avoid is to have multiple docs in the same