Re: [xep-support] Calling XEP from servlet

From: Werner Donné <werner.donne@re.be>
Date: Mon Mar 06 2006 - 02:33:19 PST

Hi Jirka,

An option is to keep an instance of com.renderx.xep.FormatterImpl
in the servlet context and reuse it for each request.

Regards,

Werner.

Jirka Kosek wrote:
> Hi,
>
> I need to invoke XEP from servlet. I studied source code of your Servlet
> Connector. Is there any reason why com.renderx.xepx.servlet.Formatter
> creates new instance of formatter for each request, instead of creating
> it just once inside init() method of HttpServlet?
>
> I'm asking because from the rest of Programmers Guide I get impression
> that creation of formatter is quite expensive and should be avoided if
> possible.
>
> Jirka
>

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Mar 6 02:58:58 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 02:58:59 PST