[Based on online materials and flex help documents]
Currently, flex data services (Adobe renamed it livecycle Data Services), hereinafter referred to as FDS, is the most powerful application research server for flash and flex.
The following describes how to deploy the FDS J2EE server. The selected J2EE server is Tomcat (Version 5.5 ).
(1) download tomcat5.5, is a http://tomcat.apache.org/, the specific installation is not described.
(2) download FDS installer, is: http://www.adobe.com/products/livecycle/, the current FDS development version (that is, Express version) is free, but only supports a CPU server, however, as a common development and testing application, it is more than enough, and the Enterprise Edition is relatively expensive.
Note that during the FDS installation process, you will be asked to choose whether to use JRun as the application server. It does not matter whether to select or not, except that JRun only supports jdk1.42.
You can also download FDS from http://trials.adobe.com/pub/esd/trial/fds/fds2-win.exe.
(3) To Run FDS, Tomcat also needs support from jotm (Java open Transaction Manager), which provides transaction support for Java applications. It is http://forge.objectweb.org/projects/jotm/, when the latest version is 2.0.10, will download the compressed package decompress, copy all the library files in the jotm-2.0.10/lib to the Tomcat Public Library (tomcat installation directory/common/LIB, and in the tomcat installation directory/CONF/context. add XML
<Transaction factory = "org. objectweb. jotm. usertransactionfactory" jotm. Timeout = "60"/>.
(4) install FDS. After completing the above steps, install flex in the FDS installation directory. war (FDS most basic file content), flex-admin.war (FDS management) and samples. war
Copy to the webapps directory under the tomcat installation directory.
(5) Restart Tomcat and enter http: // localhost/samples/on IE to see the FDS example.
Generally, you can use the following steps to develop a flex application:
(1) Use a text editor or integrated development environment (IDE), such as Adobe 2 flex builder, Eclipse, or intellij, to edit the mxml file.
(2) Add a container and add components to the container, such as text boxes and buttons.
(3) Use as to define the data model.
(4) add web service, HTTP service or remote Java object.
(5) Verify the input data.
(6) add scripts to the component for extension.
(7) Compile the application as a SWF file.
To use FDS to develop Web application systems, you must be familiar with the following technologies (mainly for Java programmers ):
(1) familiar with flex2, including actionscrtip3.0 and mxml;
(2) familiar with Java, JSP, Servlet, and other J2EE-related technologies;
(3) familiar with one of Tomcat, JBoss, and other servers;
(4) familiar with MySQL, SQL Server, and other databases.
If necessary, it is best to be familiar with and use open-source frameworks such as spring and hibernate.
Several registration codes are attached:
Flex2 license:
1307-1581-4356-2616-4951-7949-
Flex builder2 license:
1307-1581-4356-2616-4951-7949 (Commercial Version)
1307-1581-4356-2939-1231-4484 (Education Version)
Flex charting license:
1301-4581-4356-7349-9369-3351 (Commercial Version)
Livecycle Data Services registration code:
1306-4100-8708-9432-2243-5880-
<SCRIPT type = "text/JavaScript"> </SCRIPT> <SCRIPT src = "http://pagead2.googlesyndication.com/pagead/show_ads.js" type = "text/JavaScript"> </SCRIPT>