blazeds « flex « Java Enterprise Q&A





1. Flex - best strategy for keeping client data in synch with backend database?    stackoverflow.com

In an Adobe flex applicaiton using BlazeDS AMF remoting, what is the best stategy for keeping the local data fresh and in synch with the backend database? In a typical ...

2. What is the best way for Adobe flex to communicate with Java?    stackoverflow.com

I am currently working on a project for school which will be a webapp where the gui will be programmed in Adobe Flex and the backend will be programmed in java, ...

3. Call Java functions in Flex    stackoverflow.com

Right now I'm trying to understand how Flex works with Java (Flex -> BlazeDS -> Java). I tried to follow THIS tutorial and everything works fine, I just don't ...

4. BlazeDS authentication    stackoverflow.com

I am confused about authentication with BlazeDS. Most of the few examples I have found for authentication and authorization in BlazeDS and consequently Java Servlets in general make use of HTTP ...

5. What effect has open source BlazeDS had on the adoption rate of Adobe Flex?    stackoverflow.com

Is there any reliable way to check statistics for this question? I'm skeptical whether measures like Google Trends really say much but I was thinking the job market for Flex jobs ...

6. BlazeDS and ArrayList of custom objects    stackoverflow.com

I'm using BlazeDS to connect Flex with Java. I'm having trouble passing ArrayLists of custom objects from Flex to java. I have two objects, one is called Category, the ...

7. How to support both HTTP and HTTPS channels in Flex/BlazeDS?    stackoverflow.com

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:

<default-channels>
 ...

8. How do I enable RDS support for BlazeDS?    stackoverflow.com

I'm using BlazeDS 3 in my application. The dependencies for the BlazeDS libraries are downloaded from a public maven repository. However I can't enable the RDS support on the server because ...

9. Why are my HTTP resources not loading in the Flex in a Week tutorial series?    stackoverflow.com

I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the ...





10. Changing subtopics in BlazeDS and Flex    stackoverflow.com

I using messaging in Flex-BlazeDS. When the AIR client starts it connects to a destination and a specific subtopic. During runtime, the user can use a combo box to ...

11. Data push to flex application from .net backend    stackoverflow.com

I'm about to go into a large scale application (client-flex, server-.net). The server side is required to push data to the clients without them asking for it, this data can be tables ...

12. BlazeDS Destination destroy()?    stackoverflow.com

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

13. BlazeDS and Java class in WAR file    stackoverflow.com

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

14. Flex streaming timing out    stackoverflow.com

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

15. BlazeDS accessing HTTPRequest/HTTPSession in custom Java MessageAdapter    stackoverflow.com

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

16. How do I get a strongly typed collection from BlazeDS?    stackoverflow.com

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





17. how to push data from BlazeDS without recieve message from Flex client?    stackoverflow.com

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

18. Fetching remote objects add "_$$_javassist_x" to type    stackoverflow.com

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

19. Eclipse/Flex WTP Project Stops Working within Eclipse    stackoverflow.com

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

20. BlazeDS authentication/session timeout    stackoverflow.com

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

21. Disappointed with BlazeDS... are there ways around these disadvantages?    stackoverflow.com

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

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

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

23. What's the best way to secure a Flex-BlazeDS application?    stackoverflow.com

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

24. Setting up multiple channel types (AMF/AMFX) for Flex/BlazeDs    stackoverflow.com

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

   ...

25. How to use Blazeds with a custom classloader?    stackoverflow.com

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

26. How to handle custom Java exception in Flex app    stackoverflow.com

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

27. Chatroom, show who is online    stackoverflow.com

Using BlazeDS, I have developed a simple chat room but how do I go about showing who is online and what happen if the user close the web browser without disconnect, ...

28. BlazeDS/PureMVC and shared vos    stackoverflow.com

I'm building modular application with 2 modules which share common vo: ShopRegionVO This vo is also a BlazeDS entity and is mapped to a remote java object. When shell loads first module ...

29. Flex client disconecting    stackoverflow.com

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

30. BlazeDs with default destination set to DefaultHTTPS throws Premature End of File Error    stackoverflow.com

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

31. Max Upload file size for Java using Remote object (BlazDS)?    stackoverflow.com

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

32. Adobe BlazeDS Logo    stackoverflow.com

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

33. Not able to access the FLEX ,BLAZEDS,JAVA Application from other computer    stackoverflow.com

I have developed a FLEX ,BLAZE DS,JAVA,Hibernate Application and able to deploy and run in my localhost on tomcat. When i am trying to run the same URL with my IP Address ...

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

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

35. Why is BlazeDS not serializing some fields?    stackoverflow.com

I'm using Flex 3.5, BlazeDS 3.2.0.3978 and EJB3 for backend. There are two RPC which are important to the problem. The first call will get a list of ThirdParty objects, this ...

36. Date issue in Client(Flex) and Serverside(JAVA) issue    stackoverflow.com

I have a date porblem in flex applications. while submit the date in flex applcation (28/09/2010 10:00:00 AM) as a string, the date is cobnverted in to Date object inserver side and ...

37. Flex/BlazeDS Trading application - How to create a professional looking website?    stackoverflow.com

I am a Flex/Java developer, in the process of creating a Financial/Trading website for a start-up company. The default look and feel of Flex (out of the box) is pretty plain and ...

38. BlazeDS serialization with complex types    stackoverflow.com

I recently came into a situation when sending a nested object from Java to Flex via a HashMap the Objects were null. More precisely:

final Map<Integer, List<String>> tempMap = new HashMap<Integer, List<String>>();
would ...

39. Intercepting Date objects coming from BlazeDS and adjusting for timezone differences    stackoverflow.com

I am working on an application that is near the end of its development cycle and has mostly passed user testing. We recently realized that having flex convert dates to the ...

40. Custom Marshalling from Java to Flex via BlazeDS    stackoverflow.com

My team are putting together a proof-of-concept Flex application sitting on top of a Spring-based server using BlazeDS. We do quite a lot of date calculations, so we use Joda Time extensively ...

41. How can I retrieve a client's hostname using Flex?    stackoverflow.com

I am building a Flex application which communicates with a Java server using BlazeDS. What would be the best way to go about making the server aware of the client's hostname? Thanks.

42. Flex/BlazeDS Error missing property    stackoverflow.com

I have this error when running my application on debug mode :

ReferenceError: Error #1056: Cannot create property root on MyClass.
The problem is that MyClass doesn't contain any root property ...

43. Flex, Java, BlazeDS and config file for my application    stackoverflow.com

I'm programming Rich web applications with Flex and Java on Flex Builder 3 using blazeDS and SharedObjects. Now I need that my program will use configuration file. so, I need that my Java ...

44. RDSDispatchServlet is not available    stackoverflow.com

I have web.xml as follows

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

<display-name>HibDemo</display-name>
<description>HibDemo Application</description>

<!-- Http Flex Session attribute and binding listener support -->
<listener>
    <listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>

<!-- MessageBroker ...

45. RemoteObjecting to BlazeDS in Flex    stackoverflow.com

I have a blazeds amf url, which is https://..../afm/MessageBrok. Actually im not sure if it's what is referred to as the amf gateway or what. But basically, how do ...

46. How to identify the original message that triggers MessageFaultEvent    stackoverflow.com

I'm using BlazeDS to send messages in Flex. Inside the UI component, I defined a producer like the one below:

    <mx:Producer id="producer"
    destination="chat"
  ...

47. AsyncToken with user credentials as parameters    stackoverflow.com

I wanted to get some help on something. I have to make a remoteobject call via asynctoken, that needs to have parameter of usercredentials passed in as setremotecredentials. the actual method ...

48. ArrayList of custom Java objects over BlazeDS into AS3.0    stackoverflow.com

Right away i just try to explain my problem: Using BlazeDS i got the following Javaclasses: DatabaseService.java:

public class Database {

 private Category helpCat = null;


 private Category root = new Category(1, "root", ...

49. Externalizing client ChannelSet configuration for Flex/Java web application    stackoverflow.com

I am looking for an approach that will allow me to (somehow) dynamically pass the server name, server port, and web context to my Flex client so it can create a ...

50. How to create a dynamic destination with BlazeDS    stackoverflow.com

looking for advice about how to structure the comms of a blazeds/flex game. What I'm trying to achieve is to have x no. of games occuring on the server each of ...

51. Flex Web Application Timeout after a specific time and redirect to login    stackoverflow.com

All, We have a Flex, Blazeds & Spring based Web application. The requirement is that if the browser is idle for 30 minutes, we have to popup an error message to the ...

52. Detect FlexClient disconnect on Longpolling Channel    stackoverflow.com

I'm developing a chat system and i need to detect the FlexClient disconnect in Java, using the longpolling channel. I can't use the Streaming channel, because of some bugs that this ...

53. Blaze and SiteMinder example    stackoverflow.com

I'm just looking for some direction to integrate my Flex app with SiteMinder. I can't find any working examples online to get me started. Thanks for any tips in the right ...

54. generate excel using flex-jxl-blazeds    stackoverflow.com

I am trying to export the contents of my Flex Data Grid to an excel. I am using Blaze DS for integration with the server side code. I have used jxl ...

55. Need help with POJO for querying SQL Database for Flex via BlazeDS Messaging    stackoverflow.com

I am not a Java developer, so I have been researching every tutorial I can find to figure out how to create a Java Object to query a SQLExpress database and ...

56. Unable to create a new instance of type 'some class'. Types cannot be instantiated without a public, no arguments constructor    stackoverflow.com

I have a class with constructor and overloaded methods in it. When i try to import that class using blazeds i get an error saying

[RPC Fault faultString="Unable to create ...

57. Convert byte to Domain objects    stackoverflow.com

A Java developer just asked me the following: If I send you byte[] for all the method calls on Remote Objects - will you be able to convert it to domain objects? Can ...

58. One Flex client connecting to two webapps using BlazeDS - Detected duplicate HTTP-based FlexSessions    stackoverflow.com

I have a flex application that communicates via BlazeDS with two webapps running inside a single instance of Tomcat. The flex client is loaded by the browser from the first webapp and ...

59. BlazeDS not mapping AS objects correctly    stackoverflow.com

I have 2 java classes that are the same (imagine the getters and setters):

class ScheduledEvent {
   private String eventName;
   private List<eventValues> values;      ...

60. BlazeDS Polling Interval set to 0: Unwanted side-effects?    stackoverflow.com

tl;dr: Setting the polling-interval to 0 has given my performance a huge boost, but I am worried about possible problems down the line. In my application, I am doing a fair amount ...

61. Updating Mysql from adobe flex application    stackoverflow.com

Hey there, I am very new to Flex. I want to build an application that will contain many radio buttons. I want to know how to update mysql by the status of ...

62. Using messaging to notify clients of the state of a file being uploaded    stackoverflow.com

Is it a good practice to use messaging to notify the client of the state of the current file being uploaded? In my current application, every file which is uploaded goes ...

63. Nullpointerexception in MessageBroker    stackoverflow.com

while (true) {  

    Message message = consumer.receive();

    if (message != null) {
        if (message instanceof TextMessage) ...

64. How to turn a flex online application into a desktop application?    stackoverflow.com

I we have been working for some years in a flex (cairgorn)+spring+blazeDataservice application using blazeDataservice to connect to the back end, now its getting kind of big and takes too much ...

65. List currently logged in users in BlazeDS    stackoverflow.com

I really need some expert help here!. Does anybody knows of a way of getting the list of the users currently connected to a BlazeDS server? Is there any built-in mechanism ...

66. How to make a ChannelSet login() secure in flex    stackoverflow.com

i recently had a look to the tutorial for custom authentication within a flex application. The login is managed by getting the ChannelSet from a RemoteObject:

private function creationCompleteHandler():void {
   ...

67. How can I add a namespace to valueObjects using FlashBuilder    stackoverflow.com

When I use FlashBuilder to connect to a remote Java object using BlazeDS, FlashBuilder automatically creates a local valueObject matching the object in the remote server. However, the package name of the ...

68. How do I disable logging the data returned from a BlazeDS call when Debug level logging is enabled?    stackoverflow.com

Based on this guide, I have enabled debug level logging and also enabled date, time, level and category logging. This works great, except now I am seeing all my data ...

69. Suggestions to implement Role based authorization for an existing application in Flex    stackoverflow.com

I have an application that is coded using Flex 3 on UI side and java @ the service layer, along with BlazeDS. Now we need to authorize the users accessing the ...

70. Schedule Thread from BlazeDS Custom Adapter    stackoverflow.com

Currently I'm developing a BlazeDS/Spring MVC application, I created a custom MessagingAdapter to keep track of users subscribed to that destination, and to maintain the users list as updated as possible ...

71. Does a flex channel set on remote object gets logged out on its own after some time interval?    stackoverflow.com

I have implemented the login capability to my application using Flex(Blazeds)channelset login. But there is a strange problem, after about 2 minutes of inactivity if I try to perform any operation ...

72. BlazeDS not handling Java inner class DTO    stackoverflow.com

I've noticed BlazeDS has certain things it does not support and it is often difficult to find this out. Ex: polymorphism is not. One must create methods with different names as ...

73. Using live data from Blaze DS in a swf file    stackoverflow.com

I currently have a c++ client which can play SWF, AVI, BIK etc It uses DirectX9 to render the graphics I currently have a requirement for dynamic SWF files, which would retrieve data ...

74. How to add multiple classes to remoting-config.xml?    stackoverflow.com

I have a question, how do I add multiple classes in remoting-config.xml file?
I am using flex, java, blazeDS.
By default it looks something like that:

<destination id="someID">
    <properties>
   ...

75. Flex + Blazeds + remoting    stackoverflow.com

I recently started working on a project which requires me to have an expertise with Flex and BlazeDS with remoting technologies like AMF...I have been a java programmer all this while ...

76. Does MessagePerformanceUtils work for JMSAdapter in Blazeds?    stackoverflow.com

I have enabled the message processing metrics for all my channels in blazeds services-config.xml . I get the metrics when i use actionscript Adapter for my destination .But , when i ...

77. flex mobile project : using Blazeds to access data from java class    stackoverflow.com

I know how to create a flex web application that uses blazeds for back end data connectivity. Now I need to use blazeds in flex mobile application for accessing data from ...

78. Pushing data from java to flex only if there are subscribed consumers    stackoverflow.com

I've read the following post about how to push data from BlazeDS without recieve message from Flex client?. I did not posted on that thread because is old. I've implemented such mechanism ...

79. How to get ip address of client in blazeDS    stackoverflow.com

I am using blazeDS remote object. I need to get a client ip address from clien request. Is it any way to get ip address and system information in blazeDS java. ...

80. BlazeDs serialization of Java objects    stackoverflow.com

I have a few Java classes that implements Serialization, and corresponding AS objects (self-generated by GAS) that implements IExternalizable. There is no problem receiving objects from the server, but when I try ...