Re: JFreeChart in WO
Re: JFreeChart in WO
- Subject: Re: JFreeChart in WO
- From: Mark Morris <email@hidden>
- Date: Tue, 1 Mar 2005 20:14:45 -0600
I've never tried it or tested it, but if it does turn out to be that
the first user to open the first chart has unacceptable performance,
perhaps in the Application constructor you could create a chart (then
do nothing with the result)....
Regards,
Mark
On Mar 1, 2005, at 5:17 PM, Carlile, Don wrote:
I don't know if it's the proper way to do it in deployment, or not,
but it
worked for me. The launch parameter that Jake McMullin pointed out is
probably a better idea.
I would like to know if there's a way to "prewarm" as Mark Morris
suggested,
in deployment.
Thanks
Don Carlile
From: Florijan Stamenkovic <email@hidden>
Date: Wed, 2 Mar 2005 00:03:09 +0100
To: WebObjects Development <email@hidden>
Subject: Re: JFreeChart in WO
Thanks Don...
That did "help" to stop the WOBootstrap from starting... Is this the
proper way to do this? As I understand it this makes the app run in
the
"back", right?
On Mar 01, 2005, at 23:50, Carlile, Don wrote:
I can't answer your specific question, but I do know that before you
deploy
(presumably to an app server that has no logged in user), you will
need the
line:
System.setProperty("java.awt.headless","true");
Sometime before you call the ChartFactory.creatPieChart.
Hope this helps
Don Carlile
From: Florijan Stamenkovic <email@hidden>
Date: Tue, 1 Mar 2005 23:36:53 +0100
To: WebObjects Development <email@hidden>
Subject: JFreeChart in WO
Hi all...
I just downloaded and started working with JFreeChart classes.... I
don't intend to use it (for now) in Java apps, but as jpeg/png
generating tools for my WO apps. So, I start to experiment with it
and
all is going fine, BUT!, it seems like the the chart generation
class
org.jfree.chart.ChartFactory
is in my call:
JFreeChart chart = ChartFactory.createPieChart("My Chart", dataset,
true,true,false);
is activating a java app
com.webobjects._bootstrap.WOBootstrap
Is that a problem, and can anybody say what it is for? And is there
something to be done with it?
Florijan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden