C# :: Flex To Communicate With C# Backend?

Jul 9, 2009

What is the best way for flex frontend to communicate with backend writted in C#? The only communication channel in HTTP, so no custom sockets.I used SOAP in the past, but am concerned about performance since the large overhead of xml, and this application I'm currently working on will be pretty data intensive.Anything that supports easy setup and transparent marshaling/unmarshaling is OK.Is there something as BlazeDS for .net?

View 2 Replies


Similar Posts:


C# :: How To Serialize Objects In Flex For Backend

Sep 26, 2009

We are developing an app with a Flex frontend and a C# backend, connected through web services. We are using the FLex Builder 3's Web Service Manager to autogenerate the webservice classes. The problem araise when Flex serialize our objects, for example, when we have a Number property with no value, this is serialized as NaN, and our backend doesn't know about NaN. Another example is when we serialize a cyclic reference, we get a stack over flow exception. I know in java, for example, you can configure the way xstream work with cyclic reference... So, the question is, can we change the way Flex serialize the objects so C# can work with this frontend? Is there any issue we should know about how flex serialize objects?

View 4 Replies

Use Servlet As My Backend Using A Flex Application?

May 8, 2011

I have developed a Flex application. I have also developed a Java servlet program for an Access database using Tomcat. How can I use that servlet backend for my Flex application using HTTPService ?

View 1 Replies

Flex :: Connect UI To A Unix Backend Server?

Sep 23, 2011

Im working on a project with the following basic needs:

Need to invoke a Flex Webapp in a new Tab from another Webapp in Java/Jsp.This Flex UI must be connected to a unix backend to show the backend operations on the UI.The unix backend server has telnet operations and SSO

View 1 Replies

Toad :: Get An Id Of Last Inserted Record In Backend And Display In Flex

Apr 4, 2011

How to get an Id of last inserted record from backend and display the same with success message as "RECORD INSERTED SUCCESSFULLY AS" +Id in flex...am using Toad for sql server.

View 1 Replies

Java :: Flex For Chart Based Reporting Having Oracle Backend

Nov 24, 2010

My only experience with Flex is some limited reading over the web. What i am wondering is if i want to use Flex or some variant of it for generating reports, specifically Charts, coming off a Java/Oracle backend can i accomplish that in an environment where the streaming media (we cannot play videos on our systems at work) is turned off? Also, are there any other restrictions revolving around using Flex for reporting in the form of charts? Currently, we use Jfree Chart API to develop charts but just exploring an alternative.

View 2 Replies

Flex :: Show Success Message From Backend And Display In Frontend?

Apr 20, 2011

How to show success message in frontend....when a record is inserted in backend.

View 2 Replies

Flex :: Blurring And Disabling Background While Reconnecting Application To Backend

Sep 6, 2011

My Flex 4.5 application has many users from Russia and Ukraine with poor internet connections and Socket connections often interrupt and have to be reconnected.

Currently I set currentState to "offline" on IOErrorEvent.IO_ERROR and Event.CLOSE events and display just 1 component in that state:

<mx:ProgressBar indeterminate="true"
horizontalCenter="0" verticalCenter="0"
label="Reconnecting..." labelPlacement="center"

[Code]....

View 2 Replies

Flex :: Simple File Upload Using UI And Spring/Hibernate/BlazeDS Backend?

Jul 13, 2010

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 that the user is presented with a file chooser in which they pick the image file they want to upload. When this is chosen and submitted (as a form submission) then the server side should receive the image file data as well as some related metadata such as a description and date, then populate a Hibernate entity/POJO with the image file data and related metadata, and then persist the entity/POJO into the database.

I have found some examples of how you would do a file upload and download using servlets here and the FileReference class (here and here) but these don't appear to address the problem in a way which leverages BlazeDS and/or Spring/Hibernate. I want to put the image file data and related metadata (description, capture date, etc.) into a value object within the Flex application and then send this over BlazeDS to a service provided by my Spring/Hibernate application running on Tomcat. In this service I want to extract the image data (both the actual JPG/PNG/GIF data and the related metadata such as description, etc.) from the value object sent from the Flex app into an entity/POJO which is then persisted via Hibernate in my database.

Can this be done, and if so what's the best way to go about it? Am I mistaken in assuming that if I use BlazeDS then I am somehow bypassing the need to provide HTTP-based services such as servlets on the server side and instead I can use my Java services as "RemoteObjects"? Is there necessarily a one-to-one mapping between Java POJO/entity class and the Flex value object class when making this sort of transfer? If so is there a tool which creates corresponding Flex value objects from Java POJOs or vice versa.

Update: Some code to make this more clear:I have this as my value object in Flex:

package valueobjects
{
import flash.utils.ByteArray;
[Bindable]

[code]....

When I set a breakpoint in the method above and look at the image variable it looks to be empty, so I'm assuming that the transformation from the Flex value object to the Java POJO did not go as expected and that there's more to it than just adding a RemoteClass alias in the Flex value object class.

View 1 Replies

Flex 4 :: Communicate This With A File Aspx?

Dec 16, 2010

I'd like to know if it's possible to communicate flex 4 with a file .aspx..

My problem is.. I'm trying to export a datagrid to excel and both parts are right, except because they are not communicating.. When I open with Visual Studio the url is = localhostcasawsExportExcel and when I open with flex the url is localhost:8080casaExportExcel.

View 1 Replies

Javascript :: Html - Communicate Between Flex?

Feb 20, 2012

I have a windowed Flex application (AIR) that uses an HTML file for the UI, but I have some Flex code that needs to be executed when the page is loaded.I have imported the HTML interface into the app using the < mx:HTML /> tag. The communicate between javascript and flex, but only if you are using an external HTML file in a browser, and not in a windowed app.

View 2 Replies

Flex :: Security Error When Trying To Communicate With Twitter

Oct 9, 2010

When I try to request a token from Twitter:[code]The weird thing is that it doesn't happen when I run my App in Debug mode (from Flash Builder) it just happens when I call my application from localhot:3000 (as I'm using Rails)!

View 2 Replies

Iphone :: Flex - Adobe AIR App Communicate With Calandar?

Dec 19, 2010

I'm mighty new to Adobe AIR and Flex, Flash etc I've been looking through the Adobe AIR APIs, and could not find a class that will allow a FlexFlash app to communicate to the calendar, (more specifically, the iPhone calendar via the iPhone packager) am i missing out something here? or has adobe not implemented an API for the Flex apps to communicate to the calendar? Are there other iPhone specific APIs that Adobe has not implemented?

View 2 Replies

Flex :: Communicate Between The Skin And The Data Model?

Dec 2, 2011

How to send to the skin some value which have changed?

View 1 Replies

Flex :: Air - Connect / Communicate With Fingerprint Or Scanner?

Dec 16, 2011

I want to write application in adobe flex/air through which I can communicate/connect with hardware devices such as Fingerprint reader, scanner.

Is there any way to do so?

Is flex/air support hardware interaction with the following devices.

View 1 Replies

Ruby On Rails :: Application To Communicate Flex Via Sockets?

Apr 10, 2012

I am building a Rails app that would nicely communicate with Flex via sockets. Currently I found only two ways of communication: Simple HttpRequest, RemoteObject. But I need something "multiplayer" style. I need Flex to talk to sockets and Rails app to grab data from those sockets do some job and push something back to a socket so Flex could read it "on the fly".

View 1 Replies

C++ :: Communicate Between AIR(Flex) And Applications - Call Functions And Pass Arguments To Each Other

Sep 30, 2009

I need to be able to communicate between two applications that reside on the same machine. One is using Flex and the other is in C++. I would like to be able to call functions and pass arguments to each other. What is the best way to communicate between them?

View 3 Replies

Python :: Create A Form In Flex And Then Communicate With The Django Server - Debugging Strategies

Feb 24, 2010

I love django, and I like flex. Django for it's cool debugging system (those yellow pages helps a lot to find bugs in my code), and flex for it possibilities. Recently I come across a problem. If I create a form in flex and then communicate with the django server, I can't see any debugging info (when the exception happens in django). Not sure, if there is a way to get the debugging info, because it is not accessible in command line (no error output), or in firebug.... Also I tried to create a quick html form, and post same data as I send from flex form, but it's a bit of pain to be honest. Will be happy to listen how do you solve the problem

View 1 Replies

Actionscript 3.0 :: Connecting With A C++ Backend?

Jan 28, 2010

I am curious to know if there is a way of connecting a flash front-end to a C++ driven backend? I'm not currently working on a project that involves this, but I found out about an application used in the gaming industry, called Scaleform, that requires knowledge on doing such things in order to create menus in games.

View 2 Replies

Javascript :: Use Flash Backend For New Audio()?

Mar 9, 2012

I've made a website, to test the html5 audio. Unfortunately some browser doesn't support it. How to use a flash backend? I haven't found anything useable. The flash backend examples on the web use the DOM element, not the new Audio(). I don't want to use JQuery for this little experiment.

My code:

<!DOCTYPE html>
<html>
<head>

[Code]....

View 3 Replies

ActionScript 3.0 :: Flash - Backend Swfaddress?

Mar 11, 2011

My problem here is actually not actionscriptbased but more of a backend problem.But I just can't figure this out & neither can the webhotel. When I run a flashsite on other webhotels everything is working when it comes the seo part. (Running the site with javascript deactivated - browsing the underlying html-site that is created with php, using the same principles as the But on my client's website (another webhotel) there are problems.

For example: ults in 404 error and a message that biography.swf does not exist. I always get redirected to some imaginary swf-files thus giving me 404 errors or to swf-files that happens to have the correct file names. I've checked the .htaccess file and they look exactly the same. In fact I have uploaded the complete site to another webhotel and everything works perfect. I can browse the underlying html-site without any problems.The support at the my client's webhotel doesn't seam to understand how this solution work. They think I'm doing some seo-tweeks that they can't give any support for. But something is clearly wrong here and it seems that something is different on their servers

View 1 Replies

Data Integration :: DataGrids - Connect To A Backend DB?

Jul 24, 2006

Can anyone answer the above question? (Is it possible to use a DataGrid as a small built-in DB in a Flash application thus avoiding the need to connect to a backend DB If so, does the DataGrid store the variables added to it even if the app. is switched off?

View 1 Replies

Technology Option For Implementing RIA With Rails As Backend?

Jan 19, 2010

I'm working on a application that requires a feature-rich media view, including images, videos, and smooth sequencing based on capture time. The backend is currently written in Rails.

What's currently the best, most mature option for implementing RIAs with Rails on the backend? I've looked at Flex, Laszlo, and ExtJS. ExtJS is interesting to me because I'm really not a fan of pure Flash UIs, but it seems highly targeted towards business apps, not entertainment applications like this.

View 7 Replies

Php :: Dynamic Schedule Graphic With Backend Interface?

Feb 2, 2011

Thinking about developing a "class schedule app" that has a backend user interface that a user can add/edit/delete dates and times, savs and the data shows in a cool graph on a webpage. I was thinking of using authiticated php page to update an xml file or database that could be read by a flash app to create a dynamic graphic. Think a 800 x 500 square with the 7 days set as rows ontop of each other and the times for each day listed horizontally.The times set in xml/database would be color coded boxes with rounded corners that lay over the times for those days.**I am not looking for anyone to tell me how to do this. I was hoping to get ideas or thoughts from other developers on my options as far as languages to dev in. I have done a few searches and found a lot of javascript calendars to select dates but I am less concerned about the backend looking good.

View 1 Replies

Flash :: Wire Different Backend Solutions Into A Generic API?

Feb 25, 2011

I have to produce a generic API that provides game tracking functions (track what was clicked, track if a certain event occurred, etc). This generic API needs to wire into one of two (or more) bespoke tracking solutions provided by third parties (e.g. itracku.com and itrackutoo.com) in the background.The bespoke tracking solutions sport similar functions (trackClick, trackEvent), but vary dramatically in the number of arguments they require (e.g. one requires 1 argument to be passed, the other 6).In order for the generic API to easily switch between hitting either bespoke solution, am I right in assuming that ALL arguments need to be scoped out beforehand in order to facilitate switching tracking solutions? The desire is to NOT have to recomplie .swfs in order to switch tracking solution (i.e. it's switched via an XML config). I was thinking of achieving this by having my generic API functions accept a single object as an argument, e.g.[code]

View 1 Replies

ActionScript 2.0 :: High Score Class With PHP Backend?

Feb 28, 2004

I have been getting mps about how I did my high score list in my footer ever since I made it. But because I didnt know any PHP back then the high score list in my footer is all Action Script except the writing to the txt file bit. It is still every buggy and doesnt work very well. So thats why I didnt what to give it to any one because I knew I would never hear the end of all the problems people would have with it. But seen as I have got better at PHP now I made a system where the PHP does all of the work. It works better and its dynamic. I made a flash class that formats the score to an array and can communicate with the PHP file so it would be easy to used.

[Code]...

View 1 Replies

ActionScript 3.0 :: Passing Updated Data From Flash To The Backend?

Apr 29, 2009

I'm building a Multimedia Player front end and we have some action features we'd like to include. Some of the features are like: add to favorites, bookmark and rating.

For rating and add to favorites I just need to some how send a variable with the value to the server. Do you have any tutorials and or suggestions to approach this?

I don't need to know how the back end works, i just need to know what to pass in the flash and how to send out the updated variable back to the server.

View 3 Replies

ActionScript 2.0 :: Looking For Beta Testers For Flash Backend Tool?

May 8, 2009

If there are any flash coders out there who love the idea of being able to create the backend for your flash app in about, oh say, 10 minutes.

At this stage I'm looking for about 10 beta testers with varying backed requirements, from simple to complex.

This would perfectly suit people who love to tinker around and try out new stuff - however it will require electronic signing of an nda - basically just sending an email saying that you won't blab about it until it's ready for final release! [url]...

View 2 Replies

Javascript :: Unable To Communicate With Javascript From Flex After Dymanically Loading A Swf?

Aug 1, 2009

for some reason, whenever I dynamically load a swf on a $(document).ready() by writing to a div, I am unable to make javascript calls to the browser. Specifically, all calls to the browser return "null". This does not occur when embedding the swf normally on the page load, but I would like to prevent loading of the swf until a specified point in time.

What the heck is going on here? Is there something special about dynamically embedding a swf that prevents the swf from talking to the browser? The methods ARE called (I've proven such by showing alerts), but all return values to any function, regardless of type returned, shows as null when it gets to flash.

View 3 Replies

Actionscript3 :: Flash - Change The Backend Of The LLVM Implementation From ARM To Something Else For Instance C Or C++?

Aug 3, 2011

I've been wondering if it's possible to change the backend of the LLVM implementation from ARM to something else for instance C or C++? Currently Adobe uses a Actionscript3 frontend (which I can't currently find - closed source?) for the LLVM to produce iOS applications. I'm wondering why there isn't more options for other backends? Of course there are limitations to going this route, no loading of external swf files at runtime (to name just one), but the iOS applications seem to manage really well with this feat. I did find this pdf which talks about the AS3 LLVM frontend, but no guidance to where the code is or how to investigate... I just think it's a missed opportunity that Adobe are missing and wondered how much work it would be to do such a feat?

View 1 Replies







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