You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "David P. Nesbitt" <da...@yahoo.com> on 2005/12/16 22:17:54 UTC
FOP and threading
It is possible to have separate configurations of FOP
running within the same JVM?
I am using the following to configure FOP:
new org.apache.fop.apps.Options(userConfigFile);
But I would like to have more than one configuration
used within the same application server.
Regards,
Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP API
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
The only free FO editor is FOA [1] to my knowledge. And as far as I know
it's not a great one.
[1] http://foa.sourceforge.net/
Other editors: http://xmlgraphics.apache.org/fop/resources.html#products-editors
On 19.12.2005 10:35:27 Daniele De Santis wrote:
> Thank you!
> Another question.
> Is there any editor for XSL-FO? It's free?
> thanks again...
> deso82
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP API
Posted by Daniele De Santis <de...@gmail.com>.
Thank you!
Another question.
Is there any editor for XSL-FO? It's free?
thanks again...
deso82
----- Original Message -----
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, December 19, 2005 10:19 AM
Subject: Re: FOP API
> For FOP 0.20.5: http://xmlgraphics.apache.org/fop/0.20.5/embedding.html
> For FOP 0.90alpha1: http://xmlgraphics.apache.org/fop/0.90/embedding.html
>
>
> On 19.12.2005 10:05:29 Daniele De Santis wrote:
>> Hi!
>> I'm just starting to use FOP and I want to know where I can find the FOP
>> API,
>> thanks
>> deso82
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP API
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
For FOP 0.20.5: http://xmlgraphics.apache.org/fop/0.20.5/embedding.html
For FOP 0.90alpha1: http://xmlgraphics.apache.org/fop/0.90/embedding.html
On 19.12.2005 10:05:29 Daniele De Santis wrote:
> Hi!
> I'm just starting to use FOP and I want to know where I can find the FOP
> API,
> thanks
> deso82
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
FOP API
Posted by Daniele De Santis <de...@gmail.com>.
Hi!
I'm just starting to use FOP and I want to know where I can find the FOP
API,
thanks
deso82
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP and threading
Posted by Chris Bowditch <bo...@hotmail.com>.
Jeremias Maerki wrote:
> On 17.12.2005 13:40:47 Andreas L Delmelle wrote:
>
>>With FOP 0.90, it shouldn't pose a problem AFAICT, to instantiate
>>multiple FOUserAgents each linked to a different configuration. When
>>constructing Fop instances, you can rather easily decide which
>>FOUserAgent to use. Don't know if this is the type of flexibility you
>>were looking for.
>
>
> Yes, no problem with 0.90, I think. We'll certainly have to improve the
> situation a little especially since some of the setup code is run every
> time a document is processed (setup per rendering-run). However, most of
> this setup code should only be called once for performance reasons. This
> will be fixed in the near future. The ability to set up two differently
> configured FOPs in one JVM will remain intact.
Actually there is a problem with FOP 0.90 in multi-threaded
environments. The use of commons logging to capture warning messages,
the commons logger is a singleton, and so you get the warning messages
for all threads in the same place. Not a show stopper, but something
that should be addressed at some point.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP and threading
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 17.12.2005 13:40:47 Andreas L Delmelle wrote:
> On Dec 16, 2005, at 22:17, David P. Nesbitt wrote:
>
> > It is possible to have separate configurations of FOP
> > running within the same JVM?
> >
> > I am using the following to configure FOP:
> >
> > new org.apache.fop.apps.Options(userConfigFile);
>
> Not sure if this is possible with FOP 0.20.5... will have to wait for
> one of the veterans to chime in.
It is possible but only by isolating two different FOPs using a special
class loader setup (static variables are bound to their class loader,
not the JVM). Not the easiest of tasks. :-)
> With FOP 0.90, it shouldn't pose a problem AFAICT, to instantiate
> multiple FOUserAgents each linked to a different configuration. When
> constructing Fop instances, you can rather easily decide which
> FOUserAgent to use. Don't know if this is the type of flexibility you
> were looking for.
Yes, no problem with 0.90, I think. We'll certainly have to improve the
situation a little especially since some of the setup code is run every
time a document is processed (setup per rendering-run). However, most of
this setup code should only be called once for performance reasons. This
will be fixed in the near future. The ability to set up two differently
configured FOPs in one JVM will remain intact.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP and threading
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Dec 16, 2005, at 22:17, David P. Nesbitt wrote:
> It is possible to have separate configurations of FOP
> running within the same JVM?
>
> I am using the following to configure FOP:
>
> new org.apache.fop.apps.Options(userConfigFile);
Not sure if this is possible with FOP 0.20.5... will have to wait for
one of the veterans to chime in.
With FOP 0.90, it shouldn't pose a problem AFAICT, to instantiate
multiple FOUserAgents each linked to a different configuration. When
constructing Fop instances, you can rather easily decide which
FOUserAgent to use. Don't know if this is the type of flexibility you
were looking for.
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org