2 AIR applications directly communicating with each other in real time

Building a installation that requires 2 different kiosks to communicate with each other. I'd like to use Adobe AIR to create the individual applications.
My question is
Is it possible for 2 separate AIR applications to DIRECTLY communicate with each other in real time, without any server to act as mediator?
Ideally the only data that would be transferred would be json based.

Not sure whether this helps; http://www.adobe.com/devnet/air/flex/articles/creating_socket_server.html

Similar Messages

  • VM Machines not communicating with each other on Hyper-V 2012

    In Hyper-V 2012 on Server 2012 I have created two VM's Server 2008 64-bit & Server 2012 64-bit.
    The problem is both VM's are not communicating with each other.
    Regards
    Ganesh Parte

    Hello,
    seems this belongs to the Hyper-V networking configuration settings. Please ask this in http://social.technet.microsoft.com/Forums/en-US/home?forum=winserverhyperv
    and also describe how you have the network settings configured in the Hyper-V MMC.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • BODS / SAP : what set-ups are required for communicating with each other ?

    Hi.
    There is a new SAP system
    And there is a new BODS installation.
    Both on independent server machines but on the same lan network.
    On the test system of BODS. We tried to see how the communication happens with SAP.
    While we try some test jobs by trying to pull a simple table on SAP R/3
    In Dataflow, we used simple SAPR/3 ABAP flow. And put it into target database thro query transformation.
    In the datastore,
    We used the Generate and Execute option,
    with a path on the local directory of BODS server for creating the ABAP program and the dat file.
    However,
    We are always getting error on batch job schedule.
    Although the user is having rights on the R/3 table
    And can login into SAP R/3 system and check the table.
    Still we get an error saying Databstore unabel to connect to R/3 system. Check for user login etc.
    For anyone whose login we use. We get the error.
    However, if i directly generate the code on the ABAP flow (without running the job),
    make the program available on R/3 system.
    and then run the job as execute preloaded
    this works fine without any error.
    and we are able to see the data in the target table.
    Now both the systems are new.
    And am not aware of the initial set-ups which are required for communication between SAP / BODS.
    Are WE missing something on the SAP side setups - for generate and execute option to be used?
    Is there anything specific to be done for ease of the communication between SAP server and BODS server in this regard.
    Can anyone share some inputs on this.
    Actually for any user with full admin rights too, on the sap side, if we use the user login for R/3 connectivity for this particular "generate and execute" option,  it errors out after nearly 10 minutes. Then the error says, login info not correct.
    So basically, the communication channel by itself between SAP R/3 and BODS seems to be locked somewhere.
    If anyone with SAP admin expertise - can help or advise on this.
    Many thanks
    Indu
    Edited by: Indumathy Narayanan on Sep 13, 2011 9:20 PM

    Getting data out of R/3 requires two distinct setup tasks, and they don't have much to do with each other.
    The first basic task is to get the little ABAP extraction programs loaded and run in R/3.  You can pre-load them and then call them, or generate, upload, and execute them all on-the-fly, at BODS runtime.  During development, use "Generate and Execute" for your ABAP.
    Once that's done, you have four different choices to get the data back: "Direct download", "Shared directory", FTP, and "Customer Transfer". Normally, you'll use either FTP or "Shared directory".  Refer to the documentation (the BODS SAP Supplement) for a description of all this.
    In all cases (or at least, quite certainly, using the FTP and Shared Directory methods), the ABAP extraction programs are directed to plop their output as flat files in the "Working directory on SAP server."  For testing, you can look in that folder to see if any flat files are appearing when you submit an ABAP data flow.  If not, then either 1) your ABAP program isn't getting in there (a Basis admin should be able to tell you), or 2) it's not running (ditto), or 3) it's running but unable to generate the output file (ditto), because a) SAP isn't permitted to write to that folder, or b) the folder doesn't exist (it needs to be defined from the perspective of the SAP server).
    If you do see files appear in the "Working directory on SAP server" when you run a BODS job w/ an ABAP dataflow, then the problem is that BODS can't fetch them.  If you're using the "Shared directory" method, which is suitable for and often used in all-Windows environments, then the account under which the Job Server in question is running must have access to the "Working directory on SAP server," but this time from the perspective of the Job Server.  So if, for instance, SAP was directed to put the flat files on a local folder, say, "E:\USR\SAP\BODS", then you might want to share this folder out as, for instance,
    sapdev1\bods (for an SAP host called "sapdev1"), and then enter "
    sapdev1\bods" in the "Application path to shared directory" field, in your SAP datastore configuration.  If your Job Server service is logging-in as "Local System," though, it won't be able to get there -- it needs to log-in as an AD domain account w/ rights to that share.  Get it?  Try logging in to your BODS job server computer with the AD "service account" setup for use by the Job Server service, and try to open a file on the "Application path to shared directory". If you can't, then BODS won't be able to get data from ECC, either.  FTP works similarly -- if you're using that and having trouble, please re-post.
    Best wishes,
    Jeff Prenevost
    Data Services Practice Manager
    itelligence

  • Two ear file communicating with each other

    HI,
    I have one doubt,
    I Have two ear files (two webservices actually) deployed succesfully in the same application server (Weblogic7.0). Let us say them a.ear and b.ear
    In a.ear there are class say A.class and B.class. In B.java file there is a staic HashMap which stores some object based on some id. Also in B.java there is static method which takes the id as a parameter and return the corrospojnding object stored in the static hasmap.
    In b.ear file there class say B.class and C.class. Note that this ear file has its own copy of B.class file. In C.java file i create an object (though i dont need create being it a static method) of B.java and calls the static object passing it the id and expecting it that it will return me the object stored in the Hashmap. it returns me null though it has the objects stored for that id.
    Is it because both ear files has their own copy of B.class. but i though that that they are running in the same jvm in application server so it should not be a problem. if this is the reason then my problem will be solved if i put them in same ear file.
    Can anybody put his insights into his experiences and lemme know what is the cause of problem and solution and for my knowledge why it is happening.
    Best Regards,
    Akhil Nagpal

    You're right that the two have different copies of the class. This is because the EJB container uses a different classloader for different applications, to prevent statics clashing with each other and other related security reasons.
    Usually if you want to communicate from one to the other, you would use the EJB mechanism itself. The JNDI names should be global (from simple tests I did in the past, this seems to be the case) so that one application can look up an EJB from the other.

  • Objects communicating with each other

    Suppose I have a main class that has a Thread instance variable. What is the best way to notify the main class that something has happened in the thread?
    Example:
    I have a main class, a Producer, and a Consumer. Both the Producer and the Consumer extend Thread.
    The main class is supposed to keep track of when the Producer produces something, and when a Consumer consumes something.
    What is the best way for the Producer/Consumer to tell the main class that something has been produced/consumed?

    example of Vistor parttern from Wikipedia
    interface Visitor {
        void visit(Wheel wheel);
        void visit(Engine engine);
        void visit(Body body);
        void visitCar(Car car);
        void visitVehicle(Vehicle vehicle);
    class Wheel {
        private String name;
        Wheel(String name) {
            this.name = name;
        String getName() {
            return this.name;
        public void accept(Visitor visitor) {
            visitor.visit(this);
    class Engine {
        public void accept(Visitor visitor) {
            visitor.visit(this);
    class Body {
        public void accept(Visitor visitor) {
            visitor.visit(this);
    abstract class Vehicle {
        protected Engine  engine = new Engine();
        protected Body    body   = new Body();
        protected Wheel[] wheels;
        public Engine getEngine() {
            return this.engine;
        public Body getBody() {
            return this.body;
        public Wheel[] getWheels() {
            return this.wheels;
        public void accept(Visitor visitor) {
            visitor.visitVehicle(this);
    class Car extends Vehicle {
        public Car() {
            super();
            this.wheels = new Wheel[]
              { new Wheel("front left"), new Wheel("front right"),
                new Wheel("back left") , new Wheel("back right")  };
        public void accept(Visitor visitor) {
             visitor.visitCar(this);
    class PrintVisitor implements Visitor {
        public void visit(Wheel wheel) {
            System.out.println("Visiting "+ wheel.getName()
                                + " wheel");
        public void visit(Engine engine) {
            System.out.println("Visiting engine");
        public void visit(Body body) {
            System.out.println("Visiting body");
        public void visitVehicle(Vehicle vehicle) {
            System.out.println("Visiting vehicle");
        public void visitCar(Car car) {
            System.out.println("Visiting car");
            car.getEngine().accept(this);
            car.getBody().accept(this);
            for(Wheel wheel : car.getWheels()) {
                wheel.accept(this);
    class DoVisitor implements Visitor {
        public void visit(Wheel wheel) {
            System.out.println("Steering my wheel");
        public void visit(Engine engine) {
            System.out.println("Starting my engine");
        public void visit(Body body) {
            System.out.println("Moving my body");
        public void visitCar(Car car) {
            System.out.println("Starting my car");
            car.getEngine().accept(this);
            car.getBody().accept(this);
            for(Wheel wheel : car.getWheels()) {
                wheel.accept(this);
        public void visitVehicle(Vehicle vehicle) {
            System.out.println("Starting my vehicle");
    public class VisitorDemo {
        static public void main(String[] args){
            Car car = new Car();
            Visitor printVisitor = new PrintVisitor();
            Visitor doVisitor = new DoVisitor();
            car.accept(printVisitor);
            car.accept(doVisitor);
    }

  • How can I have threads communicate with each other?

    I'm working on a project that requires a group of classes communicating with each other. I decided on using a server and carrying out communication that way. However, my app only has communication between the client and server. I need the clients to be able to communicate with each other. Does anyone know how I can do this or point me to a good tutorial?

    Sorry, here's a bone stock example of my server and client:
    <SERVER>
    package testserver;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class TestServer
    static int portOpen;
    public static void main(String[] args)
    portOpen=4000;
    try
    ServerSocket portListener = new ServerSocket(portOpen);
    TestServer userThreads = new TestServer();
    while (1==1)
    Socket userConnection=portListener.accept();
    userThreads.new PortConnection(userConnection);
    catch (Exception e)
    System.out.println("The server encountered a serious error. Server shut down.");
    e.printStackTrace();
    System.exit(0);
    class PortConnection extends Thread
    //Declare variables to handle connections.
    Socket ourConnection;
    BufferedReader serverInput;
    PrintWriter serverOutput;
    PortConnection(Socket userConnection)
    try
    ourConnection=userConnection;
    serverInput=new BufferedReader(new InputStreamReader(userConnection.getInputStream()));
    serverOutput=new PrintWriter(userConnection.getOutputStream(),true);
    start();
    catch (Exception e)
    System.out.println("An error occurred when a user attempted a connection.");
    public void run()
    serverOutput.println("Welcome to the Server.");
    try
    serverOutput.close();
    serverInput.close();
    ourConnection.close();
    catch (Exception e)
    </SERVER>
    <CLIENT>
    package testclient;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class TestClient {
    static BufferedReader userInput;
    static Socket quizServer;
    static BufferedReader serverInput;
    static PrintWriter serverOutput;
    static String serverData;
    public static void main(String[] args) {
    userInput = new BufferedReader(new InputStreamReader(System.in));
    try {
    quizServer=new Socket("localhost",4000);
    catch (Exception e) {}
    try
    serverInput=new BufferedReader(new InputStreamReader(quizServer.getInputStream()));
    serverOutput=new PrintWriter(quizServer.getOutputStream(),true);
    catch (Exception e) {}
    try {
    serverData=serverInput.readLine();
    catch (Exception e) {}
    System.out.println(serverData);
    </CLIENT>

  • HP 2000 Notebook PC -- Extended display monitor and built-in screen swapping with each other.

       I have an extended display monitor connected to my notebook and every so often without any warning the displays will flicker to black screens, and then quickly swap back and forth  with each other 2 - 3 times, usually resuming the way it began.  Entire event lasts maybe 10 - 15 seconds total but during that time I have no control of my PC.  Anyone know how to stop this from occuring or what is causing it to happen?   Thanks for any assistance with this issue .
    HP 2000 Notebook PC - Product # :  D1E80UA#ABA  -  AMD Radeon HD 6310 Graphics  Windows 8.1 64-bit system.

    I'll try helping,
    If the flickering is seen in the extended display
    I think the issue may be with driver then,
    First
    Uninstall the AMD graphic driver from Device manager - Display adapter , Control panel.
    shut down laptop
    then try a hard reset
    this might help you in that-
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01684768&cc=us&dlc=en&lc=en&jumpid=reg_r1002_us...
    then,
    Tap away at the ESC key as you power on the notebook again to launch the Start-up Menu and then select F10 to enter the bios menu.
    Press F5 to load the defaults (sometimes F9, the menu at the bottom will show the correct key )
    use the arrow keys to select 'Yes' and hit enter.
    Press F10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - just let this complete.
    Then,
    download, saving & install the latest AMD HD Driver from your product website here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=5360...
    Restart the system
    Check the issue.
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • HT5225 I have an imac 24 , imac 27, mac book pro, airbook and Iphone 3G.  I have switched to icloud from mobile and all the computers synch with each other but data entered from my iphone in ical won't sync to the other computers.

    I have an imac 24 , imac 27, mac book pro, airbook and Iphone 3G.  I have switched to icloud from mobile and all the computers synch with each other but data entered from my iphone in ical won't sync to the other computers.
    Is there a setting on the iphone that will allow ical entries on the iphone to sink to my other computers
    Thank-you

    Welcome to the Apple community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please researc

    I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please advise me on the steps necessary for removing these duplicates and establishing a syncing solution that doesn't regenerate the duplicates.  There are several applications available that remove duplicates, but I am not sure which ones work or don't work.  I want information on this, but most importantly I want to understand how to fix this problem permanently.  Also, I read somewhere that Mac's new operating system, Lion, can help deal with duplicates.  I don't have Lion, but I would be willing to get it, if this would fix the problem.

    Had the same problem with 4 devices (two computers, an iPhone and an iPod). The solution is simple: open the Address Book application in your mac, ask it to locate duplicate entries (under one of the top menu items, "edit" I think), and then ask it to consolidate them: it took me all of three seconds after I figured it out: worked like a charm! PS: if you have more than one mac with unconected Address Books, repeating the operation in the second one may be a good idea.
    Message was edited by: mfduran

  • For WRT1900AC, how do the 4 antennae work with each other?

    I am curious how the 4 antennae work with each other.  Does a wifi client need to communicate with all 4 antennae?  Or just 1 (or 2)?  I am curious, as I would like to move 1 or 2 of the antennae via proper cable to expand the coverage area.  

    bigdave240 wrote:
    spec on that cable is 10.8dB per 100 feet. I would think that the router would still have a problem with that. Not sure how long the OP was going to make it but with the beaming technology i would think it would throw it off balance.
    My maximum is 60ft when using LMR400 for standard wireless applications. I have done that many many times.
    These days they typically integrate the higher gain antenna right into the bridge housing or mount the outdoor bridge right next to the antenna.
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • Both can connect to test sites but not videochat with each other

    I am using a 2GHz PPC iMac on 10.4.6 with external iSight. I can see the Apple ad from one of the test sites. My wife is using a G4 PowerBook running the latest Panther OS with external iSight. She is in a hotel but can also see the Apple ad from the test site. When she was home, we could videochat over Bonjour.
    But, while she is in the hotel out of town, we couldn't videochat with each other. Whether one initiated or the other did, we both get the "XXX failed to respond" message even though we obviously did accept the videocall.
    If we both can videochat with the test sites, how come we cannot videochat with each other?
    Given the above, I hope some experts can rule out a bunch of stuff and let me know the finite (and small) set of potential reasons affecting our situation so that I can work on resolving this efficiently.
    What could be the likely problem?
    On my side, I use an Apple AEBS that uses DHCP and NAT but my iMac is manually set to 10.0.1.201. I have set the ports in Firewall but even when I turned off Firewall it did not work.
    Any help is much appreciated.

    Hi Heng-Yee Yong,
    The test sites are most likely set to have the ports open by UPnP which does not use NAT.
    If you modem is routing and is using Port Forwarding and the Airport is as well then you have two lots of NAT going on at your end.
    I would Open Airport Admin Utilty (Applications/Utilities) and log on to the Airport
    Go to the Network tab.
    Deselect Distributing Addresses which wll trun off NAT in the Airport and make it a Wireless access device.
    This means your computer will have to take an IP form the Modem.
    This may not be rquired if the modem id is Bridge mode itself as this measn it is not routing and all port will be open without the use of NAT.
    This App can help identify if NAT is a problem
    http://bleu.west.spy.net/~dustin/projects/natcheck.xtp
    Or at least whether you have Consistent NAT or not.
    8:50 PM Wednesday; April 26, 2006

  • Pdf documents merging with each other

    Hi all
    I am facing a problem regarding writing pdf documents using iText. I have an application that generates different pdf documents using a common function that generates the pdf. Problem occurs when two or more people generate pdfs. Most of the times the pdfs get merged with each other, which is a serious problem. Please help me regarding this.
    Thanks
    Gurpreet Singh

    sounds like this fuction of yours is making use of a static variable or two.

  • Premiere Pro CS5 confuses images with each other

    Hi Adobe-Community,
    I've got a severe problem, that is holding back my whole project at the moment, and I really hope you can help me with this.
    Premiere regularly confuses the images I have added to my project with each other. So when I am importing 2 images, let's say CIMG5967.JPG and CIMG5974.JPG, by dragging them into my project, two new elements are created. But when I'm putting these elements into my sequence, both appear as the same image, although they are still properly named after their original file.
    Sometimes the very same problem even occurs some days later, so parts of my project, that have already been finished, suddenly appear as if I would have used the same image over and over again.
    I'm using Adobe Premiere Pro CS5 - Version 5.0.3
    Using the option to clean up the media-cache-db didn't help.

    Happened to me once - a corrupt project.
    Unlink all the faulty images. 
    Open a new project. 
    IMPORT the old project
    Relink the images.

  • How do I enable two wireless clients to communicate with each other?

    I have a WRT54GL with the latest firmware.  I have two computers which are both connected to the router, with IP addresses assigned via DHCP.  Neither has a firewall running.  I cannot get them to communicate with each other -- even ping doesn't work.  I can ping the router itself using the IP address assigned to it on the WAN side by my ISP.   Both computers have no problem reaching the internet through the router.
    What settings on the router will enable the communication to occur?  I can't find anything in the router's user interface which appears to control this. 
    Thanks.
    Solved!
    Go to Solution.

    Hi annie25,
    I think it would be best to check on netgear or belkin technical forums how to make these two talk. 
    Yesterday is history. Tomorrow is mystery. Today is a gift.

  • IPod as a conduit to sync iCal and Outlook 2003 with each other?

    I am able to synchronize my work Outlook 2003 calendar and home Mac iCal with the iPod in two separate files on the iPod. I can see them both if I select "All". My questions are:
    1. What should I do to sync the PC and the Mac with the same file on the iPod?
    2. Is it possible to snychronize the iCal and Outlook with each other via the iPod?
    Thanks,
    Iris
    Powerbook G4   Mac OS X (10.4.5)   PC/XP Pro

    If you mount your iPod on your Mac, navgate to the iPod Calendars folder and double-click on an ics file it will import the calendar into iCal. So you can sync from the PC to the iPod to iCal uni-directionally. If Outlook 2003 can import an ics file then you should be able to sync the other way as well. However, in both cases you will essentially be copying over one calendar with another, not really synchronizing.

Maybe you are looking for