Hi Anuj, i would go for Paul's recommendation with some small variations: 1) if the application is single user, the you do not need to poll, you can insert the data directly in your data source as at any given point you know that new nodes are added to the database.
For example: You do some sort of backend call to insert new staff in the db and in the response handle you update the tree data source manually via addChild or similar (depending on xml array collection and so on). 2) if your application is multiuser, i would go for 1) and at the same time poll the db with a timestamp or last id, so you ask only for new data (insertions or deletions) and then manually update your datasource... It might be slightly more complicated but you have far far less wire communications, db and backend processing and so on... Fotis On Wed, Oct 22, 2008 at 9:21 PM, anuj sharma <[EMAIL PROTECTED]> wrote: > Hi John > I am not sure i get what you are trying to say. Can you be please elaborate > little bit more. > Thanks > Anuj > > > On Wed, Oct 22, 2008 at 10:13 AM, john fisher <[EMAIL PROTECTED]> wrote: > >> @mark: thanks will check it out >> @anuj: >> this is just exactly what the adobe sample code does, except not >> directly to the database. >> >> anuj sharma wrote: >> > ... Can I use the Timer class to create a timer instance >> >> > which will periodically call HTTP a >> > > > -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation [EMAIL PROTECTED],