On 26.06.2003 09:56:28 Sherlane Lam wrote:
> Our questions are:
> 1.  Is it really the thread-safe problem of FOP?  Or 
> is it due to our mis-use of FOP?  Can we prevent it?

You may have hit a threading problem. Try version 0.20.5rc3a which has
most of these issues fixed.
See also: http://xml.apache.org/fop/embedding.html#multithreading

> 2.  We find a lot of messages in bug database or email
> list teaching us to sychronize some small code segment
> in FOP to prevent the concurrency problem.  If we
> really want to improve the performance in our case,
> what is the minimum code segment we can amend in FOP
> to solve the problem?  

You probably cannot improve performance much just by changing the
calling code. The only thing that comes to my mind is to decorate your
OutputStream with a BufferedOutputStream. The other performance tips are
all mostly to your stylesheets and XSL-FO: avoid long tables, avoid
redundant attributes etc. etc.

Jeremias Maerki


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

Reply via email to