J2EE集成Flex环境搭建
相关下载
Flex正式版EXE下载地址:
http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ.exe
Flex正式版插件下载地址:
http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
LCDS
官方下载(需要先注册)
https://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices
迅雷下载链接
http://trials.adobe.com/Applications/LiveCycle_Data_Services/Win/lcds3-win.exe
开发环境:
MyEclipse6.5+JDK6.0+Tomcat5.5+ Flex3.0 Builder For Eclipse Plugin+LCDS
LCDS的安装
1,跳过即可
2,选LiveCycle Data Services with Tomcat
其他一路next即可。
Flex正式版插件(Flex3.0 Builder For Eclipse Plugin)安装
1,这一步时需要注意:如果Myeclipse的安装路径为D:\myeclipse,目录结构为
只需要选择Eclipse即可。
Myeclipse配置
1,Help->Software Updates->Manage Configuration-> Add an Extension Location指向你FB3_WWEJ_Plugin().exe(即Flex3.0 Builder For Eclipse Plugin)的安装路径就可以了!
相关文档:
<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.collections.ArrayCollection;
......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white"
......
<!-- -->
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:宋体;
panose-1:2 ......
<?xml version="1.0" encoding="utf-8"?>
<!-- http://yecon.blog.hexun.com/31030831_d.html -->
<!-- http://www.slsay.com -->
<Application name="FileReference_load_test"
xmlns="http://ns.adobe.com/mxml/2009"
xmlns:mx="library:adobe/flex/halo"
xmlns:net= ......
Flex Java Object对应关系
目前LCDS只能与J2EE的服务端进行通信,所以目前只是ActionScript 3.0数据类型和Java数据类型的转换。ActionScript 3.0与Java数据类型转换是不对称的。
ActionScript3.0向Java转换时数据类型的对应关系
ActionScript数据类型 -------------------Java数据类型
null -------------------null ......