MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Betriebsanweisung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
Flex deployment models 29
This example shows Flex Data Services executing on the application server. Flex applications
executing in Flash Player can pass data to and receive data from Flex Data Services.
Using the enhanced data services architecture
Flex Data Services provide a data services architecture that greatly enhances the services of the
Flex 2 SDK. These enhanced data services add support for many features important to
enterprise application development, including the following:
Transparent data synchronization Lets you keep multiple clients synchronized. Multiple
Flex clients subscribe to a single server-side data object. Flex Data Services then broadcast
updates to the clients to publish any changes to it, meaning your client applications do not
have to poll the server to check for updates.
Publish and subscribe data services Let multiple client applications communicate with
each other. For example, you can implement an instant messaging service among multiple
clients.
JMS messaging support Java Message Service (JMS) is a Java API that lets applications
send data to, and receive data from a Java application.
Client authentication Lets you secure your data services by using basic or custom
authentication.
The data services architecture is based on an underlying messaging infrastructure. Flex Data
Services use XML configuration files to manage message topics and queues on the server. As
part of configuring messaging, you can set the maximum message size. If a message exceeds
this maximum value, multiple message batches are used, where the separate messages are
reassembled by the client. This enables asynchronous data paging across the network.
Additional RPC services with Flex Data Services
The RPC services of Flex Data Services are enhanced to add support for using the AMF
protocol to access RemoteObjects. This lets you access Java objects (JavaBeans, EJBs, POJOs)
on remote servers.
Flex Data Services includes a proxy that can intercept RPC requests from Flex applications to
remote servers, redirect the requests to the specified server, and then return the response to the
client. Because the proxy acts as the broker for remote server access, you are not required to
define a crossdomain.xml file on the remote servers, as you are when you use the Flex 2 SDK.
However, you can still access remote servers directly if they have defined a crossdomain.xml
file.
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare