Flash :: Push Data To Flex Client?
Mar 14, 2010
I want to push data to flex clients. I am talking about anywhere between 5000-15000 concurrent users, need to get data every time a currency is changed so that means lots of changes for lots of users.
I have been looking into WebOrb.net, but the performance seem very poor (100 users concurrent) for a product so pricy (we purchased a license).
So, I have to look into alternatives, I know there's fluorineFx but it seems no one is really using it for products and it lacks in examples and documentation.
My question is: what products can answer my needs (.net backend) and what are the performance I can expect out of these products?
View 1 Replies
Similar Posts:
Dec 9, 2009
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 can I implement server side which doesn't need to be invoke from Flex client, but from within server-side instead. I got some idea but I don't know how to do because I'm a Flex developer, not Java developer In Google, there's a tutorial show about I need to extend ServiceAdapter class in Java-side, which extends Invoke method. Do I need to extend other class instead of this to do what I want?
View 3 Replies
Nov 18, 2010
I'm developing chat application. I use flash as front end and asp.net back-end. My question is: can my asp.net web app send data to flash app in browser without post back ?actually it mean asp.net push data to flash client.
View 4 Replies
Mar 22, 2012
I am interested in connecting my android, iOS and flash clients to a wcf service and want to push updates to my clients from the WCF service as and when events regarding the client occurs.From the google searches, i got weborb.net and flourinefx.net. But these are based on rtmp, so i cant manage push for android and iphone clients.
View 1 Replies
Dec 9, 2010
Since my service, I would like to push data (messaging).
@Service
@RemotingDestination
public class LoginService implements ILoginService
{
[Code]....
With this implementation, nothing to do ... clients receiveid nothing.
So, how I push data from a service like that ? Is it possible ?
View 2 Replies
Mar 1, 2011
I have a flex UI which communicates with server using spring blazeds. I have a very typical requirement of Live data streaming on a panel in UI. Requirement is like this, We have an object say, Person and server keeps pushing its data on blazeds message destination where UI panel consumer has subscribed and hence user can see this live data in a panel. User can open multiple panels in same browser to view data for different Persons at the same time (e.g id=1,2,3 respectively). There can be multiple UI users who may be viewing the same data for person id=1 at a given time, lets say.
Basically I want to separate data between UI panels. UI panel opened for person id=1 must not display data of that for person id=2. I am doing this using headers-selectors, but apparently I found out that the differentiation to select and display what data happens on UI which is causing performance issues. I learned that using subtopics may improve performance. But, before proceeding for it, I want to know, will UI browser end up in receiving data irrespective of subtopic assigned to data and then consumer will decide to accept it or not?
View 1 Replies
Jan 25, 2012
I am working on a server push from Java to Flex. But some how the MessageBrokerServlet is not getting initialized, seems like it is calling a method from: flex.messaging.config.LoginCommandSettings.setMatch() Eventually I found out that this method indeed does not exist in that class (LoginCommandSettings). I there something else that is going wrong?
[Code]....
View 1 Replies
Jan 19, 2012
With this PHP code:
<?php
$apnsHost = 'gateway.sandbox.push.apple.com';
$apnsCert = 'apns-dev.pem';
[code].....
View 2 Replies
Jan 19, 2012
I am trying add data to an array, but using myArray.push() isn't working the way I want it to. I am using a datagrid so the array has to be in the format var tabledata:Array = [{'Column Name':'Something', 'Another Column':'More data'}]; but then adding to it using tabledata.push([{'Column Name':'Something', 'Another Column':'More data'}]); Doesn't seem to be working - it adds a row but doesn't add any data to the cells. **Fixed it, just have to remove the square brackets in the push command tabledata.push({'Column Name':'Something', 'Another Column':'More data'});
View 2 Replies
Aug 13, 2011
i want to make a real-time update for my flash application. Instead on making it refresh each 30secs, i would prefer the push technology. What is the best way to push data in Actionscript 3?
View 1 Replies
Sep 13, 2010
so I have a JSON link that contains a couple of nodes (not sure what you call them in JSON) that I need to put into arrays in ActionScript, but I'm still having trouble trying to trace out all the specific node content.I found a similar question here, but the fix just showed how to trace out the entire JSON file (which shows up in my output window as [object Object],[object Object],[object Object],...)first node: {"captions":[{"content":"[hello world] ","startTime":0,"duration":4000}
My code:
private function onCaptionsComplete( event:Event ):void
{
//var jsonObj:Object = JSON.decode(event.target.data);[code].....
captions: undefined
TypeError: Error #1010: A term is undefined and has no properties.What I would like to be able to do is put the content data into the captionsContent Array, and the startingTime into a startingTime Array, same with the duration data.
View 1 Replies
Sep 21, 2011
I wonder if is there any way in AS3 to push data dynamically into a Vector using for() some thing like this:
Code:
var verticesT0:Vector.<Number> = new Vector.<Number>();
for(var i:int = 0; i < 5; i++)
{
[Code].....
View 3 Replies
Oct 28, 2009
I've read some books on creating stateless websites, I've read some about stateful client applications, but a lot of complexity comes along when you have to combine both. We have a Flex application that needs to persist data to a database via .NET services. Things to keep in mind are:
- Concurrency (optimistic/pessimistic)
- Performance: Flex needs to load in lots of data so lazy-loading is often necessary.
- Do you use Dto's to transfer data between server and client?
I'll tell you the history of our product. We've used SubSonic from the beginning as a o/r mapper. SubSonic objects are converted to dto's written by us and these dto's are transferred to the client. Clientside the dto's are converted to the domain model. If clientside a domain model object needs to be saved, it is converted back to a dto and send to the server. Server side the dto is converted to a subsonic object and saved to the database.
Now, some time ago, we needed the domain model on the .NET server side... so now we have like three models on the server side, the subsonic model, the dto model and the domain model. The dto model is more simple and resembles the database more, the domain model has much more logic. It gets complex... We now have to synchronize the AS3 domain model code with the C# domain model code. If we could do it again (of get time to refactor) I think we wouldn't use the dto's anymore, but transfer the domain model between client and server. Dto's are simple objects so easy to transfer. Domain model objects can be very complex.
View 2 Replies
Dec 20, 2010
I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.
View 1 Replies
Feb 2, 2012
I have the following JAX-RS service.[code]...
The JAX-RS service receives the request and respond successfully with some dummy response, but I have no access to the request.data field.
How do I access the data of the request message (which is {"type":"get_configuration","data":"some data"} in this particular example)? I think that I'm supposed to add some parameters to the handleMessage method like
public SomeResponse handleMessage(Object message) {...
but this does not work at all. The request got 415 response.
View 1 Replies
Dec 18, 2011
Use on server node.js and module Socket.IO.Data is sent as follows:
var tests = [555, 777];
client.send("Test string"); //first message
client.send({tests:tests}); //second message
[code].....
View 2 Replies
May 26, 2010
I am attempting to use an online Flash file to communicate and pass data to a device linked to a client machine.I have got the Flash to work using sockets and when run from the same machine as the device it works fine.However, the flash file needs to be online and I need a way to allow the data to be passed. At the moment it won't connect to the socket on the client machine (I just get a connection failed message after about 10 secs) and I believe that this has to do with the security settings.
I am looking into Cross Domain Policy files as a way of securing the connection, but all of the information present suggests that these are only applicable to server machines. Can I put a Cross Domain policy file on the client machine that would allow the online flash to access one of it's sockets or will a CDP file on the server hosting the flash file be able to allow access to a client machines sockets?
View 1 Replies
Dec 31, 2011
I'm having a problem to receive data from socket.io to Flash (actionscript).
I've tried:
Server (nodejs) socket.io :
var io = require('socket.io').listen(9000);
setInterval(function() {
[Code]....
Flash connects succesful to the server and trace "Connected to flash" but it cannot receive data.
View 2 Replies
Apr 3, 2012
I have a view like this in my Flex mobile Application:
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="aaa" actionBarVisible="false" creationComplete="view1_creationCompleteHandler(event)">
<fx:Declarations>
[Code]....
And I want to send data(gelen) to tabbedviews (to views.HastabilgileriView/views.MenuView) How can I do that?
View 2 Replies
Sep 21, 2011
I wonder if is there any way in AS3 to push data dynamically into a Vector using for() some thing like this:
[Code]...
View 7 Replies
Nov 12, 2011
I am writing a simple Tcp server in Unity and have my Flash application connects to it.I found a great tutorial on threaded Tcp server online, and my flash app connects to it nicely. However, I am not able to send data outside of the listening thread to the connected client. I tried to create a global reference of the Tcpclient obtained inside of the thread. However, that reference (sclient) only works inside of the listening thread, printed Null to console outside of the thread. There must be something I can do to retain the TCP client reference for later use or access it from outside of block thread.
[Code]...
View 2 Replies
May 5, 2010
I originally tried to capture, encode and upload the audio using Silverlight, but because of the lack of suitable client-side encoding options, I'm now giving Flash a shot (Flash has baked-in support for encoding to Speex).I think I've figured out how to capture and encode the audio... But now what was easy in Silverlight, is the challenge in Flash.My server-side is .NET: MVC2-I'm open to receiving the audio in whatever manner is best- REST, WCF..So that's my question: How could one upload binary data from Flash, to a .NET server-side endpoint
View 1 Replies
Dec 4, 2009
my normal work day involves screen sharing with a programmer while we engineer the software.We are currently working on a site that involves flash .as3(created with flash CS3) talking with an .asmx web service (created in Visual Web Developer 2005) that talks to a sql (2008)database.When can push or pull data from the database successfully, but we are experiencing a 15 second delay if more than one request from the database is made at the same time. i.e. two customers login at the same time, or one customer logs in and another submits changes to their account.
The second request will not be instant until 15 seconds have elapsed In other words, if someone sends logs in and another person logs in 10 seconds later, the wait will be 5 seconds.Of course, the delay is cumulative...so if 3 people log in simultaneously, there is a 30 second wait. Gross.This only occurs when we are trying to access the database...flash and the web service seem to talk great together otherwise.
View 3 Replies
Nov 12, 2009
I have a class in which I have declared an array. The functions in that class are designed to make changes to the array, but it's not working:
[Code]...
Anything I do to customerCheck treats it as if it were a new array. This is especially obvious when using customerCheck.push in addCharToCheck() -- the trace always shows a blank array before push and an array with one object in it after the push... then next time it does the same. I know I'm making some sort of fundamental error regarding the scope of the array within the class but I just cannot find any good information on how to fix it! Moving to AS3 (been coding it for all of about 3 weeks) is a nightmare so far, and it seems to be the 'easy' stuff that causes me problems
View 6 Replies
Jan 28, 2010
Since the Flash Player (or, more exactly, the URLLoader class) will not let you read HTTP response headers or cookies set by the server, and if you get hold of a session cookie through some workaround like reaching out to the browser and run JS, you can't send it to the server, because, among others, the Cookie header will be blocked. Now I'm building a Flex client against an HTTP API for my server product. I control both sides, so I can get get around the above limitations, now I'm wondering how. I see the following options:
include the session token in the HTTP payload include the token in the URL build my own HTTP client (... with blackjack, and hookers ...) in AS, using the Socket class I don't like (1), because I'm reimplementing functionality in my protocol that is already built into Struts, which I'm using to implement the server side. I then have to ensure that either both behave the same way, or turn off the usual way of session management and force other clients to use my protocol where they could just have the browser deal with it. I don't like (2), because I understand that there are security concerns with this, although I'm not too sure which
I don't like (3), because it's 2010 and tons of HTTP clients have been written by smarter people than me. So, are there other opportunities? Which of my "don't like"s do you reckon least severe? Are there ways to mitigate the problems I listed? For example, how insecure are session tokens in URLs really?
View 2 Replies
Oct 13, 2010
I am looking to develop basic client server data application to add value to a website.
The website is .net based and opening an api such as asmx web service, json or xml would be simple.
Can anyone tell me what are the limitations - technically, what is possible with flash and also what Apple consider to be good practice.
Does anyone have any Actionscript code examples?
View 1 Replies
May 5, 2011
I'm a new grad, so please be kind. I'm working on validating input in a Flex DataGrid cell that the user can edit. The rows in the DataGrid are backed by an mx.collections.ArrayCollection that includes a [Bindable]Model that I wrote. I want to validate against a custom client-side Validator, if-and-only-if that passes I want to validate the input on the server. If client-side validation fails, I want to display the normal validation error (see image below). If server-side validation fails, I want to use the same sort of UI components to notify the user. The solution should not include any external framework (Cairngorm or PureMVC).
[Code]...
How do Flex programmers validate on the server, immediately after the valid client-side validation passes?
I realize it seems silly to search out this "synchronous" design and I hope someone has an answer to solve my problem with best practices. In my defense, the reason I want to validate on the server immediately following client-side validation is so that I'm using Flex's validation framework. If I get an invalid response from the server, I want to leverage the built-in UI components that Flex has to tell the user something is incorrect about his/her input.
View 3 Replies
Sep 20, 2011
I'm creating some image uploader in Flex with client-side image processing. Processing consists of two steps:
1. Resizing (solved)
2. Converting resized image (represented by ByteArray in PNG32 with alpha-channel) to gray-scale PNG with bit-depth = 2 and no color-palette. Is there any existing library that is capable of second step? Something like libpng for C++, maybe?Edit:It seem I stumbled upon rarely encountered problem. However my descision was to create an AS3 class that is capable of converting bitmapData to 2bit grayscale PNG. I used standart PNGEncoder and PNG format specification (which is not so good as I expected) as basis.
View 1 Replies
Aug 31, 2011
It's posible build a Flex 4.5.1 and Adobe AIR app for iOS, And use push notifications?
View 2 Replies
Jan 22, 2007
I apologize if this has been covered already, but I'm not sure where to start because I don't know the proper setup for this. I've been making Flash sites for a while and am pretty comfortable with it, including actionscripting, but I have a real estate client that wants to be able to update their site with new roperties themselves. Obviously a simple HTML page would be easiest, but I wanted to find out how this would be done in flash. Most of the examples I see are for linking to xml data tables and the like which doesn't seem to be exactly what I'm looking for. How would I go about making an "area" in flash in which they could load a new picture and a couple paragraphs? Would I have Flash look for a whole html page, or define a picture and paragraph objects that are individually replaced, protecting the formatting/design? Is this possible/a good way to go about it?
View 2 Replies