Blazeds 使用介绍
来源:互联网 发布:菠菜源码下载 编辑:程序博客网 时间:2024/05/16 18:34
1.下载Blazeds.war;并解压
2.新建一个Web工程
3.拷贝解压后的Blazeds下的WEB_INF文件下下的flex、lib、web.xml到新建web工程的webapp下的WEB-INF目录下
4.把Flex工程的编译文件放到webapp下
5、新建提供服务的java类,如:com.skydream.appsevice.LogService
6.修改remote-config.xml文件配置,在service节点下加入
<destination id="logSerive">
<properties>
<source>com.skydream.appsevice.LogService</source>
</properties>
</destination>
7.在需要访问的mxml文件中加入RemoteObject节点,如下
<mx:RemoteObject id="log" destination="logSerive" fault="logFaultHandler(event)" result="resultHander(event)" />
前者是出错后的处理函数,后者是成功结果处理函数
8.在需要使用的地方:log.methed(param[]);
9.更新web工程下的flex编译文件
ok。
- Blazeds 使用介绍
- BlazeDS介绍
- BlazeDS介绍
- BlazeDS介绍
- blazeds介绍
- BlazeDS简单介绍
- flex blazeDS 使用注意事项
- BlazeDS使用例子
- spring blazeDS Integration简单介绍
- spring blazeDS Integration简单介绍
- Spring与BlazeDS的整合之BlazeDS介绍(2)
- blazeDS
- BlazeDS
- BlazeDS
- BlazeDS
- BlazeDS
- 使用blazeds 数据库无法启动
- 使用Spring BlazeDS Integration步骤
- C/C++如何获得文件大小
- glib安装
- 关于vim的环境变量的配置
- android 退出应用程序时的static变量问题
- MATCOM函数
- Blazeds 使用介绍
- RVDS 2.2软件在AMD处理器的安装的解决方案
- x11 source
- cookie机制和session机制
- 背诵与记忆
- linux驱动——input输入子系统(2)——handler
- 纯键盘操作电脑,无鼠标操作
- CentOS6.2安装tomcat6
- MFC项目中使用CUDA的原则性说明