GWT and real-time data
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



GWT and real-time data Expand / Collapse
Author
Message
Posted 5/1/2008 9:40:02 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/19/2008 1:16:59 PM
Posts: 5, Visits: 32
Hi,

I'm using FusionCharts v3 with GWT and am trying to get real-time updates from the DB.
(an XML won't work because I need user specific data display)

I can't seem to make a plan old servlet call in my Data.xml (ex. dataStreamURL='http://localhost:8888/com.ints.central.ui.Dashboard/Ticket) to a ticket servlet because GWT complains.

I can't make a GWT RPC call because there doesn't seem to be a way to feed the result into the data feed.

I can't seem to make a JS to Java call in GWT because GWT is managing my entire app and I don't have a "page centric" model. GWT does everthing in one page.

I'm considering Java -> JS call but managing the timing of the updates from Java seem like an awful option.

Has anyone done anything similar or have any ideas? I would really like to buy a site license for GWT but can't unless we solve this problem.

Mark
Post #6051
Posted 6/27/2008 4:36:58 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/28/2008 11:26:48 PM
Posts: 2, Visits: 6
It can be done. Your RPC call should retrieve a result from a query. From there, pass that result (in an arraylist or something) into your GWT code that generates your fusion chart. I suggest you use Java code to wrap the fusion chart xml elements and generate them through xml parser. I have this working, although I'm working on an other issue relating to IE.
Post #7072
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:13pm


Execution: 0.234.