Andreas L. Delmelle wrote:

-----Original Message-----
From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]




Hi Richard,



Thank you! That worked great. Just one more question. Are there any
recommendations on how to minimize resource use. I know at one point in
the earlier API, it was recommended to create the Driver once and do a
driver.reset() each request.



Hmm... Yes, but if I got it correctly, that seemed no concern in your code, as the Driver was being created in your doGet() anyway. (In a way, that reset() there does no more than reset the Driver before throwing it away...)

Anyway, I'm not sure why that functionality was removed. Maybe someone else
can fill you in here?




Sure, Driver.reset() was removed in 1.0 because Driver itself was removed, and the 1.0 API equivalent, the Fop class, has no need for it. 0.20.5 and 1.0 are completely different products, and 1.0 has many modernizations/optimizations already built-in.


Glen


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



Reply via email to