Flex :: Connect Application To Two Different BlazeDS Servers?

Mar 15, 2012

is it possible to connect to two different BlazeDS servers from the same Flex app? I have already read this question: Can a Flex client app connect to BlazeDS running on a different server? However, it appears to be discussing the possibility of connecting a Flex client to a BlazeDS on a different server but not necessarily to another BlazeDS on a different server.

One Flex client connecting to two webapps using BlazeDS - Detected duplicate HTTP-based FlexSessions

In attempts I have tried, I get the error mentioned in the second question above: Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.

Is connecting one Flex application to two BlazeDS enabled servers completely impossible? We want to be able to have a "common functionality" BlazeDS server that is used by a number of Flex apps that each have their own local BlazeDS server for their own functionality.

The way I'm currently doing it:

In my mxml file, I'm defining a a channset like so:

<mx:ChannelSet id="dataService1Channel">
<mx:channels>
<mx:AMFChannel id="dataService1AmfChannel"

[Code].....

The calls work and I can get the data but I'm getting that warning I mentioned in the form of an alert in the Flex application.

View 1 Replies


Similar Posts:


Flex :: Using Blazeds To Connect To A EJB On Glassfish

Mar 30, 2011

The task is to try to connect directly to a stateless EJB deployed on Glassfish. I have already done this via Web Service and I can also connect to the EJB by calling a remote java object which uses JNDI to find and load the bean. What I cannot do is directly connect to the EJB with Blazeds. I am using EBJ3Factory BY Ryan Norris (downloaded from adobe site) as follows;

[Code]....

View 1 Replies

Flex Client App Connect To BlazeDS Running On A Different Server?

Feb 9, 2010

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).

Update: I have found this page which links to the Cross-domain policy file specification:[URL]..

View 2 Replies

Java :: Build The Client With Flex And Connect To The Server Data With BlazeDS?

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

Flex :: RDS Server Connect Data Services Using Blazeds Get Error Message

Mar 2, 2011

When I connect data services using blazeds I get following error message.

[Code]...

Why am not able to connect? But when specify remoteObject in the declaration tags and call the methods it works fine.

View 1 Replies

Java :: Way To Secure A Flex-BlazeDS Application?

Feb 24, 2010

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 don't know if there comes authentication and authorization with BlazeDS (WebORB for instance does and WebORB looked at BlazeDS for their product) SSL not needed 've seen some links on the internet talking about spring security, so I'll check that out.

View 1 Replies

Flex :: Can't Get Tomcat To Reload BlazeDS Application

Mar 22, 2010

I've followed the getting started for BlazeDS. I'm making changes to the Flex code using Flex Builder 3, but I just can't get the changes to show up when I refresh the page on my client. Server and client are separate physical machines, I've even re-started the server hardware. One curious thing, even when I re-started the server I didn't have to re-login to the Tomcat manager page

View 1 Replies

Java :: Deploy A Flex+blazeds Application?

Mar 23, 2010

I developed an application using flex+java+blazeds with tomcat that provide flex enviroment.I want to deploy my application using tomcat but I can't, how can I deploy my app?

View 2 Replies

Flex :: Connecting Flex Application To Tomcat + Spring 3.0 Framework With BlazeDS?

Apr 9, 2011

I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?

View 14 Replies

Flex :: When Using BlazeDS's Proxy-config Throw FaultDetail="Connection Refused: Connect"?

Dec 10, 2010

I have created a XML file directly under the webroot, named index.jsp, the contents are as follow:

<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<?xml version="1.0" encoding="utf-8"?>
<catalog>

[code].....

View 1 Replies

Flex :: BlazeDS Trading Application - Create A Professional Looking Website?

Oct 11, 2010

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 bland (in terms of the default styles). Can anybody recommend the easiest way for me (as a developer) to make the website look as polished and professional as possible?

What is am looking for is:

A professional style/theme to the website Use of polished images/icons Use of some Flash components for the intro/welcome page. The quickest way to get this styling/images/icons done - should I outsource this to an on-line company?I have been looking at Flash Catalyst as an option but images need to be created first in Photoshop (which as a product I do not know).

View 3 Replies

Integrate Flex Application To Access Rest Services (using Jersey) Through BlazeDS?

Feb 15, 2011

I am trying to integrate Flex application to access Rest services (using Jersey) through BlazeDS. I'm able to get Rest + Jersey working (pretty straight forward I guess) and I was able to configure Flex + BlazeDS. I'm looking for help to invoke rest services (different methods) from Flex UI based on the annotations specified such as @Path in my rest service class.

View 1 Replies

Flex :: Access A Remote Java Class (on Spring/BlazeDS) From The Cairngorm Application?

Nov 5, 2009

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong

[Code]...

View 2 Replies

ActionScript 3.0 :: Connect To Database From The Adobe FLex AIR Application?

Oct 7, 2009

I am trying to connect to database from the Adobe FLex AIR application.

Is it possible to connect to database(SQL Server / ORACLE) from Action script.

View 2 Replies

ActionScript 3.0 :: Method To Connect A Flex Application To A MySQL Database?

May 24, 2010

What is the easiest method to connect a flex application to a MySQL database?

View 7 Replies

Flex - Barcode Scanner Cannot Connect To The Application To Call The Data From The Database

Nov 11, 2010

I am currently working on software for student attendance. I use the flex / flash and php to create the software but I faced a problem barcode scanner, can not connect to the application to call the data from the database when students scan the barcode printed on their student card.

View 1 Replies

Flex :: Flash - Connect To Adobe Stratus Server In A Application From Inside A Proxy

Jan 19, 2010

I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.

View 1 Replies

Actionscript 3 :: Using AWS Elastic Beanstalk With Java / BlazeDS / Spring Application

Oct 2, 2011

Is it possible to deploy my Spring/BlazeDS/Java application to elastic beanstalk? I'm using MyEclipse and built a Java Web Project with the required jar files etc. Do you need to specifically create an AWS Java Web Project - reason I ask is the options to include the BlazeDS files aren't there - so I'm wondering if Spring / BlazeDS is even supported? By default the turnkey blazeds runs through Port 8400 - so I imagine there are some additional tasks required to configure the endpoints to work through port 80?

View 2 Replies

Continuous Integration Servers For Flex?

Jan 12, 2010

Which CI server do you use for Flex? My main contenders are currently

Hudson
TeamCity

Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool?

View 2 Replies

Flex :: Crossdomain.xml - App Cannot Download Images From Other Servers?

Oct 3, 2010

in my flex application:[URL].. when i run my app, I catch this error:

SecurityError: Error #2123: Security sandbox violation: Loader.content: http://mySite.com/2/BusFlex/BusProducts.swf/[[DYNAMIC]]/2 cannot access http://cs9621.notMySite.com/u7397474/c_b51d9fe6.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.

[Code]...

View 3 Replies

Php :: Connect Flex3 Application To Database?

Jul 13, 2011

I am beginner to Flex3 .. I am developing simple application with login screen having fields user name and password. I wanted to know how i store this information in MySql database?

View 1 Replies

Flex :: What AMF Servers Support Remote Shared Objects

Mar 29, 2010

I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.

Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.

View 3 Replies

Java :: Connect To Socket Server From AS 3 AIR Application

May 12, 2011

I read through the method to connect to a socket server : [URL]. I wrote an AIR application to connect to the java server code, but the client cannot connect. What is missing in the code?

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" backgroundColor="#D5F8C3">
[Code] .....

View 1 Replies

Iphone :: Connect Application To Flash Media Server?

Jan 3, 2012

I Have a flash player application embedded with a website working fine. Now I want to do it in iPhone, fore that i want to send request to flash server. The responses from server are realtime and used RTMP. How can I send request to Flash server from my iPhone application.

View 1 Replies

ActionScript 3.0 :: Application Doesn't Connect To The Localhost Path At All?

Dec 26, 2010

I am a weird problem when an swf file is communicating with the localhost server. the application runs perfectly well through the flash player of the compiler. however, when I try to execute it through the browser - it seems as if the application doesn't connect to the localhost path at all.

View 2 Replies

Flash :: Flex - Benifits/cons For Multi-player Servers For A AIR Game?

Jul 13, 2011

I have an air application that I'd like to turn into a multi-player game. I'd like to have 2-40 concurrent connections per "room". We would like to have 1-10 rooms going at once in the beginning. I'd like for users to be able to share voice and video but that's not a requirement.

Users will be racing each other based on data that's updated once every second, so ping doesn't have to be super low. 1000ms would be fine but lower is preferred.[URL]..

Cirrus looks perfect. I've heard some problems about firewall and port settings, but was wondering if anyone had experience with at home users and Cirrus. Another problem is that it's been in labs for ever. You can get RTMFP with Flash Media Server Enterprise but that's like 60k-70k per processor, way out of our price range. I've also looked at [URL] but it doesn't support RTMFP. I know we can host this on AWS and maybe save some money.

There is an open source project (cumulus) that implements RTMFP too but I've read that it's more of a POC then a production ready project. The license is also GPL which doesn't work for our commercial application. I've also looked at[URL].. but again, no RTMFP integration.The reason I like RTMFP is because we can scale without a lot of server cost. I know it's a closed protocol from Adobe and it looks like wowza or red5 won't be implementing it any time soon.

Is there an affordable (not 70k per processor) server tech for multi-player gaming that you can use with AIR/Flash that scales well?

View 2 Replies

Mysql :: Connect Flash Builder 4 Application To The Remote Database?

Jul 1, 2010

I want to get data from a database of my site. In the setting of the project point out Root URL: http://...:** But what to set in Root folder?

Already tried the two dozen variants and Validate location does not work.

View 1 Replies

Flash :: Connect Application To Nodejs Server Running Socket.io

May 9, 2011

i'm trying to connect my flash application to my nodejs server running socket.io. To connect via web-browser is no problem. Now the problem, when the socket-server isn't running i get an IOError in Flash what seams alright. Now when i start the server and try to connect again, i don't get an error, but the socket-server doesn't receive a connection either?!

View 1 Replies

ActionScript 3.0 :: Barcode Scanner Can Not Connect To The Application To Call The Data From The Database

Nov 27, 2010

I am currently working on software for student attendance. I use the flex / flash and php to create the software but I faced a problem barcode scanner (Motorola-type barcode scanner Symbol LS2208 Laser Barcode Scanner USB), can not connect to the application to call the data from the database when students scan the barcode printed on their student card. make the script so that it can run on flex / flash and php. it makes me crazy for a week to seek a way out. (I have not mastered the java script)

[Code]...

View 4 Replies

ActionScript 3.0 :: Error - The Flash Builder Debugger Failed To Connect To The Running Application

Sep 12, 2011

When i stated to using debugging option, its showing error that, "The Flash Builder debugger failed to connect to the running application.Ensure that:

1. For in-browser applications, you are running the debugger version of Flash Player.

2. For network debugging on a mobile device, you have a reliable network connection to the device, and port 7935 is open on your machine's firewall.

View 1 Replies







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