Re: [T4] Must/should close output stream in engine services?

2007-05-11 Thread Jesse Kuhnert

It should.  Anything that opens an IO stream in any java application should
always try to close it as soon as possible unless you are using it as some
kind of continuous stream of communication.  (on unix based systems it will
steal file handles )

On 5/10/07, Dan Adams [EMAIL PROTECTED] wrote:


When you have an engine service that serves up binary files, for
instance, and calls WebResponse.getOutputStream() should it or should it
not close the output stream when it's done with it?

--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


[T4] Must/should close output stream in engine services?

2007-05-10 Thread Dan Adams
When you have an engine service that serves up binary files, for
instance, and calls WebResponse.getOutputStream() should it or should it
not close the output stream when it's done with it?

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]