Adobe Flex Builder 2 (EN) Mac, TLP Commercial 1500-14999 54021980TS Manuel D’Utilisation

Codes de produits
54021980TS
Page de 20

Adobe Flex 2
Figure : Flex runtime architecture.
Flex runtime architecture
The Flex runtime architecture is closely aligned with the just-in-time deployment model of web 
applications. The client portion of a Flex application is deployed as a binary file that contains the 
compiled bytecode for the application. Users then deploy this file to a web server just as they 
would an HTML file or an image. When the file is requested by a browser, it is downloaded and 
the bytecode is executed by the Flash Player runtime. 
As illustrated in Figure 3, once started, the application can request additional data or content over the 
network via standard HTTP calls (sometimes referred to as REST services) or through web services 
(SOAP). Flex clients are server agnostic and can be used in conjunction with any server environment, 
including standard web servers and common server scripting environments such as JavaServer 
Pages (JSP), Active Server Pages (ASP), ASP.NET, PHP, and ColdFusion®.
If the Flex client application is used in conjunction with Flex Data Services, the application has 
access to additional services. Flex clients can make direct calls to Java objects as well as subscribe 
to real-time data feeds, send messages to other clients, and integrate with existing Java Message 
Service (JMS) messaging systems. The Flex Data Services application runs on the server within 
the Java web container.
Flex development model and application framework 
The development process for Flex applications mirrors the process for Java, C#, C++, or other 
traditional client development languages. Developers write MXML and ActionScript source code 
using the Flex Builder IDE or a standard text editor. As shown in Figure 4, the source code is then 
compiled into bytecode by the Flex compiler, resulting in a binary file with the *.swf extension. 
As shown in Figure 4, the Flex application framework consists of MXML, ActionScript 3.0, and 
the Flex class library. Developers use MXML to declaratively define the application user interface 
elements and use ActionScript for client logic and procedural control. 
MXML and ActionScript
XML/HTTP
REST
SOAP Web Services
XML/HTTP
REST
SOAP Web Services
Browser
Browser
J2EE Application Server
Java EE Application Server
Web Server
Web Server
Existing Applications and Infrastructure
Existing Applications and Infrastructure
Data
Data
Flash Player
Flex Data Services 2
Figure : The Flex framework comprises MXML, ActionScript, and the Flex class library.
Flex Class Library
ActionScript
MXML
Flex Application Framework
Compile