MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manuel d'utilisateur Page 135

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 184
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 134
135
9
CHAPTER 9
Data Services
This topic describes how to migrate HTTPService, WebService, and RemoteObject
components.
Contents
About Data Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Migrating HTTPService components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Migrating WebService components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Migrating secure data services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Mapping Java types for RemoteObject. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Accessing request/response data with RemoteObject . . . . . . . . . . . . . . . . . . . . . . . 152
About Data Services
Configuration of data service components, now called Remote Procedure Call (RPC)
components, in Flex has changed significantly in Adobe Flex 2.0. Adobe Flex Data Services
now refers to the server-side feature set that includes RPC services, the Message Service, and
the Data Management Service. Without Flex Data Services, you can use HTTPService and
WebService tags, but you can access resources only on a server that is in the same domain as
the Flex application or from a server that has a crossdomain.xml file installed on it. This file
must allow access to the requesting applications domain. For more information about
crossdomain.xml files, Chapter 4, “Applying Flex Security,” in Building and Deploying Flex
Applications.
For more information on using RPC components, see Flex 2 Developer’s Guide.
Vue de la page 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 183 184

Commentaires sur ces manuels

Pas de commentaire