Hi, maybe build a Object that holds a Map and is accessible for JFreeChart and for Turbine. Whenever a Image should be generated, you put your value object into the map, given a Key that is generated. You pass the generated Key to the ChartGenerator, which loads the value object out of the map and deletes the entry. The keys should be generated on the fly from a thread safe Object.... maybe take integers and implement a roundtrip, if it reaches close to max int, start with one again.
I thougth of a pool that is accessible for both Actors and that dynamically exchanges the Information. Just a thought, martin ----- Original Message ----- From: "David Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 9:39 PM Subject: communication between turbine servlets and JFreeChart > Hello list, > > > I'm intergrating JFreeChart into a Turbine application. The JFreeChart > folks have a suggested way of streaming a PNG graphic, such that you can > serve up a dynamic graphic by referenceing your graphic generating > servlet within a image tag... <img src=\"ChartGenerator?type=" + param + "/> > > My problem is I need to pass more information than what could be passed > in URL parameters. Does anyone have suggestions as to how I could > accomplish this? > > > Dave Harris > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
