RE: Antwort: Fop and multithreading.

2003-02-10 Thread frederic . kieffer
Thanks for your help. In addition, I'm in the same kind of situation as you are (multiprocessor Unix box, executing FOP in a Message Driven EJB on JBoss). I designed a singleton class which is used by this ejb each time a message is being consumed. I'm going to try to synchronize its methods. Maybe

RE: Antwort: Fop and multithreading.

2003-02-10 Thread frederic . kieffer
The renderer I use is the PrintRenderer class found in the FopPrintServlet example (this renderer extends the AWTRenderer). -Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Date: lundi 10 février 2003 13:01 À: [EMAIL PROTECTED] Objet: RE: Antwort: Fop and multithre

Re: Antwort: Fop and multithreading.

2003-02-10 Thread Jeremias Maerki
Frédéric and Reto, having read the "24.1.2 Programming restrictions" of the EJB 2.0 specification, I'd recommend you guys don't call FOP from an EJB. The programming restrictions forbid among other things the following: - Reading or writing of static variables (FOP still does this too often) - Use

RE: Antwort: Fop and multithreading.

2003-02-10 Thread frederic . kieffer
Thanks for your help -Message d'origine- De: Jeremias Maerki [mailto:[EMAIL PROTECTED] Date: lundi 10 février 2003 14:08 À: [EMAIL PROTECTED] Objet: Re: Antwort: Fop and multithreading. Frédéric and Reto, having read the "24.1.2 Programming restrictions" of the EJB 2.

Re: Antwort: Fop and multithreading.

2003-02-11 Thread Peter B. West
Jeremias Maerki wrote: Frédéric and Reto, having read the "24.1.2 Programming restrictions" of the EJB 2.0 specification, I'd recommend you guys don't call FOP from an EJB. The programming restrictions forbid among other things the following: - Reading or writing of static variables (FOP still does

Re: Antwort: Fop and multithreading.

2003-02-11 Thread Jeremias Maerki
On 11.02.2003 06:37:26 Peter B. West wrote: > There you go giving me heart failure again, Jeremias. Stop it, Peter! I'm not writing a scientific paper here. I'm trying to help. It was my attempt to convey the problems I had in the past dealing with static constructs within EJBs. Be careful not to

Re: Antwort: Fop and multithreading.

2003-02-11 Thread Peter B. West
Jeremias, Humble apologies. I'm worried myself about having taken the wrong approach wrt EJBs, in this case especially regarding the threads, so my heart was in my mouth when I first read this. Heaven help us if your motivation is undermined. Peter Jeremias Maerki wrote: On 11.02.2003 06:37:2

Antwort: RE: Antwort: Fop and multithreading.

2003-02-10 Thread reto . blunschi
EMAIL PROTECTED] www.css.ch [EMAIL PROTECTED] on 10.02.2003 13:00:56 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema: RE: Antwort: Fop and multithreading. Thanks for your help. In addition, I'm in the same kind of situation as you are (multiprocesso

Antwort: RE: Antwort: Fop and multithreading.

2003-02-10 Thread reto . blunschi
3 13:19:40 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema: RE: Antwort: Fop and multithreading. The renderer I use is the PrintRenderer class found in the FopPrintServlet example (this renderer extends the AWTRenderer). -Message d'origine-

Antwort: Re: Antwort: Fop and multithreading.

2003-02-10 Thread reto . blunschi
ROTECTED] www.css.ch Jeremias Maerki <[EMAIL PROTECTED]> on 10.02.2003 14:08:11 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema: Re: Antwort: Fop and multithreading. Frédéric and Reto, having read the "24.1.2 Programming restrictions&quo

RE: Antwort: RE: Antwort: Fop and multithreading.

2003-02-10 Thread frederic . kieffer
Date: lundi 10 février 2003 13:16 À: [EMAIL PROTECTED] Objet: Antwort: RE: Antwort: Fop and multithreading. I suspect that the singelton approach with synchronized method will solve the issue. But I am not sure whether it is acceptable, because that would mean to execute FOP synchroized, not using

Re: Antwort: Re: Antwort: Fop and multithreading.

2003-02-10 Thread Jeremias Maerki
On 10.02.2003 16:15:48 reto.blunschi wrote: > I do agree very much with you about the concerns on EJB usage, though > unfortunately "drop the EJB idea" is not an option. > EJB is the chosen environment in this company (my client). Since XSL:FO has > also been chosen as "strategic" technology, we a

RE: Antwort: Re: Antwort: Fop and multithreading.

2003-02-11 Thread frederic . kieffer
déric -Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Date: lundi 10 février 2003 16:16 À: [EMAIL PROTECTED] Objet: Antwort: Re: Antwort: Fop and multithreading. Hi Jeremias, I do agree very much with you about the concerns on EJB usage, though unfortunately &qu

Re: Antwort: Re: Antwort: Fop and multithreading.

2003-02-11 Thread Jeremias Maerki
Ok, I've put together a ZIP and put it under the URL below: http://cvs.apache.org/~jeremias/FOPMTTestbed.zip I hope you don't mind that it's heavily relying on Avalon (especially Fortress). I've put all the necessary JARs in the lib directory. I didn't include fop.jar and batik.jar which you can t