Implementing real time networking into existing app

Its been some time since I have delved into the depths of networking. Hopefully someone can direct me in the right direction.
I have a desktop application with a MySQL backend. The application manages athletes, events, competitions etc for an athletics club. We can currently run the application on a machine hosting the MySQL database. From here we can connect a second machine with a separate instance of the application, connected to the MySQL database on the previous host machine.
Records can be simultaneously added or modified in parallel on both machines. Unfortunately if a record is created for example on the host machine A, machine B (connected to the MySQL database on host A via a network) does not detect this modification until machine B does an action to update the current screen. In which case the new record is visually shown.
What I would like to implement in the cleanest way into this current application is real time networking. So that when a record is updated on any machine connected to the host (including the host). That a signal is sent to each client connected to the host to update current contents in application if required.
What relevant material would you recommend I cover?
Would simple sockets do the trick?
All views welcomed
Mel

cotton.m wrote:
JMS? Thanks cotton, I will look into JMS
Unless you just wanted to play with sockets for the experience in which case you can do as you like. If you want get better with Java networking then IMO you must get ejp's book. [http://www.amazon.com/Fundamental-Networking-Java-Esmond-Pitt/dp/1846280303]
It's more of a fix before we release it to the poor souls that will be using our software, oh how the public are blind...
Mel

Similar Messages

  • Implementing Real Time, Outbound Interfaces

    Hi All,
    I have never worked on Interfaces before.
    I need help in Real time, Outbound Interfaces.
    How do we implement Real Time and Outbound Interfaces.
    Any pointers or suggestions would really be helpful.
    Thanks,
    Saher

    cotton.m wrote:
    JMS? Thanks cotton, I will look into JMS
    Unless you just wanted to play with sockets for the experience in which case you can do as you like. If you want get better with Java networking then IMO you must get ejp's book. [http://www.amazon.com/Fundamental-Networking-Java-Esmond-Pitt/dp/1846280303]
    It's more of a fix before we release it to the poor souls that will be using our software, oh how the public are blind...
    Mel

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • Has anyone implemented real time datasource for COPA ?

    Hello,
    Has anyone implemented a real time data source for COPA ? Please share details of the process for how this can be set up. Thanks.

    Hi,
    Please follow the following steps...
    COPA Extraction
    The below are the command steps and explanation. COPA Extraction -steps
    R/3 System
    1. KEB0
    2. Select Datasource 1_CO_PA_CCA
    3. Select Field Name for Partitioning (Eg, Ccode)
    4. Initialise
    5. Select characteristics & Value Fields & Key Figures
    6. Select Development Class/Local Object
    7. Workbench Request
    8. Edit your Data Source to Select/Hide Fields
    9. Extract Checker at RSA3 & Extract
    BW
    1. Replicate Data Source
    2. Assign Info Source
    3. Transfer all Data Source elements to Info Source
    4. Activate Info Source
    5. Create Cube on Infoprovider (Copy str from Infosource)
    6. Go to Dimensions and create dimensions, Define & Assign
    7. Check & Activate
    8. Create Update Rules
    9. Insert/Modify KF and write routines (const, formula, abap) 
    10. Activate 
    11. Create InfoPackage for Initialization 
    12. Maintain Infopackage 
    13. Under Update Tab Select Initialize delta on Infopackage 
    14. Schedule/Monitor 
    15. Create Another InfoPackage for Delta 
    16. Check on DELTA OptionPls r 
    17. Ready for Delta Load
    LIS, CO/PA, and FI/SL are Customer Generated Generic Extractors, and LO is BW Content Extractors.
    LIS is a cross application component LIS of SAP R/3 , which includes, Sales Information System, Purchasing Information System, Inventory Controlling....
    Similarly CO/PA and FI/SL are used for specific Application Component of SAP R/3.
    CO/PA collects all the OLTP data for calculating contribution margins (sales, cost of sales, overhead costs). FI/SL collects all the OLTP data for financial accounting, special ledger
    1) Add the fields to the operating concern. So that the required field is visible in CE1XXXX table and other concerned tables CE2XXXX, CE3XXXX etc.
    2) After you have enhanced the operating concern then you are ready to add it to the CO-PA data source. Since CO-PA is a regenerating application you can't add the field directly to the CO-PA data source. You need to delete the data source and then need to re-create using KEB2 transaction.
    3) While re-creating the data source use the same old name so that there won't be any changes in the BW side when you need to assign the data source to info-source. Just replicate the new data source in BW side and map the new field in info-source. If you re-create using a different name then you will be needing extra build efforts to take the data into BW through IS all the way top to IC. I would personally suggest keep the same old data source name as before.
    If you are adding the fields from the same "Operating concern" then goto KE24 and edit the dataaource and add your fields. However if you are adding fields outside the "Operating concern" then you need to append the extract structure and        populate the fields in user exit using ABAP code.   Reference OSS note: 852443
    1. Check RSA7 on your R3 to see if there is any delta queue for COPA. (just to see, sometimes there is nothing here for the datasource, sometimes there is)
    2. On BW go to SE16 and open the table RSSDLINIT
    3. Find the line(s) corresponding to the problem datasource.
    4. You can check the load status in RSRQ using the RNR from the table 
    5. Delete the line(s) in question from RSSDLINIT table 
    6. Now you will be able to open the infopackage. So now you can ReInit. But before you try to ReInit .... 
    7. In the infopackage go to the 'Scheduler' menu > 'Initialization options for the source system' and delete the existing INIT (if one is listed)                                                                               
    Regards,
    Tapan

  • Real Time Network Monitoring

    We have just over 200 stores across the country and we are looking for a simple monitoring tool that can show us a map of the country and an icon for each cisco switch we have out there.  I would like a map that shows in real time when a device goes down.  I would like something the overview map that Meraki uses on their dashboard.   Does anyone have any ideas?
    Cisco Meraki Overview map
    https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&docid=WGMmRPl2TW_LPM&tbnid=PaZGtAii1sqkeM:&ved=0CAUQjRw&url=https%3A%2F%2Fmeraki.cisco.com%2Fsolutions%2Fbranch-networking&ei=thuaU5vaCJLLsQSD6IKYAQ&bvm=bv.68911936,d.cWc&psig=AFQjCNEi3c1v59YP4oHEDifm-5zr9vgSVw&ust=1402694894817557

    Hi,
    there are few monitoring software available , you can download the trial version of them and see which one fits to your requirement.
    Solarwinds:
    http://www.solarwinds.com/network-topology-mapper.aspx
    whatsup gold:
    http://www.whatsupgold.com/glossary/network-mapping-tools/
    Cisco Prime LMS(LAN  MANAGEMENT SOLUTION)
    hope it will help.
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ***

  • How can I Load Real-Time XML into SWF

    Hi,
    I am a newbie and I need to load data from an XML file but the data is changed constantly. Is there a way to have the SWF refresh instead of caching the XML content at the first load.
    My current code is as following:
    var index:Number = 0;
    var myxml:XML = new XML();
    myxml.ignoreWhite = true;
    myxml.onLoad = function(success:Boolean):Void{
              loadData();
              setInterval(loadData, 3000);
    function loadData(){
              var messages:XMLNode = myxml.firstChild;
              if(index >= messages.childNodes.length)
                        index = 0;
              var my_message:XMLNode = messages.childNodes[index];
              _root.status_1.htmlText = my_message.childNodes[0].firstChild.nodeValue;
              _root.status_2.htmlText = my_message.childNodes[1].firstChild.nodeValue;
              _root.status_3.htmlText = my_message.childNodes[2].firstChild.nodeValue;
              _root.status_4.htmlText = my_message.childNodes[3].firstChild.nodeValue;
              _root.status_5.htmlText = my_message.childNodes[4].firstChild.nodeValue;
              _root.status_6.htmlText = my_message.childNodes[5].firstChild.nodeValue;
                index++;
    myxml.load("data.xml");
    BTW: the XML is going to be on a remote site.
    Thanks

    you can append a changing varialbe to the data.xml file name to prevent cache retrieval and you can use a loop to periodically load the data but your biggest issue will be loading a cross-domain xml file.  you will need to add cross-domain policy files to the xml hosting site or use a server-side file to serve as a gateway between your swf and the xml file.

  • How to make real time chat in ios

    Hi ,
          I want to implement real time chat in ios app.

    Hi Sunil,
    You have (at least) two options:
    1) use the XMPP protocol (XMPPFramework and a Jabber server like OpenFire). See ChatSecure (https://chatsecure.org/about/) and it's source code for further guidance.
    2) use a service like QuickBlox (http://quickblox.com/modules/chat/)
    Good luck!
    -mgcm

  • Real time file exist check...

    Hello all,
    Would like to ask, is there any way in ABAP to create a real-time file(S) exist check let's say in local PC drive/directory?
    Thanks in advance!

    Hi,
    1. If you are talking about real time,
      then in that case the z program will continuously run (in foreground ofcourse).
    It will continually check (eg. every 1 second) for the existence of file - using the FM or class method.
    2. In such continous checking, we have to use the timer concept.
    3. Below is a program which continuosly
       checks for the existence of file
       D:\abc.txt
      (u can change that file in the program)
    If the file is not found (continously) it keeps on
       displaying 'File NOT Found'
       if found it displays 'File FOUND'
    4. Just copy paste to get a taste of it.
    5.
    REPORT abc NO STANDARD PAGE HEADING.
    DATA : wa(72) TYPE c.
    CLASS my DEFINITION.
    PUBLIC SECTION.
    METHODS : run_handler FOR EVENT finished OF cl_gui_timer.
    ENDCLASS. "my DEFINITION
    DATA timer TYPE REF TO cl_gui_timer.
    DATA myh TYPE REF TO my.
    * CLASS my IMPLEMENTATION
    CLASS my IMPLEMENTATION.
    METHOD run_handler.
    CALL METHOD timer->run.
    PERFORM mylist.
    ENDMETHOD. "run_handler
    ENDCLASS. "my IMPLEMENTATION
    *-------------- Init
    INITIALIZATION.
    CREATE OBJECT timer.
    CREATE OBJECT myh.
    SET HANDLER myh->run_handler FOR ALL INSTANCES.
    * PARAMETERS : a TYPE c.
    *----------- End of selection
    START-OF-SELECTION.
    WRITE sy-uzeit TO wa.
    WRITE wa.
    timer->interval = '0.5'.
    CALL METHOD timer->run.
    FORM mylist.
    *WRITE sy-uzeit TO wa.
    data : filesize type i.
    CALL FUNCTION 'TMP_GUI_GET_FILE_EXIST'
      EXPORTING
        FNAME                = 'D:\abc.txt'
    IMPORTING
    *   EXIST                =
    *   ISDIR                =
       FILESIZE             = filesize
    EXCEPTIONS
       FILEINFO_ERROR       = 1
       OTHERS               = 2
    if filesize  = -1.
    wa = 'File NOT Found'.
    else.
    wa = 'File FOUND !!!'.
    endif.
    MODIFY LINE 1 LINE VALUE FROM wa.
    ENDFORM. "MYLIST
    regards,
    amit m.

  • Real time JVM  Implementation

    Hi All,
    We some students of our university would like to implement Real time JVM on Linux.
    We do have a solid idea on linux as well as on Java. But this is a very new and interesting topic.
    Can anyone help me how to start the assignment i.e. implementation of real time jvm on linux.
    Thanks and Regards
    tapas

    Just guessing...
    There are only two impacts to real time processing in java.
    First the garbage collector. Since it runs at odd times. And ties up the rest of the application for unpredictable amounts of time a real time system will need another type of solution.
    Second, threads. Because threads prempt each other this can also produce unpredictable behavior. Some usual solutions involve no threads at all. Or a way to preclude interruption.
    Finally I suspect that if you do a literature search you would be able to find some papers on this subject.

  • When to use Real Time Apply for Logical standby..!!

    Hello All,
    I have been trying many ways to speed up the archival on primary and improve sql apply on logical standby, but still we are getting about 45-50 mins of delay between primary and logical standby.
    We wanted to have our transactions applied on logical standby within couple minutes. Which i guess wont be possible in async mode.
    That's why i am planning to implement Real Time apply between primary and logical standby.
    Now since both our databases are too far away from each other (Primary is in US and logical is in India) would it be recommended to implement real time apply in such scenario? And if implemented would it affect Primary DB Performance?
    Also if there might be some packet loss or network hitch would Primary will try again and keep logical DB in Sync with Primary?
    Any help or suggestions would be great.
    Thanks.

    yes, real time apply is recommended in your scenario.
    however due to the geographical distance between your primary and standby; I would suggest to keep your standby in current mode - max performance ; ASYNC- itself. It would not affect the performace of the primary.
    As long as you set the FAL parameters and configure tnsnames properly and ensure proper deletion policy for archivelog cleanup in primary ( so that it's not deleted before shipping if need be), you shouldn't find any problem with primary & standby synching.
    Good Luck.
    Cheers.

  • Can I watch real time tv on Apple TV .

    Can I watch real time tv on my Apple TV.

    lekkiman,
    Apple TV streams content and is not a replacement for cable or satellite.  You can stream real time tv if it is on the Internet through airplay mirror, but you need a Mac Book Pro early 2011 or later and OS X 8 ML and yours looks to be 2010.  There is an app called airparrot that can do the job, but it mirrors your computer screen so unless you get it on there it does not to real time tv.
    Another app, filmon, does have some live tv from several countries and can airplay from an ipad or ipod touch to apple TV.  It is a free app and free for standard definition but a subscription for the HD.
    Jules

  • OBIEE 11g Real-time Decisions

    Hello All,
    I have installed OBIEE 11.1.1.6.0 and started Real-time decisions using the Url :http:localhost:7001/ui .Here, I was successfully able to login but I clicked on "Open Inline Service" and getting error like "There are no deployed inline services".
    Moreover I am new to OBIEE-RTD ,Can anybody give me the step by step example for How to implement Real time decisions or SampleApp with example.
    Thanks in Advance.

    Hi,
    You will need to deploy the RTD inline service using the decision studio. Please refer to the developer guide for that.

  • Cannot check real time access while creating infopackge

    Hi all,
      I am getting an error while trying to create a real time infopackage.  I have made my datasource real time by changing the real time flag in ROOSOURCE but while creating the infopackage the real time check is greyed out.
    I had read in some other message in SDN that you can make non-real time DS into real time by changing the flag in ROOSOURCE any ideas.
    Also we are in content 7.0.3 and I dont see any business content either in ECC or BI in ROOSOURCE table with real-time flag marked X.  Does SAP delivery any content which are real time or am I missing something here?
    thanks for your input

    Hi Raj,
    You can create the Real-Time infopackage only after creating the info-package for Init Load. The check box for Real-Time is not enabled if Initialization load is not run. Though this check has to be made only after creating the Real-Time Datasource correctly.
    Go to RSO2, enter the datasource name, and open it in edit mode. Then choose the option 'generic delta'. Give the field on which you want the Delta pointer to be set (The field you want to enter here should <b>NOT</b> be hidden from SAP BW). Importantly, check the option 'Real-Time Enabl'. save the datasource. It becomes Realtime. Replicate the datasource.
    Hope this helps.
    Thanks,
    Praneeth.

  • Emulate real-time on a projector screen

    hello all : I am trying to figure out if there is anyway to emulate or mirror my iphones 3 to be able to project it on the wall in real-time to see my apps. and real-time movement in order to inservice employees

    hello all : I am trying to figure out if there is anyway to emulate or mirror my iphones 3 to be able to project it on the wall in real-time to see my apps. and real-time movement in order to inservice employees

  • Real-time control of properties

    I'm poking around for a way to manually control a property of a layer in real-time, like you might do with pitch, playback speed, and volume on a MIDI controller.  Ideally, I'd like for AfterEffects to capture the changes as keyframes, or something like that.  I'd love to be able to drag a scrubber, or draw on a canvas with a stylus, and have AE translate those real-time movements into changes in clip properties.
    I don't have a lot of experience with expressions, but I know how to write code.  I think, with some research, I can get this to happen by using the Write-On effect, drawing on a canvas with the stylus, and then linking various properties to the X and Y coordinates of the brush.  This is a decent partial solution -- at least I could capture organic movement and apply it to these properties, so I wasn't so hung up working with curves and Eases and quirky intermediate keyframes.
    But it would be awesome if there was a plugin... or some precedent technique or expression... that would let me preview the clip in real time at a low resolution, and then use the stylus or mouse to capture movement as I watched.  It would be a great tool for syncing certain properties to a soundtrack, creating complex and organic animations, stuff like that.  I'd love to be able to do this with the TimeWarp property, and preview it as I went along.
    "Changing properties" and "Controlling behavior" plus "Real-time" didn't come up with anything relevant, either here or in Google.  Anyone have any leads as to how this type of thing might be achieved?

    As Mylenium says, Motion Sketch is one way. There are also some specific features that have this kind of thing built in, like sketching with the Puppet tools and recording paint strokes.

Maybe you are looking for