• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JFreeChart in WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JFreeChart in WO


  • Subject: Re: JFreeChart in WO
  • From: James Cicenia <email@hidden>
  • Date: Tue, 1 Mar 2005 21:02:34 -0600

I use jFreeChart extensively.. however, I only restart my WO Application one a week, so maybe one unfortunate soul has to wait a bit... but no one has complained yet. In fact, we have gotten compliments on the performance of our application. We use a older dual processor G4 X Server with a Gig of RAM.

Regards,
James Cicenia

On Mar 1, 2005, at 8:14 PM, Mark Morris wrote:

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:
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
References: 
 >Re: JFreeChart in WO (From: "Carlile, Don" <email@hidden>)
 >Re: JFreeChart in WO (From: Mark Morris <email@hidden>)

  • Prev by Date: Re: JFreeChart in WO
  • Next by Date: Re: JFreeChart in WO
  • Previous by thread: Re: JFreeChart in WO
  • Next by thread: disableClientCaching Direct Actions and Safari's 'Back' button
  • Index(es):
    • Date
    • Thread