blazeds

How to reduce the time request between producer (Java) and consumer (Flex) with JMS Message?

Hi, I have implemented application client-server with spring blazeDs message services using JMS message destination. The idea is a producer declared in Java send message using activeMQ and consumer declared in Flex receives them. I have configured the AMFChannel with a polling interval 0, but I have seen when the consumer subscribes t...

Simple file upload using Flex UI and Spring/Hibernate/BlazeDS backend?

I'm new to Flex and BlazeDS and I'm trying to implement a simple application which uses Flex on the front end and a Spring/Hibernate application on the back end, with communication between the two going over a BlazeDS channel. I'm seeking direction as to the best and/or simplest way to approach this. I have the UI set up in such a way ...

Exactly how many users can Support Blazeds Messeging service ? for much user support what we need to do(pooling) ?

I designed one On line Trading Application, which uses blazeds & jetty, in that i used AMF-LongPooling as channel, with following parameter, Here is the problem is Each message is not reaching all the user,who are connected, messages are missing to few users (300 recieving out of 600)... what we need to do to provided instant messages ...

Max Upload file size for Java using Remote object (BlazDS)?

I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE. ...

How to get a channelSet to be authorized when a session already exists without calling login

In my Flex application, channelSet is reset on each browser refresh. If you've authenticated and refresh the page and check channelSet.authenticated, it says false, but your remoteObject calls will still work because the server session still exists. I have a service call that checks for a session on the server and can identify that one ...

Pushing Questions to a client using Adobe BlazeDS/LiveCycle

Hi all, Over the past few weeks, I have been creating a sort of text-based adventure game revolving entirely around the actions of a player. The general idea is that there is a Simulation class that maintains the state of the world, and is the responsibility of the SimulationController (ie, the player) to keep actions going. Most of t...

Stress test BlazeDS polling

Hi, I'm looking for some guidance on stress testing BlazeDS polling channels. I've followed this excellent article on using jmeter to test AMF messaging: http://blog.jteam.nl/2009/07/14/performance-testing-a-flex-blazeds-application/ But that's only suitable for non-polling messages. I can't just generate the AMF for all polling mess...

Freely creating BlazeDS RemoteObjects

Hi all, So I know BlazeDS's standard MXML syntax for creating remote objects. Ex: <s:RemoteObject id="sim" destination="SimulationWebService" > <s:method name="getAvailableTargetNames" result="setTargetNames(event)" /> <s:method name="getAvailableToolNames" result="setToolNames(event)" /> <s:method name="ge...

How do you integrate Flex 3 with Spring 2.5

Can Spring 2.5 be used with Flex 3.x my original question was misleading ...

Hibernate joins every table in database

I've set up a small project as a test. I'm using BlazeDS and JPA with Hibernate on my test server, and flex with with dpHibernate to access the Java entities. Each Java entity extends BaseEntity, a class that contains ID and UUID fields. The Flex entities are created by DTO2FX. My problem is that, when I run the Flex project to try and ...

Adobe BlazeDS Logo

Hello to all. I am using BlazeDS and I want to visualize it in a presentation. Therefore I am searching fo a BlazeDS logo. I only find 4-5 matches on google images, like this one: http://www.clemencanaria.co.cc/wp-content/uploads/2009/01/blazeds-logo1.png Is this the official logo? And if yes, where could I get an image with a better r...

Flex + SBI + dpHibernate, I think I missed something...

Hi all, So, my problem is : All my project is (well ?) configured but I don't have lazy loading ! This a sample project I'm making to prepare the real project coming just after. In simple words, I have 3 tables : Category, Product, Client, and the association between the last two, Buy. On the Flex side I have two simple datagrid, the ...

Grails dependency injection no longer working after upgrade to Grails 1.3.3

Hi All, Project setup is Flex 3-BlazeDS-Spring Flex Integration-Grails Dependency injection in my Service classes was working just fine with Grails 1.2.1, when service methods were called from my flex client. When I upgraded my project to 1.3.3 yesterday using the regular 'grails upgrade' command, everything went well but once I start...

Flex 4 & Spring 3 Integration (BlazeDS) (Refcardz): @Secured not working

Hi, Please be gentle on the quasiNoob(expert w/Flex & Actionscript, != expert w/Spring) ! I am on Mac Snow Leopard and using STS 2.3.2 Release w/the Flash Builder 4 plugin and tomcat 6. Everything works except for the security exclusion using the Spring @Secured annotation in the java class: When I am not logged in, I can enter messag...

Cannot access the web server error on Glassfish v3

Hello, I have developed a web application in Eclipse 3.6 on GlassFish v3 and i am trying to add a FlexProject to it. I have deployed Dlazeds on Glassfish and i followed this tutorial to create a flex project : http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/ I changed the web.xml file to match the schema but when i try...

How does one create Channels at runtime using BlazeDS?

Hi all, So as you may or may not know, BlazeDS (open source version of LiveCycle Data Services) is a nice way to get your server-side Java and client-side Flex application to play together. Unfortunately, it does have several pitfalls that need to be corrected. I'll try to explain one of them here. All of BlazeDS's configuration is w...

Securing access to my custom servlets using Spring Security Blazeds integration

Hi All, I have configured spring security with my flex blazeds application successfully and access to all the beans is now secured. How can I secure access to HTTPService ( servlets) defined in proxy-config.xml. I have tried the following approaches but none worked. 1) In my custom authentication provider i have added the following lin...

Is is possible to provide REST and SOAP and AMF (BlazeDS) services from the same WAR?

Is there any issues with providing several different formats of web services from the same application server? ...

Fields are mismatched when passing object from Java to Flex, how do I fix it?

We have a pretty big application with lots of objects being passed between flex and java. One object in particular has a subtle bug: It's a plain old java object being passed to the flex front end (using blazeds producer/consumer messaging). The POJO has two String properties such as: myShirt.color = "brown"; myShirt.description = "wi...

Flex can't cast an Object to MyType despite the debugger indicating the object is MyType.

I make a remote call to a method defined on my Java back end (using BlazeDS). This method returns a MyType object. On the Flex side the return value is of course wrapped inside a ResultEvent object and stored as an Object. The debugger clearly shows that the ResultEvent contains a MyType in its result field. So naturally you'd expect tha...