blazeds

ActiveMQ does not stop subscription when flex client disconnects

I'm using activeMQ 5.3 to send messages to a flex client via blazeds 3.2. When the client connects for the first time, I can see the subscriptions to the activeMQ broker being made. However, after I kill the browser that runs the client the subscriptions remain open even though no messages are being consumed anymore. This finally resul...

Java Hibernate Memory leak

Hello, I'm developing a Flex application with BlazeDS and I'm experiencing memory leak when using java to query from MySQL in hibernate. Can anyone tell me how to deal with this memory leak? It seems that each time query is invoke java.exe takes more memory. Thanks Sample of my java factory = Persistence.createEntityManagerFactory(PE...

How to create a Web Server for asynchronous request from a Flex/Air client?

I have created a client with Flex Builder which works in a browser but also in an Air windowed application. I must connect it to a server and it has to do asynchronous request related to changing data of the server. Because of the too much expensive cost of LiveCycleDS license, I was looking for other ways, maybe open source and i found ...

Actionscript class not found at runtime for BlazeDS communication

We are using GraniteDS autogenerated AS code to map Java remote objects to AS. We have objects that contain List sites in Java so when they are converted to AS it looks like: JAVA: private List<MyObject> territories; Actionscript: private var _territories:ListCollectionView; The trouble is we are using MXML databinding to...

Flex file upload with HTTPS and JAAS ?

We're trying to upload a file from a flex client to a JEE app. In a full HTTPS environment JEE server is JBoss 5 Using BlazeDS 'Custom' authentication (username and password are entered trhough a flex form) Using BlazeDS per session authentication In regular AMF calls, we can access user principal and use role mecanism. However, in ...

How to indicate failed authentication reason to flex client with JAAS ?

We're using : JBoss 5 Flex SDK 3.5 BlazeDS 3, with integrated authentication (through JAAS and JBossSX) Failed login are always indicated to the flex client by the same fault code : Client.Authentication However, the underlying JAAS LoginModule throws a specific javax.security.auth.login.LoginException subclass. How can we propagat...

Fetching remote objects add "_$$_javassist_x" to type

Hi, we have a client/server app (Flex and Java) that uses BlazeDS to do remoting. This allows us to exchange and map types between client and server. For some reason a User type we are retrieving from the server is not sent as "User", but as "User_$$_javassist_x", where x is an integer. The other types we are sending over all work fine...

Eclipse/Flex WTP Project Stops Working within Eclipse

I have a Flex/WTP project within Eclipse that was running within Eclipse for a short time but then all of a sudden stopped working. Specifically, it was complaining about not being able to find a Java class on the server-side. I have not made any configuration or path changes to the project. The specific error is: [FaultEvent fault...

What are the drawbacks of using Spring BlazeDS Integration?

I have a little prior experience with Spring framework and Flex, but never used them together. I'm starting a new project and would like to use Spring and Flex. I noticed that there is some special "Spring BlazeDS Integration" library. Due to tight deadlines I'm unable to do a proper evaluation and I would appreciate StackOverflow commun...

Problems with indepth flex loading of value objects (Lazy loading at the front-end?)

Hi, I'm using a java-backend with a flex frontend. And when i want to use a labelfunction it doesn't load the indepth properties such as a value object, it's like it is lazy loaded in the flex side, I'm sure it is not comming from the backend because i've checked it overthere. I've got it also in datagrid's that it doesn't load all the...

BlazeDS authentication/session timeout

I've implemented security of a BlazeDS service accessed through a Flex application by logging in and out of the ChannelSet (I followed: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=services_security_1.html ). How do I handle timeouts? Right now I have a faultHandler for RemoteObject calls that checks if event....

Deploying flex application to tomcat without eclipse plugin

I am using flex sdk to develope my application, now i want to deploy it into tomcat server with blazeDS how to do it with out the eclipse plugin? ...

Flex/Spring: Working with join table/entity

Hi guys, I have a question regarding mapping and entities/domains with Flex/Spring mapping via BDS. I currently have domains mapped to tables, and I am working off existing code to try and change the logic from web services to work with Blaze. Now, i came across a value object used previously that mapped to a datagrid, but that value o...

flex and jsf access the same instance of bean

i integrate a flex app in a jsf-icefaces app (in a jspx site with the ice:outputmedia-tag) and want to access the same instance of a bean from flex by remote, that jsf inject. i already connect with blazeds to a java-bean. this bean - like all other beans - get other beans by injection of jsf, but when i access the bean by remote from f...

BlazeDS Servlet not responding through Proxy

Hi everybody, I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. :-) Our scenario is the following: Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5. The Webapp is balze ...

Disappointed with BlazeDS... are there ways around these disadvantages?

I used to use soap webservices for transferring chart data to my flex app, but recently switched over to using BlazeDS because of performance, convenient typing, etc. I'm considering switching over to using JSON (as I do in other parts of the app) for these reasons: Proliferation of DTOs for communicating with flex.* (With JSON, I jus...

BlazeDS Flex-AJAX Bridge load doesn't work with Ext.JS

The FDMSLib for the Flex-AJAX bridge has a load function that renders a flash object to the page where ever it is called. This causes problems when using Ext.JS as the inserted object can either be discarded by another render function or cause conflicts during the rendering of the page, so I'm trying to rewrite the load function so that...

An application with Flex, BlazeDS, Apache Tomcat, Java and Hibernate

I want to make an application which involves technologies like Flex, Java, Hibernate, BlazeDS and the server is Apache Tomact 6.0. Can anybody help me in how to link the various files I have. I'm using Eclipse Europa currently. I want to know where to deploy the .mxml and .class files and where BlazeDS will come into all this. ...

Java Spring remoting options

A little context: I would like to separate the Java application I'm writing into a more or less typical server-client model. I would provide a "server" which takes care of business logic and persistence, but write it in a very service oriented fashion. Any front-end code (GUI) would then call upon the server to provide the functionality ...

BlazeDS 3.2.0 and JBoss 5.1 DatabaseServerLoginModule

Has anyone that is using BlazeDS RemoteObject been able to retrieve the authenticated user roles through JBoss DatabaseLoginModule login policy? I'm using using BlazeDS 3.2.0 and JBoss 5.1. I can successfully authenticate but I, users with unauthorized roles are still able to login. I've changed the Realm in default/jbossweb.sar/server....