blazeds

How to access the Principal from a Java service object without using FlexContext?

We're building some Java objects that are exposed via BlazeDS to our flex client application. So basically the BlazeDS messagebroker servlet instantiates and invokes methods on these objects in response to client requests. Works great. We're using app server-based authentication and have set up a security constraint on the <destination...

What is the best BlazeDS polling method for an low bandwidth network?

I am wondering BlazeDS polling configuration, simple or long polling, is the best for a low bandwidth network. ...

Relative context-root fro flash application

Hello, i' m using BlazeDs. In services-config.xml we got following configuration of endPoint. <channel-definition id="any-amf" class="mx.messaging.channels.AMFChannel"> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> </channel-definition> Before c...

In flex how do I pass data retrieved from a remote object service to a modules interface?

I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use? I could put the RemoteService/Re...

Is there a Maven plugin to generate AS3 classes from Java for BlazeDS ?

Hi, I'm looking for a maven plugin that would generate ActionScript3 classes from Java classes in order to access them by object remoting. I've seen FlexMojo but it uses the GraniteDS generator wich create some problems when it comes to map Enum objects (wich can be fix through a workaround that is describe here : http://dev.c-ware.de/c...

BlazeDS Security Custom LoginCommand

Hi I've implemented a own LoginCommand and it works perfectly for all the remote calls from flex. But beside the flex remote objects I'd like to protect some other web resources like html, jsp and swf files so I added a security-constraint with url pattern in the web.xml. <security-constraint> <web-resource-collection> <web-r...

GraniteDS vs BlazeDS which one is more use than the other ?

Since i'm begining to discover this world, I'm wondering which one of those is more use on professional developpement. Would you be kind enough to tell me in order to make some stats ? ...

Flex+JPA/Hibernate+BlazeDS+MySQL how to debug this monster?!

Ok so I'm making a "simple" web app using the technologies from the topic, recently I found http://www.adobe.com/devnet/flex/articles/flex_hibernate.html so I'm following it and I try to apply it to my app, the only difference being I'm working on a Mac and I'm using MAMP for the database (so no command line for me). The thing is I'm ha...

IIS Flash Remoting Request Limit introduced with Coldfusion 9

Hi all We've just been our Coldfusion servers from Enterprise CF 8.01 to CF 9. They are running Win 2008. We ran into trouble on those servers that provide the Flash remoting back-end for a Flex application we provide. Once the CF 9 upgrade was complete we noticed that during busy times when many Flex clients were connecting, we app...

404 Error using Flash Builder 4 BlazeDS wizard

Hello again Stackoverflow! My issue this time around is trying to use the new DCD BlazeDS wizard in Flash Builder 4. If I set my project up as a combined Java/Flex app I am unable to connect to the RDS servlet using the wizard. I get a 404 error every time. I'm certain the service is set up correctly since my app can access the exposed...

Flex client disconecting

Hi! I am using BlazeDS. Does anybody know how to disconnect client from server? Client must be informed about this event. Thanks for help. ...

Flex Blaze DS not passing OpenSSO authentication cookie?

I have a set of RESTful web services. These services are protected on a Glassfish server by OpenSSO. When I attempt to call the RESTful services directly from a browser, OpenSSO intercepts the request, then forwards the request to the REST service once the user's credentials are authenticated. OpenSSO utilizes a session cookie on subs...

flex blazeds spring exception translator

I am using spring exception translator to wrap java exception into flex exception. eg public void testException()throws Exception{ throw new Exception("my exception"); } But for some reason, I am getting IllegalAccessError. The code sections are entering the testException and the Translator class. Question: why it trying to g...

Is RTMP supported in BlazeDS yet?

Since Adobe opened the RTMP specification to the community, does it mean that RTMP will be supported by BlazeDS? ...

Launching a Java applet from BlazeDS

Hi all, I wanted to know if it was possible to launch an Applet from BlazeDS? Thanks in advance ...

BlazeDs with default destination set to DefaultHTTPS throws Premature End of File Error

Hi all, I'm working on a Flex project that uses the proxy-config file in Blaze in order to get puts and deletes to work for our HTTPService calls. All the calls use https so I have the destination set up to be DefaultHTTPS. When I call any of the HTTPService from my Flex application I get a "Premature End Of File" error. I've calle...

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

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

How to manage association entities in Hibernate / BlazeDS

I'Ive been working on Java/Hibernate/BlazeDS integrations - but am getting stuck with sending the child entities in a one-to-many relationship across BlazeDS... For starters I have a Client and ClientLinks table in MS Sql Server Now java-side in Client the property defining the ClientLinks entity is private Set clientLinks = new HashS...

Automatically catch all exceptions thrown by BlazeDS remoting methods?

Is there a way to automatically catch all (unchecked) exceptions thrown by BlazeDS remoting methods, without wrapping each one in a last-resort try/catch block? My code catches any checked exceptions as required, but I'd prefer that stray NullPointerExceptions, ArrayIndexOutOfBoundsExceptions and the like don't end up being set to the cl...

Limit to HTTPRequest parameter size between Flex/BlazeDS and Tomcat?

We have a web app with a Flex front end making requests to our Spring/Tomcat back end through BlazeDS. I noticed when the data for a parameter we send in the request is over a certain size (something like 1.5M), it simply doesn't show up as a parameter in the request in our servlet. We've verified that the value is populated in the req...