开源的Remoting框架:Cinnamon

目前在做一个后台管理系统的项目中,因为不想使用Adobe自带的remoting组件,所以采用了Cinnamon这个开源的项目。
Cinnamon是http://www.spicefactory.org/ 中的一个基于flash remoting技术的开源框架(具体想要了解的人可以到网站去了解http://www.spicefactory.org/cinnamon/ ,一进去就有它的详细介绍:Full support for AMF3):下面是官方介绍,我就不翻译啦
Cinnamon is a remoting framework based on the AMF3 protocol connecting clients written in AS3 with Java EE server applications. It can be deployed in every servlet container or Java EE application server. It contains the following features:
    *  Full support for AMF3.
    * Comes with its own Client API and does not build on top of the RemoteObject API of Flex, so it can be used with or without Flex.
    * Client Proxies of remote services implement business interfaces so you don't lose type safetey for remote method invocations like with RemoteObject.
    * Flexible server configuration: XML, annotations, custom Spring configuration namespace, programmatic configuration.
    * Many options how to map ActionScript classes to Java classes.
    * Extensible automatic type conversion for method parameters and bean properties.
    * Currently supports Spring Beans and plain Java classes as services.
    * Automatic source generation of AS3 service interfaces and proxies with Cinnamons Ant task.
    * Integration with JPA/Hibernate when used with Pimento Data Services.


根 据个人的使用感觉来说,还是非常不错的,使用也很方便。它在服务端声明了远程服务接口以及实现类,然后通过他自带的工具包配合Ant工具,就可以生成对应 的客户端接口和实现类。然后在使用过程中,只需要使用这个接口就可以了,非常方便。这种把整个服务端的接口搬下来的思想还是非常不错的。
希望有兴趣的人可以去了解一下,里面有详细API以及说明文档。建议要使用的人应该去了解,他本身带有简单的使用教程。

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值