blazeds

BlazeDS Destination destroy()?

I have a BlazeDS destination and the scope is set to request. Is there a way to get BlazeDS to call destroy() when the request is complete? Is there another way to know when the request is complete? I know I can use finalize(), but that is only called when garbage collection occurs. Thanks, Matt ...

BlazeDS and Java class in WAR file

Hi I have a java class which has been deployed as WAR web application in a BlazeDS/Spring server sitting on JBOSS. Apart from the Flex application which will access the WAR file, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging. What is the best way to implement t...

Flex streaming timing out

I have a Flex GUI which is using AMF Streaming to BlazeDS on WebLogic 9.2. As the AMF Streaming uses long polling, it keeps the connection open for extended periods of time. WebLogic has a max thread timeout of 600 seconds. WebLogic throws an error and times out the thread if it has been alive for longer than the timeout. This causes my...

Scalability Blazeds | 3000 messages | 1 min

Hi I am using Blazeds-3.2.0.3978 amd Weblogic 10.0.0.1. I have the session timeout for 5 minutes. Below is channel definition i am using channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel" endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoi...

best practice - keep alive session in flex

Hi Does anyone know a standard way to keep alive the http session as long user has open the flex app in the browser? I played around with the polling mechanism of blazeds. But it had no affect on the http session. thanks & regards Cyrill ...

How does [RemoteClass] work in Flex Actionscript can I use it for custom data-binding?

Actionscript supports a [RemoteClass] metadata tag that is used in BlazeDS to provide data-binding hints for marshalling AMF binary objects from Java to BlazeDS. For example: Java: package sample; public class UserInfo { private String userName; public String getUserName() { return userName; } public ...

BlazeDS accessing HTTPRequest/HTTPSession in custom Java MessageAdapter

In a custom MessageAdapter written for a BlazeDS Java server, is there any way to access HTTPSession and HTTPRequest in a custom MessageAdapter. I'm trying to adapt an existing COMET JSON long-poll messaging system to BlazeDS and we use HTTPRequest parameters to specify message sending/polling paramers (such as a unique ContextID for an...

BlazeDS point to point examples using JMSAdapter or custom MessageAdapter

Is there any example of using JMS Queues in BlazeDS as point-to-point communication to a Flex client. I'm curious in writing a custom MessageAdapter for BlazeDS that is adapting a point-to-point message queue system and I want to understand how it works for JMS Queues which are point-to-point. The BlazeDS documentation describes JMS Qu...

Flex Cairngorm Spring Blazeds - Remoting Error - help me please....

Hi all, I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks Mike. **Error: C0007E: RemoteObject not found for mycomponentsService at Remote...

Why is the Spring/Flex/BlazeDS Messaging service-adapter not called?

I have attached a service-adapter to a spring message-destination as follows: <flex:message-destination id="secured-chat" send-security-constraint="trusted" subtopic-separator="." service-adapter="secured-chatAdapter" allow-subtopics="true" /> The init methods are called during the bean's initialization, and I...

AMF client in Java

Hi I am using BlazeDS java client to get info from this page. This page has a form in the middle that when you select a type, the location combo on the button gets updated. I am trying to use BlazeDS to get those values in java. I have been using Charles web proxy to debug, and this are the screenshots from the request and the response...

How to use temporary queues from BlazeDS (OR Spring-Flex)?

Is there a way to tie a BlazeDS Message Destination to a JMS Temporary queue? ...

Client.Error.MessageSend problem with Flex/BlazeDS on JBoss

I'm developing a Flex 3.4 app that interops with a Java EE backend running on a JBoss-4.2.2 server, through the most recent release of BlazeDS. When I ran the Flex app from Flash Builder 4 beta 2 on Tomcat, everything was fine, the Flex app was able to make the remote call needed. But my production environment is on JBoss, and when I mov...

BlazeDS turnkey configuration for mysql

What is the configuration and code required to use mysql within a BlazeDS turnkey environment? ...

How do I get a strongly typed collection from BlazeDS?

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 a...

LCDS Vs BlazeDs

Hi Any one can explain the difference between the LCDS and BlazeDs. Both are supporting HTTPService,Webservice,Remoting service. So why we need BlazeDs or LCDS? ...

BlazeDS data push over SSL

I have an application that uses the data push technology of blazeDS to send data to a Flex Client event 5 seconds. The application works fine when I run it via HTTP with or without a proxy. When I run it via https the data push doesn't work anymore. I get the following error rootCause [IOErrorEvent type="ioError" bubbles=false cancelab...

Modifying AMF response at runtime - How to?

I have built a simple flex application (using BlazeDS) which displays "Person" details by invoking a java service using flex remoting. So, my Person class looks something like this: class Person { public int age; public String name; } As a java developer, here is my understanding: When I run the front flex app in my webapp, an RPC c...

Blaze DS via Ajax with ColdFusion

I want to use Adobe's Blaze DS via ColdFusion through Ajax. I know enough ColdFusion and JavaScript to do what I want to do, but I want to add long poling into the application and it looks like the only way to do that is through Blaze DS...but I don't know enough about Flash/Flex to finish the job. Anyone know of an Ajax Mockup that work...

how to push data from BlazeDS without recieve message from Flex client?

Hi, everyone I am using BlazeDS for data-push feature in my Flex application project. From the official tutorial, Getting started with BlazeDS, it shows messaging example with producer/consumer from API. but how can I implement server side which doesn't need to be invoke from Flex client, but from within server-side instead. I got some...