Java :: Does Flex Not Support Hashmaps

Sep 28, 2009

I have a Flex object which collects a DTO from the server. All the fields arrive filled in correctly except for the one that is a HashMap. It arrives as null.I've tried giving it a type of both ArrayCollection and Dictionary, but that hasn't fixed it.Does anyone know if there's an inherent incomaptability between Java HashMap and Flex?If not, what might I be doing wrong here? I'm looking at my jboss console and I see the data being populated correctly in the server side before delivery to the client.

View 3 Replies


Similar Posts:


Java :: Support Both HTTP And HTTPS Channels In Flex/BlazeDS?

Jun 17, 2009

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>
<channel ref="my-secure-amf">
<serialization>[code]..........

I'm running with Tomcat 5.5.17 and Java 5.The BlazeDS docs say this is the best practice. Is there a better way? With this config, there seems to be 2-3 retries associated with each channel defined in the default-channels element so it always takes ~20s before the my-amf channel connects via a http request. Is there a way to override the 2-3 retries to say, 1 retry for each channel?

View 4 Replies

Java :: Enable RDS Support For BlazeDS?

Jun 19, 2009

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 of some missing library. Does anyone know where this class is located: flex.rds.server.servlet.FrontEndServlet.

View 2 Replies

Flash :: .net - Java Or Dot Net For Server Side Support?

Oct 6, 2011

We are building a Flash application for client use but will need to do server side processing of images. All our expertise and application code is in Java, but I've been told Dot Net has better Flash support. This is general but we will be modifying large (up to 50MB) image files. The idea is that what we could do in Flash should be duplicated, automated and extended on the server side.

View 2 Replies

Java :: Client-side Framework For Web-app With Good Audio Support?

Mar 26, 2010

I'm trying to create a client-side web app that generates music procedurally using some user-input parameters, so I'm looking for a framework (e.g. Flash, Silverlight etc.) that has the capability to play audio at a specified pitch. Whether it is playing a WAV/MP3 file, using MIDI output, or just playing beeps doesn't really matter -- I just need something that will enable me to generate arbitrary music client-side.

I've done a bit of searching and it appears that Flash might have the ability to change pitch with the help of a third-part plugin, but I couldn't find anything similar for Silverlight.

View 1 Replies

Java :: Flex - Max Upload File Size For Java Using Remote Object (BlazDS)?

Jul 16, 2010

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.

View 1 Replies

Java :: Flex - Unable To Send MIDI File Name To Java To Playback Music?

Oct 27, 2010

I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.

[Code]...

View 1 Replies

Java :: Typical Development Workflow/process Developing With Weborb For Java With Flex?

Sep 15, 2011

Meaning specifically, what steps do you go through when creating a new application using these tools?

View 1 Replies

ActionScript :: Java - Flex ArrayCollection Of Number Objects To Java Collection<Long> Using BlazeDS

Mar 24, 2010

I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);

[Code]...

View 2 Replies

Java :: Web Multiplayer Game In FLEX And Java - Build The Server Clients Managing System?

Aug 4, 2011

I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.

View 1 Replies

Java :: Performance - Code Doesnot(only Sometimes) Compiles In Java+flex (+ BlazeDS+Tomcat ) Combined Project.a

Aug 13, 2010

i am working on a flex+java combined project.My IDE and computer configuration is as follows:

[Code]...

When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.

View 2 Replies

AS3.0 :: Java - Flex - ArrayList Of Custom Java Objects Over BlazeDS

Dec 7, 2010

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

[Code]...

Then i got a Flex service class calling BlazeDS and executing the getCategories java method. Since Flash dosn't seem to understand typed arrays, the result from that method which i get back in flex is a simple array of untyped objects (the mapping dosn't seem to work here, even tought the class category exists in flex and has the same properties).
thats the first thing. but however, i'm converting the untyped objects manually into objects of the category.as class. the second thing is that categories have child-categories within the java object, which are also ArrayLists of the type category.java. the problem about that: my result event object only contains the first level of categories, looking into them the children are allways null. i dunno why they are empty, since they ARE part of the java object category.

and the third thing (the strangest by fast), you maybe noticed i named the properties of the category.java class strange, like idCat and nameTest instead of simply id and name. why that? because the property names of my flex result objects dont seem to change when i change the java objects properties names (result object properties are named "id" and "name" but the java class object properties are named "idCAT" and "nameTEST"). that it REALLY strange, since if i set the properties, like you see at nameTEST = "TESTNAME" it IS recogniced by flex, only the proertyNAMES dont seem to be recognized at all.

[Code]...

View 4 Replies

Java :: Flex - Create .swf In Java By Using 'ant' File & .mxml?

Apr 11, 2012

I am newer with flex technology.I am creating a chart using ant file & .mxml in eclipse my 'ant' file executes properly but it gives following error when i opens a .swf file which is created auomatically:

Flex Error #1002: Flash Player 9.0.115 and above is required to support signed RSLs. Problem occurred when trying to load the RSL

[Code]...

View 1 Replies

Java :: Handle Custom Java Exception In Flex App?

Mar 18, 2010

we are using BlazeDS as a proxy between Flex and Java. The approach is the same as in

[Code]...

View 3 Replies

Java :: Implement A Web App With Blazeds+java+flex+tomcat?

Mar 23, 2010

I'm coding a web app in flex blazeds and Java. I installed the Eclipse plugins for using WTP mixed project. I'm using flex's server that uses an emulate of tomcat when i ran my flex service the web app got the datas, everythings is ok. the problem is when i copy the project with all files generated by flex in my tomcat or the blazeds's tomcat, it doesn't work, this is becasue i want to implement my app on a server the error is:[code]
i don't know why tomcat doesn't find the class of flex.messaging.endpoints.AMFEndpoint that is used for my-amf 'URL...'. all works well in the emulated server that flex has.

View 4 Replies

Java :: Adding Two Num Flex 3.0 As Front End And Java As Back End?

May 24, 2010

i hava two text boxs in flex.have to add two txt boxs values in back end java and have to return back to third text box in flex.

View 1 Replies

Java :: Accessing A Java Method In A Flex Object?

Jul 16, 2010

Assume I have the following java class public class Square {

[Code]...

Inside an actionscript class, using RemoteObject, I invoke the java method SquareDAO.findById(Long id) an I get an Object with the following: But I don't get the area. How can I invoke the method getArea() ?

View 1 Replies

Professional :: Why Flash Plugin Only Support .swf Not Support .flv

Nov 18, 2010

i don't understand flash plugin only support .swf file,not support .flv file? always require load a swf file for play flv file, for exampes:

<embed type="video/x-flv" src="http://www.my.com/test.flv"></embed>
 
must be use a swf for play

<embed type="application/x-shockwave-flash" src="http://www.my.com/player.swf" flashvars=""></embed>

View 2 Replies

Flex :: Something To Allow "Writing Flex Without ActionScript", Or "Java To AVM2 Compiler", Or "Write Flex Using Java" Exists?

Dec 27, 2009

There are many dynamic languages that target Sun's JVM (Groovy, Scala, Jython, Jruby etc) and I was sure there are many that target Adobe's AVM as well. But I was surprised to find only haXe do something similiar. related question on this site

I think the eclipse e4 SWT project doesn't compile to ABC (ActionScript Byte Code) directly, but first converts Java to AS3 and then the Flex compilter does the rest.Could it be that no one yet wrote a simple Java / Python / Scala AVM2 compiler that can be used as an alternative to the proprietary Adobe Flash Builder (formerly Flex Builder)?I don't mind paying Adobe for a fine producy, but writing Java in eclipse is so much faster and convinent than the half baked adobe plugin suite. are there really no efforts other than haXe?

View 3 Replies

Flex :: Compression Support In AS3 / AIR?

Sep 26, 2010

Is there a way to open RAR / zip / 7z in AS3? Is it easy to use compression library in C with Alchemy?

View 3 Replies

Flex :: Does 3 Support Threading

Apr 12, 2011

Does Flex 3 support threading? If so, are there any examples or links I could look at?

View 3 Replies

Flex :: Adjust NumToChar To Support Any Key (AS3)?

Aug 18, 2010

I have a flash conversion function that I call like this:[code]...

View 1 Replies

Flash -Flex 4 Support Put Request?

Feb 24, 2011

Does Flex 4 support put request?

I know that Silverlight 4 support put request using its client http stack.

View 2 Replies

Actionscript 3 :: Flex And PHP With Transaction Support?

May 26, 2011

I need to create an application that will use Flex on the client side and PHP on the server side. In my application I will need to have transactions opened for a long time (maybe 1, 2, 3 minutes). Can you give me any toughts on what PHP-FLEX fraework to use? I even found something like AS3FlexDB but it seem to not supporting transactions for a long time.

View 1 Replies

Eclipse :: Does Support Flex Development

Aug 11, 2011

I was about to start with a chat application like this one. I was wondering how to do it on Eclipse. Does Eclipse support Flex development? Is there a plugin or a tool which I need to download for Eclipse? I installed Flash Develop on my machine, but I am getting some issue in unzipping the zip file for Flex SDK which I can't figure out why. Thus I was thinking of switching to Eclipse.

View 2 Replies

Flex :: Resource Tag Not Support Localization?

Mar 27, 2012

Some places in my flex app, I use ResourceManager.getInstance().getString, and other places I use mxml @Resource tag to retrieve resource properties dynamically loaded from ResourceManager. resourceManager.loadResourceModule(resourceModuleURL); But only strings from ResourceManager.getInstance().getString show proper locale based values, while the @Resource tag only returns values from en_US resource. I guess it is because en_US is what I compiled with (-locale=en_US ). So I am wondering if I am using a dynamicly-loaded resource, do I have to abandon the @Resource tag and use ResourceManager.getInstance().getString ?

View 1 Replies

Flex :: Why Doesn't ActionScript Currently Support Threading

Jun 15, 2010

Why doesn't Flex/ActionScript currently support threading?

View 5 Replies

Flex :: Libraries That Support Image Editing?

Mar 8, 2011

I'm looking for something that will support image rotation, multiple image layers, cropping, etc., and allow the client to customize which features are to be shown.

View 1 Replies

JavaScript :: How To Get HTML5 FileAPI Support In Flex

Feb 4, 2012

I need Flex code to support HTML5 File API. Because I need to support File API feature for those browsers that did not support File API. Do you have any code or link?

View 1 Replies

Java :: Flex Client Side And Java As Server Side?

Aug 7, 2011

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved