Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Performance of BufferedOutputStream.write()

Tim Wood

2005-01-07

Replies:

At 12:58 AM 01/07/05, you wrote:
>Frans Verhoef wrote:
>
>> So if I understand it right what you're saying means that one "presentation" servlet queries "business" servlet for a file. This "business" servlet returns a file to the "presentation" servlet, which in turn send it to the user.
>>
>> Is this right?
>
>Yes. But one thing I forgot to mention was that all our business servlet
>are EJB's. So they can't be forwarded to (at least the request isn't
>passed).

Then you need to define an interface between the presentation code and the business code that supports the block-at-a-time algorithm outlined.


>The architecture seems to make sense on paper but ...

If it has fundamental performance problems, then it's broken.

Thanks,
TW

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".
©2008 junlu.com - Jax Systems, LLC, U.S.A.