blazeds

How do I get a strongly typed collection from BlazeDS?

拈花ヽ惹草 提交于 2019-12-03 07:41:35
I've exposed a Spring bean to my Flex app via BlazeDS. In my Java code I return strongly typed lists. e.g. public List<Folder> getFolders(String path) { return dao.getFolders(path); } The Flex app receives the data as an ArrayCollection of AS3 Object instances - i.e. not as a ArrayCollection of Folders which is what I want. I've annotated my Flex class as follows: package myproject.vo { import com.adobe.cairngorm.vo.IValueObject; import mx.collections.ArrayCollection; [Bindable] [RemoteClass(alias="myproject.vo.Folder")] public class Folder extends PersistentObject implements IValueObject {

BlazeDS and ArrayList of custom objects

不问归期 提交于 2019-12-03 03:47:16
I'm using BlazeDS to connect Flex with Java. I'm having trouble passing ArrayLists of custom objects from Flex to java. I have two objects, one is called Category, the other Section. A Category has an ArrayList of Section objects. I can send an ArrayList of Category objects back and forth between Flex and Java, the problem is when I try to access the sections ArrayList of a Category object that has been returned to Java from Flex, I get the following error: flex.messaging.MessageException: java.lang.ClassCastException : flex.messaging.io.amf.ASObject For some reason I'm getting an ArrayList of

BlazeDS vs. GraniteDS [closed]

岁酱吖の 提交于 2019-12-02 23:21:30
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Anyone have any experience evaluating BlazeDS and GraniteDS? I'm curious about which is better at integrating with Spring/Hibernate. If you are just looking for simple RPC and messaging, I would go with Blaze. The implementations are more mature and better

hibernate properties not found

丶灬走出姿态 提交于 2019-12-02 21:05:52
we are integrating the java blazeds hibernate with flex project..First we tested the pure java hibernate in eclipse and it is executing fine. But when we put the same in tomcat for flex integration with blazeds it is showing the following error.this is the only error. Jan 24, 2013 11:31:31 AM org.hibernate.cfg.Environment <clinit> INFO: Hibernate 3.2.6 Jan 24, 2013 11:31:31 AM org.hibernate.cfg.Environment <clinit> INFO: hibernate.properties not found Jan 24, 2013 11:31:31 AM org.hibernate.cfg.Environment buildBytecodeProvider INFO: Bytecode provider name : cglib Jan 24, 2013 11:31:31 AM org

Which is the best way to get Data in my Flex Application?

和自甴很熟 提交于 2019-12-02 15:21:50
问题 I am new in Flex Development, While creating a new Mobile project it asks me if I want to Connect it to Some Servers and gives me four options `ColdFusion, PHP, Java and blazeDS). I have worked in java for all the time and not a PHP fellow, I would have simply selected Java and ignored all other. But Since efficiency is an important concern in my current project I dont want to take a chance. According to you Which one is the best option i.e. ColdFusion, BlazeDS or Java, considering the fact

Which is the best way to get Data in my Flex Application?

て烟熏妆下的殇ゞ 提交于 2019-12-02 08:22:10
I am new in Flex Development, While creating a new Mobile project it asks me if I want to Connect it to Some Servers and gives me four options `ColdFusion, PHP, Java and blazeDS). I have worked in java for all the time and not a PHP fellow, I would have simply selected Java and ignored all other. But Since efficiency is an important concern in my current project I dont want to take a chance. According to you Which one is the best option i.e. ColdFusion, BlazeDS or Java, considering the fact that most of the time I will be storing large binary data in database i.e. Audio / Video files etc.?

What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do?

倾然丶 夕夏残阳落幕 提交于 2019-12-02 00:29:27
问题 I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc). Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't? 回答1: Other than NIO (RTMP) channels, LCDS include also the "data management" features. Using this feature, you basically implement, in an ActionScript class, a CRUD-like interface defined by LCDS, and you get: automatic progressive list loading (large lists

Duplicate Flex Sessions With Cross-Domain Requests

瘦欲@ 提交于 2019-12-01 19:53:08
When I make a request locally, I have no problems at all maintaining my FlexSession; however, when I make a request from another computer, it creates duplicate FlexSession for every request. I noticed the JSESSIONID is different for each request which is what's probably causing the duped sessions. But I have no idea why this is happening. The specific error I get is: Channel.Ping.Failed error Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly. My crossdomain.xml is as

NetConnection.Call.Failed happening sporadically in Flex3/Tomcat/BlazeDS/Spring

半城伤御伤魂 提交于 2019-12-01 06:46:34
I have a very large problem. I've written a large app using Flex3/Tomcat/BlazeDS/Spring that has worked very well while developing locally, fine when I deployed to a common dev environment, but then fails very often when deployed to our test environment. The failures seem to happen most when a remoting request takes a good bit of time (more than 20 seconds). On my dev server, the errors happen, but only when the request takes a very long time (more than 45 seconds). However, the error also occurs seemingly instantly at times (send a request and it fails immediately). Most of the errors also