dev@jsr311.java.net

Re: JSR311: Response isn't adequate

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 25 Feb 2008 19:55:36 +0100

Bill Burke wrote:
> It seems we have no access to an OutputStream. I can see the need for
> wanting to stream back to the client a DB's Blob or Clob.
>

https://jsr311.dev.java.net/issues/show_bug.cgi?id=6

Two workarounds:

- develop a message body writer for the Blob/Clob; or

- if the Blob/Clob is accessed as an InputStream one can return that.

Do you have any proposed suggestions on how to achieve the committing of
meta-data and writing to an OutputStream?

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109