blazeds

Can a Flex client app connect to BlazeDS running on a different server?

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange? (This might offer an...

How is mx:DataService in LCDS different from Flash Builder 4 DCD data features?

LCDS Data Management via <mx:DataService> (only available with fds.swc from LCDS) can do pagination and data sync, but FlashBuilder 4 + Flex4 can do them as well! See the following Flex4 + FlashBuilder 4 tutorials: Manage the access of data through paging Using Data Management to Synchronize Data Updates How do these 2 data managem...

Spring + Flex + BlazeDs configuration

Hi, How Flex knows to call the particular service in Spring framework. I give in Flex side: <mx:remoteObject id="myObj" destination="mySpringservice"/> And remote-config.xml file: <destination id="mySpringservice"> <properties> <factory>spring</factory> <source>mySpring</source> </properties> </destination>...

Detecting (on the server side) when a Flex client disconnects from BlazeDS destination

Hi all, I'd like to know whether it's possible to easily detect (on the server side) when Flex clients disconnect from a BlazeDS destination please? My scenario is simply that I'd like to try and use this to figure out how long each of my clients are connected for each session. I need to be able to differentiate between clients as well ...

What's the best way to secure a Flex-BlazeDS application?

What's the best way to secure a Flex-BlazeDS application? I've googled it an several solutions came up. UPDATE after question from jsight: Flex would login, so on the RemoteObject I'll set Credentials I don't know if there comes authentication and authorization with BlazeDS (WebORB for instance does and WebORB looked at BlazeDS for t...

Flex BlaseDS messaging, detecting client connect and disconnect

Hi Can some one tell how can I get a notification in the server whenever a Flex consumer/producer connect to my JMS streaming server ? I would like to log client activities like connected, disconnected etc. Let me know how I can track these events in java using BlazeDS. Thanks ...

Spring BlazeDS + Flex + JBoss Project setup in eclipse using Maven

Hello, I would like to know how to proceed to set up a work environment in order to develop Spring BlazeDS applications. Those server applications are meant to be accessed via AMF remoting from some client Flex application. Actually I have Maven and m2eclipse set up and working, local JBoss v6.0M2 running, Flex 4 plugin installed. Ide...

accessing jsf bean from blazeds client

How can I access a jsf managed bean (say, icefaces) from a blazeds client? Will it be possible to share the same session information also ? (for eg, if I have a page with a jsf/icefaces component and a swf client - can they use the same session?) ...

JPA and hibernate for Flex

I'm using JPA but I'm not sure how to use it for relation between two classes. I need to connect them @OneToMany. I have done this before but forgot. Is there any good tutorial for this or an example that is easy to understand. By the way this is a Flex application where I'm using BlazeDS for connection between Java and Flex. ...

Flex Null Integer

Hi; I take data from Java to Flex by AMF (BlazeDS) In java side object has Integer field. So it can be null. In Flex side object is int. So null values are deserialized as 0. This is not what I want, I want to see whether it is 0 or null. Is there wrapper like (Integer in Java) for Flex? Thanks ...

Hibernate @Any doesn't work with FLEX and BLAZE DS

I have a class using the @Any annotation to store references to arbitrary persistable object ... @Any(metaColumn = @Column(name = "IFT_CD")) @AnyMetaDef(idType = "long", metaType = "long", metaValues = { @MetaValue(targetEntity = Participation.class, value = "101"), @MetaValue(targetEntity =...

BlazeDS error - IOException reading message - client closed socket before sending the message?

I have a flex client and I am submitting a form with GB18030 CJK Unified Ideographs Extension B characters (Unicode value > FFFF). The form hangs and I see the following error in the log file [BlazeDS]Channel endpoint my-amf received request. [BlazeDS]IOException reading message - client closed socket before sending the message? [BlazeD...

Connecting Flash AS2 (or AS3) to BlazeDS

All, I'm looking for some information on connecting a Flash (not Flex) application to Blaze DS. (A Google search is surprisingly unhelpful...) Adobe's mini-site about BlazeDS (http://opensource.adobe.com/wiki/display/blazeds/Overview) mentions: Blockquote Welcome to BlazeDS! BlazeDS is the server-based Java remoting and web messag...

BlazeDS - Conversion from ArrayList <BaseClass> on java side to Actionscript

Hi, So we have a java class with two ArrayLists of generics. It looks like public class Blah { public ArrayList<ConcreteClass> a; public ArrayList<BaseClass> b; } by using [ArrayElementType('ConcreteClass')] in the actionscript class, we are able to get all the "a"s converted fine. However with "b", since the actual class comin...

Setting up multiple channel types (AMF/AMFX) for Flex/BlazeDs

We've configured our Flex client to have two channels for calling our services via BlazeDS. One channel is configured to use AMFChannel and the other for HTTPChannel. Here's the services-config.xml <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> <endpoint url="http://{server.name}:{se...

Blazeds works fine but have to refresh the client to get it to work

Blazeds works fine but have to refresh the client once again to get it to work. Any solution? any one has got into this before? description and code in the following link. http://forums.adobe.com/thread/598507?tstart=0 ...

How to use Blazeds with a custom classloader?

Hi, has anybody tried using a custom classloader with BlazeDS? We have a web application using BlazeDS and we can convert Java objects in to ActionScript object and back without problems in the main application. However, we also have a plug-in mechanism based on a custom classloader. BlazeDS cannot map the types contained in jar files...

How to handle custom Java exception in Flex app.

Hello, we are using BlazeDS as a proxy between Flex and Java. The approach is the same as in (http://www.flexpasta.com/index.php/2008/05/16/exception-handling-with-blazeds-and-flex/) Java exception declaration: public class FlexException extends RuntimeException { private String name = 'John'; public FlexException(String message) {...

Ivy/gant include BlazeDS jars that aren`t in a public repo and have no version

Hi, Ive been trying to figure out the best way to include the BlazeDS jars in my Gant/Ivy build. Ive been unable to find a public repo for these jars and Im new to ivy. Obviously with Maven youd just do a local maven install to your local repo. Whats the best way to do something similar with Ivy? Do I have to create a separate Ivy.xml fi...

How to solve "NullPointerException" with "Server.processing" error while we are using Flex Builder 3 and BlazeDS?

I am using Flex builder 3, BlazeDS, and Java with Spring and Hibernate framework. I using the remote object to load a string from spring's configuration files. But in testing, I found this fault event like this: RPC Fault faultString="java.lang.NullPointerException" faultCode="Server.Processing" faultDetail="null" I have chec...