Posted on 2010-01-24 20:07
S.l.e!ep.¢% 閱讀(648)
評(píng)論(0) 編輯 收藏 引用 所屬分類:
A·M·F·3
開源的Remoting框架:Cinnamon 收藏
目前在做一個(gè)后臺(tái)管理系統(tǒng)的項(xiàng)目中,因?yàn)椴幌胧褂肁dobe自帶的remoting組件,所以采用了Cinnamon這個(gè)開源的項(xiàng)目。
Cinnamon是http://www.spicefactory.org/ 中的一個(gè)基于flash remoting技術(shù)的開源框架(具體想要了解的人可以到網(wǎng)站去了解http://www.spicefactory.org/cinnamon/ ,一進(jìn)去就有它的詳細(xì)介紹: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.
根據(jù)個(gè)人的使用感覺來說,還是非常不錯(cuò)的,使用也很方便。它在服務(wù)端聲明了遠(yuǎn)程服務(wù)接口以及實(shí)現(xiàn)類,然后通過他自帶的工具包配合Ant工具,就可以生成對(duì)應(yīng)的客戶端接口和實(shí)現(xiàn)類。然后在使用過程中,只需要使用這個(gè)接口就可以了,非常方便。這種把整個(gè)服務(wù)端的接口搬下來的思想還是非常不錯(cuò)的。
希望有興趣的人可以去了解一下,里面有詳細(xì)API以及說明文檔。建議要使用的人應(yīng)該去了解,他本身帶有簡(jiǎn)單的使用教程。
本文來自CSDN博客,轉(zhuǎn)載請(qǐng)標(biāo)明出處:http://blog.csdn.net/sujun10/archive/2009/07/22/4371804.aspx