Have the Flex client poll the server for updates, or use LCDS or BlazeDS
which provide push technology.

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of netdeep
Sent: Tuesday, May 20, 2008 3:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] image factory threaded application

 

I've reached an impass with my current development of a flex app to
publish image 
snapshots of charts.

I can get the program to run fine when I just have one chart, but I'm
not sure how to produce 
multiple images.

Here's how it's set up at the moment: When the server launches, a java
app looks in the 
database for chart definitions. For each chart it will have data as well
as a publishing 
frequency (say every 10 minutes or every 2 hours, etc). So for each
report I thought I'd 
launch a thread and have that thread send the data for drawing the chart
to the flex app. 
However in practice, the threads launch the flex app and only one of the
charts gets 
published.

How can I get a flex app to draw multiple charts like this? They have to
continually update 
based on the publishing frequency for the chart and I have to make sure
that each chart gets 
drawn. How would you approach implementing this image factory
application?

 

Reply via email to