Java :: Open 1 File Into 5 Versions Of The Same Flex-based App Engine App Simultaneously?

Aug 11, 2011

I have an application on Google App Engine that is made of Adobe Flex [and Java] components. The app has buttons to do tasks related to the app, including an "Open" button, which allows the user to open a .XML file, which then gets converted into data/content that's displayed in the app GUI. Then I press the "Run" button and it calculates stuff related to the inputted data/content. Also, my datastore is setup using JDO. I'm using only GAE. I'm NOT using GWT.

Based on the nature of the calculations (algorithms) I'm running, I would benefit from being able to open an XML file and then click the Run button on my app simultaneously on lets say 5 different versions of my app that I have uploaded to app engine. The 5 versions would be identical.Is there a way to create, say, an HTML page where the user would provide a link to the XML file (or open/load it from their disk) to be processed, then press "Go," where then the XML file is passed to all 5 versions of my app, then "automatically presses the Run button" on each?I can do this manually at the moment by going to each version-specific URL for my app, but it takes too long. Do you have any suggestions for how I would go about setting up such a script?

EDIT: Motivation for the problem: It's not XML processing time that I'm worried about. I currently have 2 algorithms that compute the number of particular types of "special points" that exist in an inputted XML file which contains large amounts of data. The difference between the two algorithms is that the 1st searches until it finds every special point. Then it stops. The 2nd searches and stops when it finds the first special point it comes across. Using multiple instances of this 2nd algorithm, one has the potential of finding all the points faster than the 1st algorithm.

View 1 Replies


Similar Posts:


Java :: Open Source Web Based Screen Sharing

Jun 18, 2011

Is there any open source screen sharing (or desktop sharing) software that I can use to integrate into my web site? Any flash/java based solutions?

View 2 Replies

Flex :: DTD Flash Open Source Engine?

Nov 19, 2009

DTD flash flex action script open source engine?I need some open source engine for creating some games like Desktop Tower Defense games

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 :: 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 :: 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

Java :: Implementing Role Based Authorization For Existing App In Flex

Jul 9, 2011

I have an application that is coded using Flex 3 on UI side and java @ the service layer, along with BlazeDS. Now we need to authorize the users accessing the system based on the roles that are defined for them in the database, e.g. : say a user with role guest should not be able to access Admin tab on ui and also should not be able to do any operations other than viewing the data displayed on dashboard. Also the point to note here is that roles can be created dynamically by Super users from UI. I came across this link which describes how to perform Role Based Authentication & Authorization. With this approach I need to define the roles in service-config.xml but since my roles are not pre-defined I cannot go with this.

View 1 Replies

Java :: How To Start Using Flex In Eclipse (Open Source Way)

Jan 13, 2011

I would like to know how to build a flex based flash file and handle it through java but the open-source way. I would like to learn using flex to develop webpages. Is there any way to implement it using eclipse IDE.

View 3 Replies

Java :: Facebook, Flash And Google App Engine?

Jan 18, 2010

Is it possible to use a Facebook session in a Flash to authenticate on Google App Engine? I'm trying to create a Flash game and I want to use GAE as the back-end.

View 1 Replies

Java :: SPRING: Programmatically Instantiate Classes Based On Information Passed From Flex UI?

Feb 28, 2010

Imagine the UI passes back an XMl node as such:

[Code]....

And behind the scene what it is asking that you instantiate a class as such: new Source("blooper", new Exp(4), new Erlang(4,6); The problem lies in the fact that you don't know what class you will need to processing, and you will be sent a list of these class definitions with instructions on how they can be linked to each other. I've heard that using a BeanFactoryPostProcessor might be helpful, or a property editor/convertor. However I am at a loss as to how best to use them to solve my problem.

View 3 Replies

Flex :: Open Source Lib For Audio Based Generative Art ?

Nov 13, 2009

I need Open source lib for Audio based generative art (Flash/Action Script)Something like or easier than Very Interactive People example

Something more strictly formatted and more 2d than Mr.Doobs examples

View 1 Replies

ActionScript 3.0 :: Open-source Flash 3D Engine Comparison?

Mar 26, 2009

For some reason, I'm having a hard time finding a recent, side-by-side comparison of the various pros and cons of the different open-source flash 3D engines, such as Papervision3D, Away3D, and Sandy3D. Specifically, I'm looking for comparisons in the areas of

ease of use (and documentation) performance (framerate with lots of polygons) stability (bugs, glitches, graphical artifacts) currency (for lack of a better word - is the project gaining or losing team and community members?)

language(s) used (is it in as2, as3, flash-player-10 as3?) features (lighting and shadows, import models and animations of various formats, click detection, collision detection)

This is reasonable, right? I don't want to essentially pick one at random, only to find myself in trouble later on. Working with papervision3D, I'm already frustrated by the documentation, or the in-name-only nature thereof - most functions only have headers listed and no descriptions of what they do. Personally, I like to be able to pour through the documentation and figure out how to do whatever I want, and I feel like I'm fumbling around in the dark, having to read the source and try to understand all the implementation details. Who's used multiple open-source flash 3D platforms?

View 8 Replies

Professional :: Open-source Physics Engine For Simulating Celestial Mechanics/planetary Orbits?

Jul 19, 2010

I have APE, but I'm not sure I can effectively utilize it for this project. Box2D seems popular, as do WOW and some others but I'm not sure which would be best for simulating celestial mechanics. The physics I need are essentially those used in the classic two-body problem.

View 1 Replies

Java :: Flex 4 IFrame Open Url Internal Network To An External Network?

Sep 6, 2011

I have the following scenario:

One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........

I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?

View 1 Replies

Chart Of Swf Versions To Flash Versions?

Mar 2, 2012

Is there a chart equating SWF versions to Flash versions? The beginnings of one is here, but it is incomplete.

View 2 Replies

Flash Development On MacOSX - Build A Tile Based / Platform Flash Engine?

Mar 7, 2010

I'm familiar with C/C++/Scheme/Java/OpenGL/TCP/IP.I need to learn how to build a tile based / platform flash engine.What tools should I be using? What books should I buy?I strongly prefer tools that let me do things programatically rather than through a graphical UI.

View 2 Replies

Flex :: Upload Csv File To Java Class

Nov 17, 2009

How can i upload csv file to java class in flex ?

View 1 Replies

Java :: Binary Socket And Policy File In Flex

May 17, 2010

I'm trying to evaluate whether Flex can access binary sockets. Seems that there's a class calles Socket (flex.net package). The requirement is that Flex will connect to a server serving binary data. It will then subscribe to data and receive the feed which it will interpret and display as a chart. I've never worked with Flex, my experience lies with Java, so everything is new to me. So I'm trying to quickly set something simple up. The Java server expects the following:

DataInputStream in = .....
byte cmd = in.readByte();
int size = in.readByte();
byte[] buf = new byte[size];
in.readFully(buf);
[Code] .....

After that - EOFException happens on the server and that's it. So the question is, am I approaching whole streaming data issue wrong when it comes to Flex? Am I sending the policy file wrong? Unfortunately, I can't seem to find a good solid example of how to do it. It seems to me that Flex can do binary Client-Server application, but I personally lack some basic knowledge when doing it. I'm using Flex 3.5 in IntelliJ IDEA IDE.

View 1 Replies

Java :: Embed A Jar File Inside A Flex Application?

Jan 30, 2011

I have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?

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

Java :: Load A .properties File From A Client Using Adobe Flex?

Feb 28, 2011

Is it possible to load a .properties file from a client computer using adobe flex? I have a flex app that needs to access a server and multiple URLs but the URLs may change frequently. So I think modifying and loading the URLs from a .properties file would be the easiest way update the URLs

I was able to use florians suggestion and I've added the code below if anyone else is interested. I used the example here URLLoader.

public function URLLoaderDataFormatExample(event:Event):void
{
var request:URLRequest = new URLRequest("file:///c:/temp/prop.properties");
var variables:URLLoader = new URLLoader();

[Code]...

View 3 Replies

Java :: Accesing A File When Deploying In Tomcat A Flex Application?

May 22, 2011

I have two applications: a client in flex and a server in Java. When I deploying the application inside flex builder with the tomcat server inside as well, everything works fine. But now I'm trying to deploy in apache tomcat outside the flex/eclipse builder and I have a problem.I think the problem is with relative/absolute paths but I do not know how to resolve it.In my Java application I have to access a database and a get a file from it. I use a properties to set a path where I want to download that files like this:pacs.ruta=C:\resources\And then I need to access to that file so in use this code:fin = new FileInputStream(pacsRuta+""+f.getName());where f.getName() gives me the name of the file so I get the path of the file with the path I set in pacs.ruta and the files name.

I do not know why it does not work. I tried to put pacs.ruta=/resources/to associate with a folder in my application but It does not work.Could someone give me an advice? Do you think it is the problem? Because the whole application works fine deploying in a tomcat server outside the flex/eclipse builder but when this code is called the application does not work.

View 2 Replies

Java :: Component For Displaying (>25MB) Text File In FLEX

Feb 6, 2012

Flex front-end using AMF to Java back. Trying to read, in real-time, a file that is being written to. For example, a log. I'm using Java's RandomAccessFile class to read the "new" lines of the file and send them back to the UI as a byte array along with the byte offset to start reading from next time. Using an mx:List to display all lines of the text file. The problem I'm running into, is Flex, or Flash Player, running out of memory on mildly large files, >25MB. Is there any preferred method of displaying large amounts of text data in Flex that I'm missing? Or does Flex/Flash just handle this poorly and I'm basically screwed?

View 2 Replies

Java :: Flex - Display Tree Like View Of File System?

Mar 17, 2012

I need a view of file system like this.

[Code]....

View 2 Replies

ActionScript 3.0 :: Java With AS 3.0 To Open URL?

Nov 14, 2008

I am trying to create a button that when clicked will open a webpage with a pre-determined size. This is my code now that works without Java:

var urlWeb:URLRequest= new URLRequest ("
http://www.adobe.com");
website_btn.addEventListener("click", goWeb);
function goWeb (e:MouseEvent):void

[Code]...

View 3 Replies

Java-based Menu And Flash Animation

Feb 17, 2010

I have a flash animation I'm working on for a Web site and the java-based menu that's above it uses drop-down menus. Well, when the drop-down menus and the flash animation overlap, all you can see is the flash. The menu is behind it. This only happens on a PC-based browser. It is fine on a Mac. Any thoughts here? Any settings I'm missing here? The file is built in Flash CS4 using ActionScript 3.0. Here's the URL for the site (problem on home page when "Resources" menu drops down):

View 2 Replies

C# :: Communication Between Flash And Java Server Based App?

Jun 1, 2011

For example, Flash records voice and sends it to the server where Java or C# apps can proccess it and return back some data (or write it to db). How this communication possible, which protocols sould be used and etc.

View 2 Replies

Flex :: Open Exe File From Air?

Oct 19, 2009

I have .exe file, which is done in VB. i need to open or hit that exe file from Flex3 air application on Button Click event.

i need to simple hit that exe file to run, no need to open inside the air applcation.

How to hit the exe file in Air app...?

View 4 Replies

ActionScript 3.0 :: Upload File And Get Info From Server Simultaneously

Mar 2, 2012

I want to upload file and get some information from server at the same time. I have the code:
file.addEventListener(Event.COMPLETE, function():void {
trace("complete 1"); });
file.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, function():void {
trace("complete 2"); });

When the returning data is not empty, I see:
complete 1
complete 2
But when the returning data is empty, I see:
complete 1
How can I understand that file uploading is compete absolutely even if received data is empty?

View 11 Replies







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