1.

Difference Between Http Service And Remote Object? (or) Which One You Will Prefer?

Answer»

DATA Service(Remote Object):

  • Remote Objects specifies named or unnamed sources.
  • This service connects to an AMF(Action Message Format) Gateway
  • AMF protocol transfers data in a binary format, so the data can be moved across the network more quickly.
  • Remote Service automatically serializes and deserializes the data between Flex CLIENT and your server side language. As a result, you can directly call METHODS on your Java/.Net/ColdFusion/PHP etc… objects

HTTP Service/Web Service:

  • These services use named or raw URLs
  • These services connect to an HTTP PROXY Gateway.
    • HTTP Service use HTTP protocol/requests
    • Web Services use SOAP (Simple Object Access Protocol).
  • These services transfer data in XML format. This is slow.
  • Here the data transfer is in XML only.

Data Service(Remote Object):

HTTP Service/Web Service:



Discussion

No Comment Found