S.l.e!ep.¢%

像打了激速一样,以四倍的速度运转,开心的工作
简单、开放、平等的公司文化;尊重个性、自由与个人价值;
posts - 1098, comments - 335, trackbacks - 0, articles - 1
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

开源的Remoting框架:

Posted on 2010-01-24 20:07 S.l.e!ep.¢% 阅读(572) 评论(0)  编辑 收藏 引用 所属分类: A·M·F·3

开源的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以及说明文档。建议要使用的人应该去了解,他本身带有简单的使用教程。


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/sujun10/archive/2009/07/22/4371804.aspx


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理