MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Podręcznik Użytkownika Strona 220

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 256
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 219
220 Use the Data Management Service
Before you begin
Before you begin this tutorial, perform the following tasks:
Ensure that you have installed Flex Data Services and that you can run the applications in
the samples web application. Installation instructions are available at the following URL:
www.adobe.com/go/flex2_installation
Create a DSLessons directory that is a subdirectory of the samples directory of the samples
web application.
If you use Flex Builder for these lessons, do not use the Lessons project that you used for
other lessons. Instead, create a new Flex Data Services project called DSLessons that uses
the root directory of the samples web application as the root folder, and the context root
of the samples web application as the root URL (for example, http://localhost:8700/
samples/).
Build a distributed application with
the ActionScript object adapter
In this lesson, you create a simple distributed application for entering and displaying notes
that are shared among all clients. The application uses the ActionScript object adapter in Data
Management Service to distribute text data to all clients. The ActionScript object adapter
persists data in server memory and is useful for applications that require transient data that is
not persisted to a permanent data store. Changes to data in one client are sent to the server-
side Data Management Service and automatically propagated to other clients.
Configure a Data Management Service destination
In this section of the lesson, you define a server-side Data Management Service destination
that uses the ActionScript object adapter. This destination persists data in server memory and
distributes data to client applications.
1. In a text editor, open the data-management-config.xml file located in the WEB_INF/flex
directory of the samples web application.
Przeglądanie stron 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 255 256

Komentarze do niniejszej Instrukcji

Brak uwag