Java :: Sending Server Side Messages From BlazeDS To All Browsers

Oct 29, 2010

I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers.

[Code]...

I feel like things are setup correctly in the channel definition but, perhaps, some of those user-agent settings are off (I have played with their settings, to no avail thus far).

View 1 Replies


Similar Posts:


Java :: Sending Server Side Messages From BlazeDS To All Browsers?

Nov 25, 2010

I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers. relevant Bits from messaging-config.xmlAdapter:Destination:

<destination id="FriendNotifierGateway">
<adapter ref="friendNotifierAdapter" />
<properties>

[code]......

View 0 Replies

Java :: Flex - BlazeDS And Class In WAR File - Implement Server Side Process?

Oct 26, 2009

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, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging.

What is the best way to implement this server side process? - Should it just be a class with a main() method in the WAR file which gets called from the command line? Can this be done - not sure you can run a class in a WAR file from command line? - Should it just be a class with a main() method in a JAR file which gets called from the command line? Not sure what the standard practise here is. The key is that the process needs to be started on the BlazeDS server to push data out (not on the Flex client).

View 2 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

Media Server :: Sending Information From Server-side Script To Client?

Apr 18, 2010

I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
 
I am now working on a custom Flash-based video player to play my stream.

How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)

View 2 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies

Java :: How Set Flex Server Location For BlazeDS Maven Build

Apr 1, 2012

As a first step getting a Hello World Flex-to-Java application to compile and run I followed: [URL] And it ran successfully. However now I wish to automate the build in Maven. How to specify the Flex Server location in the pom.xml?

View 1 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

Java :: BlazeDS: Some Class Instances Already Created On The Server Are Unavailable From Flex?

Feb 10, 2011

I have a question about the Java Factory; I've read somewhere that: "... the JavaFactory will check if there is already an instance in the scope and return that. If the object is not available then it is instantiated ...", but I don't understand the expression "if the object is not available"?I am having trouble to find and/or assign classes already instantiated (by another class) in the server, to a declared destination.

I'm developing an application in Java: J2EE.I'm running it on a Tomcat 6 server I'm using BlazeDS to communicate with Flex. I'm using the RPC's Remoting Service (through RemoteObjects)There are two java classes that handle Client (Flex) interaction, say ApplicationClass and UserApplicationClass:

ApplicationClass has a reference
(attribute) to a UserApplicationClass
instance

[code]...

View 2 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 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 :: Best Server Side Technology With Adobe Flex As UI

Oct 1, 2011

I am new to web technologies. I along with my friends want to develop a web application. There is one guy in our team who knows Flex technology. I would like to use Java Springs framework at the back end. The web application caters to students a Music school. And for the same reason we chose Flex for UI since the application needs to be flashy and rich in graphics.

The application allows students to create profiles and interact with the teacher. Eventually we want to add Online Music classes feature with online payment gateway integrated. Kindly guide me which are the suitable technologies to use at the back end. Also let me know if SpringFlex with BlazeDS integration is a good combination with Adobe Flex.

View 2 Replies

Flex :: Syncing BlazeDS Messages Across Two Webservers?

Mar 5, 2012

I have a Flex/BlazeDS webapp (pseudo content management system) with a Java backend running on 2 Weblogic 10.3 servers for load balancing and HA purposes.Basically, I'm using AMF polling to update my app such that when a user opens a document from the search results, the corresponding row will display a locked icon across all user displays that currently have that document on the screen.

The problem I have is that if a user connected to Server A opens up document X, the locked icon will only appear on the screens of other users connected to Server A. The displays of users connected to Server B will not be updated. Is there any established paradigm or best practice to ensure that the locked update will propagate across all servers?

View 2 Replies

ActionScript 3.0 :: While Getting Data From Flash To Java Servlet[server Side]

Dec 2, 2009

My .fla/.swf file is unable to load the data from server. Instead, it is displaying the below error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [URL] cannot load data from [URL]. at MiniHumanAp_fla::MainTimeline/MiniHumanAp_fla::frame1() the reply for root-cause of this error...

View 4 Replies

Java :: Flex : Get The Audio Stream On Server Side(tomcat)?

Nov 1, 2011

One of my web applications have developed in java and using tomcat server. Now I want add one more feature in my application that is peer to peer audio streaming. Actually I want that anyone speak (using microphone) on the client side and I will hear his voice on my server speakers and vice versa. Also save our communication in any file and also send the audio stream to IP intercom.

For that I am trying to use Flex Builder. Flex NetStream class is good for the streaming and we can also attached microphone. But the problem is on the server side. How can I get the audio stream on server side?

how can I get stream from server to client and vice versa?

View 1 Replies

ActionScript 3.0 :: Getting Data From Flash To Java Servlet[server Side]

Dec 3, 2009

My .fla/.swf file is unable to load the data from server. Instead, it is displaying the below error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://www.mymdworld.com:8082/MiniHumanAp.swf cannot load data from http://localhost:8082/getviews?category=OB%2FGYN. at MiniHumanAp_fla::MainTimeline/MiniHumanAp_fla::frame1()

View 1 Replies

Flash :: Convert A PowerPoint File To Server-side Within Java On Linux

Feb 10, 2011

I am looking for libraries or solutions to convert a Microsoft PowerPoint file into a playable Flash file. The constraints are that I must be able to do this from Java, a webapp, that is running on a Linux-based server. I have been scouring Google and have only come up with two options: iSpring SDK -[URL] Option #1 is looking like it will be cost prohibitive based on initial conversations with the vendor (i.e. no price listed on web site). Option #2 seems non-ideal as it will require installing additional dependencies of OpenOffice and X11. This seems like too much overhead for what should be an inline solution.

Everything else I could find was either written only for Microsoft .NET or was just a PowerPoint plugin exporter. Any other solutions out there that are being buried by Google SEO? Can someone, maybe, convince me that the overhead of Option #2 really ain't that bad?

Update: I should clarify that I'm not opposed to reliance on a native library as long as it will compile on CentOS or, preferably, has a yum package available. I should, also, clarify, that I'm not opposed to a "for pay" option within realms of reasonable.

View 2 Replies

Java :: Batch Several Remoting Calls Within A Single Transaction On Server-side?

May 5, 2011

I am looking the way to batch several remote calls from flex-based application to java-based server, so that they would be processed within a single transaction on the server-side.My idea is to build several services on server-side with setter/getter like operations:

interface MyService1 {
void setField1(long myEntity1Id, int field1Value);
void setField2(long myEntity1Id, int field2Value);

[code]......

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 :: Encrypt Sqlite Db File With Server Side / So Flex / Air Client Can Read It?

Jan 23, 2012

We are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.

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

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 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 :: Java, BlazeDS And Config File For Application?

Nov 11, 2010

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 class will read it at the first time but the default path of java to read and write files is c:program filesFlex Builder 3 and not my application directory inside the tomcat webapps directory How can I read the config file from the java class without write the path hardcoded in the java?

View 1 Replies

ActionScript 2.0 :: Sending SMS Messages Through Flash?

Nov 9, 2004

set up a way for users to send him SMS messages to his phone from a from on his website. I figured rather than bugging him about how he did it, I'd post here. So, how is this achieved?

View 2 Replies

ActionScript 2.0 :: Mail Form Not Sending Messages

Aug 6, 2010

I have designed a form with a mail form these are the codes that I am using with my php file but its not sending the message. My same php file is working fine with the static html site. Here is the flash code on first frame:

function submit() {
if (contact_name.text == "" || contact_company.text == "" || contact_phonenumber.text == "" || contact_besttime.text == "" || contact_findus.text == "" || contact_learningmore.text == "" || contact_sellermandate.text == "" || contact_buyermandate.text == "" || contact_abuyer.text == ""){
message_status.text = "Please fill up all text fields.";
[Code] .....

View 1 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 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

Java - BlazeDS Destination Destroy()?

Oct 22, 2009

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 to know when the request is complete?

I know I can use finalize(), but that is only called when garbage collection occurs.

View 2 Replies







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