Anyone have any experience evaluating BlazeDS and GraniteDS? I'm curious about which is better at integrating with Spring/Hibernate.
相关问题
- hibernate properties not found
- NetConnection.Call.Failed happening sporadically i
- Duplicate Flex Sessions With Cross-Domain Requests
- How does [RemoteClass] work in Flex Actionscript c
- blazesds consuming huge memory
相关文章
- hibernate properties not found
- NetConnection.Call.Failed happening sporadically i
- Duplicate Flex Sessions With Cross-Domain Requests
- How does [RemoteClass] work in Flex Actionscript c
- 是否有可能到Flex应用程序连接到两个不同的BlazeDS的服务器?(Is it possible
- 我怎么可以跟一个BlazeDS的端点,而无需闪光(how can I talk to a blaze
- Flex的RemoteObject的 - 处理多个请求(Flex RemoteObject - ha
- blazesds consuming huge memory
A few side notes on Cliff's comments:
So, IMHO, unless you are developing a small application with a rather trivial data model, you should go to GraniteDS.
If you are just looking for simple RPC and messaging, I would go with Blaze. The implementations are more mature and better proven, especially with respect to messaging. The messaging in Granite is based on Comet and still pretty new from what I remember. More details below...
Blaze DS is basically a stack that includes RPC and some simple messaging services over HTTP. Integration with Spring is achieved easily using the SpringFactory implementation of FlexFactory: just google the class name and you'll find the code. It doesn't offer any additional support for things Hibernate-related.
Granite DS is growing rapidly in terms of features. It competes more with LCDS than Blaze DS. It includes the ability to parse Hibernate object graphs and deal with lazy proxies in a clean fashion. They also have a tool called "Tide" that creates an analog of a Session in the Flex client to ensure uniqueness of entities. They also have explicit support for services exposed via Spring, EJB3 and Seam. Granite also has a utility for generating AS3 classes from your Java classes (although this not hard to write yourself if you want to).
I worked with Granite about a year ago and had some problems getting it properly parse object graphs; the Flash Player would throw some nasty low-level exceptions. My guess is that the documentation and implementation have matured since so that these are no longer issues. However, I'm still a bit hesitant to recommend it since I ran into issues and switching to Blaze immediately resolved them with no trouble at all.