0
我有一個Flex/Spring/LCDS項目,我試圖使用Spring/Flex集成模塊。針對彙編器的LCDS /彈簧集成
它適用於公開簡單目的地&消息傳遞終點,但我不確定如何配置使用匯編程序。
香草,無彈簧集成,方式包括宣佈的目的地,如:
<destination id="book.service">
<properties>
<source>flex.data.assemblers.HibernateAnnotationsAssembler</source>
<item-class>com.library.Book</item-class>
</properties>
</destination>
然而,當我嘗試使用Spring這種方式整合,我來脫膠。
此目的地需要一個適配器。運行原來的樣子,使得春/ Flex集成到安裝默認的遠程適配器不工作,因爲我在rumtime出現以下錯誤:
Caused by: flex.messaging.config.ConfigurationException: Destination 'book.service' must specify at least one adapter.
我怎麼這個目的地連接適配器?
另外,HibernateAnnotationsAssember
是否會檢測並集成Spring管理的Hibernate會話,還是需要額外的配置?
感謝您的回覆,但它有點誤導。將Spring Bean作爲遠程目標公開時,Flex/Spring集成包可以正常工作。但是,將spring bean作爲彙編程序公開是行不通的。 – 2010-10-29 13:40:01
是的,這就是我試圖用「僅用BlazeDS」說的:) – 2010-10-29 15:35:16