Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you implement push with flex data services?



How do you implement push with flex data services?..

Answer / Samir Kumar Singh

To implement push with Flex Data Services, you can use LiveCycle Data Services ES (Enterprise Service). It allows real-time data synchronization between client and server. You would need to create a remote object that extends mx.messaging.events.MessageConsumer and override the handleServer event. Then subscribe to the appropriate message in the server side using an IObserver.nnHere's a simple example:nn```actionscriptnimport mx.messaging.events.MessageEvent; nimport mx.messaging.messages.Message; nnvar consumer:Object = new Object(); nconsumer.subscribe("push.message", onPushMessage); nconsumer.client.connect("serverURL");nnfunction onPushMessage(event:MessageEvent):void {n // Handle the push message heren}n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

What are the Benefits of flex?

1 Answers  


What is default frame rate of the timeline in frame per second?

1 Answers  


What is the difference between sealed class and dyna? : adobe flex action script

1 Answers  


Explain how binding works in mxml components in flex?

1 Answers  


What is inheritance in term of oop (flash actionscript)? : adobe flex action script

1 Answers  


Why would you want to keep a reference to a changewatcher and call unwatch()?

1 Answers  


What is the use of disableautoupdate method?

1 Answers  


Explain which of the recommended character to use to separate target level paths levels?

1 Answers  


Explain prevent default method?

1 Answers  


What is polymorphism in term of oop (flash actionscript)? : adobe flex action script

1 Answers  


How does item renderer work? How do we add item renderer at runtime in flex? : adobe flex action script

1 Answers  


Is it possible to make httpservice requests synchronous in adobe flex? : adobe flex action script

1 Answers  


Categories