[xep-support] Calling XEP from servlet
Werner Donné
werner.donne at re.be
Mon Mar 6 02:33:19 PST 2006
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 at re.be
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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
More information about the Xep-support
mailing list