blazeds

Flex Messaging Security

I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field...

BlazeDS - AMFConnection.call giving HTTP 400 status.

I'm trying to use BlazeDS's AMFConnection class to connect to pyamf, but when I call AMFConnection.call(), I get HTTP status 400 (Bad Request - "The request body was unable to be successfully decoded."). I'm more or less following this example: (pyamf.org/wiki/ClientHowTo ... sorry, I'm a new user so I guess I can't use hyperlinks. appen...

Spring BlazeDS flex.messaging.endpoints.AMFEndpoint

I have been struggling with this today for quite a while, removing everything but the default channels just to get it going. I have resolved all of my library issues (I hope) and now am getting the error below. I have also included my config files in case anyone can take a look at this. Thanks!!! 03:19:51,945 INFO [STDOUT] - Context in...

How can I debug AMF (BlazeDS) serialization of Java objects to Actionscript?

I'm using BlazeDS to remote some Java objects that I'm consuming in a Flex application. I'm getting a type coercion error with one of my classes that I can't for the life of me figure out. I have other classes that are working fine using the same data types, and I've gone over my mapping a dozen times. I'm following all of the necessa...

Should I invest in GraniteDS for Flex + Java development?

I'm new to Flex development, and RIAs in general. I've got a CRUD-style Java + Spring + Hibernate service on top of which I'm writing a Flex UI. Currently I'm using BlazeDS. This is an internal application running on a local network. It's become apparent to me that the way RIAs work is more similar to a desktop application than a web...

Getting started with Spring + BlazeDS integration. Hello World wanted.

I'm trying to get my hands a small Spring + BlazeDS integration "Hello World"-ish type of sample/tutorial to see the basic, minimum configuration required for using the Spring & BlazeDS integration available from http://www.springsource.org/spring-flex The download I got came with all these test drive samples, but I can't make freakin' ...

Servlet spring-servlet is not available (Spring+BlazeDS Integration)

I'm trying to setup a Flex project using the Spring + BlazeDS integration by working through the refcard kindly posted by James Ward on refcards.dzone.com. Some problems/challenges are sticking their heads out. The Tomcat deployment is going well, all the files are on the server and I can summon main.swf through the browser. I get the ...

How to support both HTTP and HTTPS channels in Flex/BlazeDS?

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following: <default-channels> <channel ref="my-secure-amf"> <serialization> <log-property-errors>true</log-property-errors> </serialization> </channel> ...

How do I enable RDS support for BlazeDS?

I'm using BlazeDS 3 in my application. The dependencies for the BlazeDS libraries are downloaded from a public maven repository. However I can't enable the RDS support on the server because of some missing library. Does anyone know where this class is located: flex.rds.server.servlet.FrontEndServlet in the blazeds distribution? ...

What minimum .jars do I need for BlazeDS and Spring?

I've managed to create a small project in Eclipse using the Spring & BlazeDS integration. Everything is working fine, my AMF requests are coming through and all is well. I just want to know what the minimum required .jar's would be. At the moment I have a list of more than 35 jars required to make just a very basic application work. It...

Blazeds and Spring security, can remember-me be used in this combination?

I'm using the latest release of Spring Blzeds integration which has some features making it easier to secure invocations on destination objects. However the basic setup I use which uses the ChannelSet login approach form the flex side looses the authentication information (sessions) on each page refresh. Here's the configuration I'm usin...

Why are my HTTP resources not loading in the Flex in a Week tutorial series?

I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project). I access the room list by this: <mx:HTTPService id="rooms" url="ass...

Flex/BlazeDS - resultHandler per function call not per RemoteObject?

I've followed this tutorial to get some Flex code to call Java code hosted on a Tomcat server. This is how my RemoteObject and the Button to call the remote function is declared: <mx:RemoteObject id="productService" destination="productJavaService" result="resultHandler(event)" fault="faultHandler(event)"/> <mx:Button label="Get all Pr...

Compiling a flex application with services-config.xml, with an unknown context.root

I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root. In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory. It seems like there has to be a way to do this, but I haven't been able to come up with ...

Passing an ArrayCollection from ColdFusion to Flex (with BlazeDS)

When pushing objects from ColdFusion to Flex via BlazeDS, and mapping the classes using RemoteClass... [RemoteClass(alias="blah.blah")] ...is it possible to have ColdFusion "Arrays" (or some Java equivalent) automatically mapped to ActionScript ArrayCollections? This chap nearly had it, but not quite: http://www.richinternet.de/blo...

Changing subtopics in BlazeDS and Flex

I using messaging in Flex-BlazeDS. When the AIR client starts it connects to a destination and a specific subtopic. During runtime, the user can use a combo box to subscribe to different sets of live data coming in, this combo box change event changes the subtopic by: messagingConsumer.subtopic = subtopicComboBox.selectedLabel; messag...

Spring MVC and Flex integration over BlazeDS???

Hello dear Stackoverflow - community, my quastion is, which is the best way to integrate existent spring-MVC-Project with flex. I'am using Spring-2.5 lib with annotations. e.g my list controller: package xxx.xxx.controller; @Controller public class ListController { @Autowired private ColorHome colorHome; @RequestMapping("/admin/c...

Which hibernate adapter should I use to handle Lazy Initialization in BlazeDS / Spring integration projects with Flex?

I'm researching ways in which the Spring Framework, Hibernate and BlazeDS can play happily together without throwing lazy initialization exceptions. So far, I ran across Gilead, dpHibernate and an entirely different alternative implementation of this problem via GraniteDS's Tide framework. Aside from GraniteDS, there doesn't seem to ...

BlazeDS vs SOAP and web services

Advantage for one over the other? ...

Flex 3 not returning all the rows from JDBC

I am requesting rows back from JDBC, and binding the values in objects through Flex/BlazeDS into an arraycollection. If I ask twice in sucession, using the same function for the data, the second one invariably returns all the values,and binds them properly into an arraycollection. the first one doesn't return any rows, but doesnlt thro...