I am trying to run flex as an image generator on the server.  Since my server 
is headless, the 
feedback I am getting is that it is bad practice to run flex in the browser for 
a background 
app.  

Here's what the program does in a nutshell:

The server launches my java app. It reads a list of report definitions from the 
data base. For 
each report, it spawns a thread. Each thread launches my Flex application in 
the browser. 
Flex draws the data in charts. Each time data is pushed to the flex application 
from the java 
server side, Flex calls a remote java method to save it's image to a file. This 
file sits in a 
directory where it can be viewed in a regular old html page.

The problem is really the automated aspect. I want to have this chart generated 
every few 
minutes as a .png file. It works perfectly fine on my localhost machine, but 
the server 
deployment is so far not working. We have firefox installed on the server. Is 
there no way to 
launch it as a background process to draw these images?  Should I turn this 
into an AIR app 
(I've never done anything with AIR up to this point) to make it run more easily 
in the 
background?

Reply via email to