Sync data across multiple clients

I am create an application in flex that pulls and pushes data to a MySQL database.  This program will have multiple clients logged in at the same time.  I am wondering what the best way to ensure that the data is accurately updated across all of the clients would be.

Can you explain what you mean exactly by sockets?
Is there any way to Sync data across multiple clients without the crazy expensive cost of LCDS?

Similar Messages

  • Share data across multiple WAR

    Does somebody know any pattern to share data across multiple WAR applications?
    I need to modularize an Intranet Application?
    So, I don't have to shutdown the entire intranet to make the changes in just one module .
    It is possible to share a session object? or I must to get and propagate browser session id :( ?
    Any idea will be appreciated.

    Yes you can, I did it running tomcat
    -First have to set crossContext propertie value to "YES"
    Then this is my pice of working code :
    javax.faces.context.FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance();
    javax.faces.context.ExternalContext externalContext = facesContext.getExternalContext();
    javax.servlet.ServletContext servletContext = (javax.servlet.ServletContext)externalContext.getContext();
    Object yourObject = new Object();
    if(servletContext.getContext("/yourContextName")!=null)
    servletContext.getContext("/yourContextName").setAttribute("yourObject ",yourObject);
    Jesus

  • Syncing ical across multiple computers without .mac

    Hi,
    Is it possible to sync ical calendars across multiple computers in the same network or over the internet without .Mac? If I have a website or ftp server, can I use that instead to synce over the internet or is there an easier way? Thanks.

    This is another related question.
    Having at last extracted a decade of diaries from Palm Desktop as vCal (since you ask I had to go back to Classic as the app quit without writing the export file in Tiger and Leopard, even tho it is otherwise OK) I now have something I can import rather messily into iCal.
    However as I have really bad internet access in the Boondocks where I live I don't want to use .Mac to sync between my iMac and iBook. Palm ran very happily from a thumb drive, but I don't see how I can do it as the powers that be seem to have made the data file invisible.
    I'd like to move it to the thumb drive and have an alias on each Mac where the data should be - as I do with Palm.
    Does anyone know the path, and if there is a problem doing it between Tiger and Leopard?
    Cheers, Colin

  • Saving data in a database and publishing data to multiple clients

    Hi there.  I'm using a bunch of Compact FieldPoint modules to read out a few hundred voltages, temperatures, currents, etc.  I acquire this data at about 1 Hz (pretty slow).  I would like to record this data to some sort of database on a cpu (running LV 8.0, connected to the FieldPoint mods), and serve the data to multiple (between 10 and 50) clients over the net, each running a compiled stand-alone "data grabber and viewer" application (which I'll have to write of course).  I'd like these external clients to basically be able to pick a certain variable from the database, and plot it for the last week (or something like that).  Presumably the standalone client would send some database query to the server.  The server would then send the data to the client, and the standalone client would receive the data and plot it as the user sees fit.  My question is how to implement this database?  Should I use the LabView "Database" Add-On to create a database to store the data? Is it better to just store the data as binary and write my own data fetching routine to handle queries?  How can I write this database to disk for permanent storage? Could this database be accessible outside of LabView?
    Any help on this would be appreciated.  Thanks!
    Jesse Wodin
    Post Doctoral Researcher
    Stanford Linear Accelerator Center
    650-504-2512

    Hi Jesse,
      The Citadel database is not a relational database.  It's highly optimized for storing lower-rate (non-waveform) channel-by-channel, or "trace" measurement data.  Another option you can consider is using DSC and Citadel on the server then writing a utility to export the data from Citdael to an SQL database.  --That would solve the problem of having to write a logger application from scratch.  You would only have to write the relatively simple application to export the data from Citadel and import it into a relational database.
      You could accomplish this two ways.  First, DSC includes a set of VIs that will retrieve historical data from Ciatdel.  You could use LabVIEW to parse this data and write it to a table in a relational database.  Second, Citadel actually includes a locally accessible ODBC interface.  (You can query Citadel using an SQL query from the local computer).  You could query Citadel using this interface, then write the result to a table in a relational database.
      To view Citadel in its native format or query a Citadel database using ODBC from a remote comptuer that comptuer would need to have a licensed DSC RTS installed.
    ~~

  • Spreading user data across multiple HD's?

    I hope this is the right forum for this. I'm on a Mac Pro 1,1 and recently installed a few extra hard drives to optimize performance for video editing (accoring to recommendations over at another big software company's support docs -- this is not about FCP).
    My goal is to have this general set-up:
    SSD: Boot Drive (OS & Apps) -- already set up
    Disk 2: Editing Project Files, media and exports
    Disk 3: Cache, renders and previews
    Disk 4: Ideally this would be for docs, itunes, photos and anythings non video related.
    The thing is, this advice comes from PC users mainly and the OSX User Folder structure isn't an issue.
    Question: Can the same user folder's contents be spread across multiple HD's? I realize I'll need to physically place a different "house" icon folder in each HD, probably, but can those have different contents? How can I make them all boot on start-up so the disk allocation is pretty much not noticeable?
    Thanks!

    A simple version of what you are trying is to establish a Boot Drive, with only System, Library, Applications, and the hidden unix files. All user files are moved off to a different drive.
    Here are some simple recipes for Moving the "Home" folder"
    Japamac's Blog: Make space for Performance -- Moving the Home Folder
    http://chris.pirillo.com/how-to-move-the-home-folder-in-os-x-and-why/
    You can embellish this basic setup any way you wish, especially putting Movie data on a different drive, and Movie cache data on yet another drive.

  • Sync Thunderbird across multiple devices

    Can anyone tell me how to sync my Thunderbird email accounts across multiple devices?  I've got this weird situation where incoming emails are showing up on one device but not another, and the contents of the inboxes are different across iMac; Macbook; iPad and iPhone.  I'm using IMAP  but just can't get the inboxes to look the same across each device.  I use this account for work so it's very frustrating.

    I have the same setup here for me any my wife. We each have a separate apple ID used for iCloud (but share one ID for iTunes).
    We each have personal calendars but we also have a shared one (named shared). On icloud.com we have that calendar shared where we can each add/edit the events. And it is shared accross our iPad and iPhones.

  • Sync books across multiple iPads & accounts

    Hey everyone,
    I've got what is probably not that an unusual question. My company has a resource of PDF documents we want to be able to sync across multiple iPads. It's ok with the ones we own as we control the accounts but we have staff with their own iPads who want access to the documents through iBooks. I know there are workarounds like e-mailing them or using dropbox but we're talking upwards of 100 documents. Is there a way to sync a library like that without deleting the books the preson has purchased?
    Thanks in advance

    Interesting, never knew there was an iCloud website.  Ironically, it wouldn't open in Safari (just got a spinning progress wheel), but it opened up fine in Chrome.  :/
    So, I logged into iCloud under my wife's Apple ID, clicked on the calendar icon, then clicked on those icons to the right of the two calendars shown (Home and Work), selected Private Calendar, and added my email address which is linked to my Apple ID. I hoped that would do the trick to allow me to see her calendar entries in iCal in my account, but it didn't.
    Am I correct that the process outlined above should display my wife's entries onto my iCal calendar?  Or do I need to go view her calendar online somewhere instead of seeing the entries on my own iCal calendar?

  • Send data to multiple clients from a server

    My problem statement is this:
    A server is created, say X. Multiple clients are created, say A, B & C. If X sends a message to A it should reach only A and should not go to B or C. Similarly if X sends message to B it should not reach A or C. I made a one to one communication with the following code:
    //Server
    import java.io.*;
    import java.net.*;
    class X
    public static void main(String args[])throws Exception
    ServerSocket ss=new ServerSocket(4321);
    try
    Socket s=ss.accept();
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    DataOutputStream out = new DataOutputStream(s.getOutputStream());
    String str=in.readLine();
    out.writeBytes(str+"\n");
    s.close();
    ss.close();
    catch (IOException e){}
    //Client A
    import java.io.*;
    import java.net.*;
    class A
    public static void main(String args[])throws Exception
    try
    Socket s=new Socket("localhost",4321);
    BufferedReader in=new BufferedReader(new InputStreamReader(s.getInputStream()));
    System.out.println(in.readLine());
    s.close();
    catch(Exception e){}
    }But i dont know how to keep track of each client. Because all the clients sockets are created at the same port, ie. 4321. I think thread will help. But even then i dont know how to identify each client. Somebody please help. Thanks in advance.
    Edited by: sowndar on Dec 5, 2009 1:21 AM

    YoungWinston wrote:
    sowndar wrote:
    Ok. I think i have to attach an unique ID to each client message. So that, with the help of that ID, the server can identify each client. Have i caught ur point?If you don't mind using a port per client, you could do something like a receptionist taking incoming calls (on 4321 only).
    - Hi I'm Client xyz.
    - Hi Client xyz, please call me back on port abcd and I'll put you straight through to our server.
    Since 4321 is an "open line" you might have to have some sort of ID so that Clients know which return messages are meant for them, but messages on the other ports would all be direct Client to Server. Also, the Server is then is charge of port allocation and communication on the "open" port is kept to a minimum.4321 is the socket that the server is listening to. It's not what the actual communication will be carried out over. Run this, then telnet to port 12345 a few times
    public class TestServerSocket {
      public static void main(String[] args) throws Exception {
              ServerSocket server = new ServerSocket(12345);
              while (true) {
                   Socket socket = server.accept();
                   System.err.println(socket.getPort());
    }Notice how each inbound connection is allocated a unique outbound socket.

  • Best Way to Sync Lists Across Multiple Site Collections?

    A quick query I'm hoping someone might be able to help me with...
    Within our university intranet I am assigning each department a team site within its own Site Collection. So that departments can associate Document Library files with a set list of academic courses, I created a custom dropdown field and deployed it as a Feature. While this worked within SharePoint, when you attempted to set the document properties within the Microsoft Word environment the custom fields were rendered as empty text boxes (meaning that staff are no longer restricted in when information they can enter).
    To get around this I'm considering going back-to-basics and creating a Custom List, populating it with the titles of our academic courses, and then assigning it to a Document Library via a Lookup Field. I know that Microsoft Word will then correctly display the metadata dropdown.
    As I am using multiple Site Collections, I'm unsure of the "best" way to proceed.
    I've already written a Console Application which can create a Custom List within a targetted site and populate it with the contents of an XML file - but I would need to run this every time I created a new Site Collection and what would I do when I wanted to update the contents of all the lists?
    Other than modifying my Console Application to loop through all instances of the Custom List within Site Collections and sync it to the contents of the XML file, is there another (better) option that I am over-looking?
    Its such a shame I can't create cross-collection Lookup Fields within all of the Site Collections that point to a single top-level list.
    Many thanks.

    My instinctive questions drifts towards why you have different site collections.  If all the sites were sub sites within the same site collection, a global field would solve the issue quite nicely.
    If you have legitimate reasons for keeping the sites seperated into separate site collections, I would look at using an Event Handler to trigger updates to reference values in each site collection, be they global fields or lists.  Then if you wish to update the values, you only need to update the trigger list to propagate the updates across your site sollections to all your sites in question.
    I trust that answers your question...
    Thanks
    C
    http://www.cjvandyk.com/blog

  • How to sync contacts across multiple devices

    I have a iPhone, iMac and iPad that I am having trouble keeping my contacts in sync!
    Some contacts do not appear across all devices and others appear duplicated on one or more device.
    After much checking of the settings and trying to merge contacts, I have still not managed to sort the problem.
    David

    First check that all your settings are correct, that contact syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the contacts you are adding are added to your 'iCloud' group and not an 'On My Mac', 'On My Phone' or other non iCloud group (you can do this by checking in groups), non iCloud contacts will not sync.
    If you are sure that everything is set up correctly and your contacts are in the iCloud group, you might try unchecking contact syncing in the iCloud settings, restarting your device and then re-enabling contact syncing.
    This user tip might help you understand how accounts work with Address Book.

  • Syncing Forms Across Multiple Application Server Servers?

    Hi Guys,
    I was hoping someone could point me in the right direction. We recently brought up multiple servers running Application Server 10.1.2.3 for High Availability of our forms and reports. My question is, is there a way to keep the forms files synced? With IIS for example, I have written a batch file that will go check for modifications on a source server and then sync any destination servers that are out of sync. However with Application Server, you cannot simply copy files over because if they are in use they are locked.
    Would anyone happen to know of any kind of solution for keeping multiple Application Servers synced?

    What we do is use a Load balancer with Multiple App severs. To keep the forms correct we take one out at a time off peak and update and do this round robin until they match.
    Best Regards
    mseberg

  • Business content load data from multiple clients

    Hi Experts,
    we are implementing Business Content for FI-GL. On the system there is already the content enabled and the extraction from one client (let's say Client200). We now have to extract data from Client300. How can we do that?
    Thanks in advance,
    Costi

    You should create another Source system on the other client and copy the transfer rules from the extractor mapping them on the other source system . After this you can create the infopackage and load data
    hope it helps

  • Summarizing Data Across Multiple Dates

    Here is my issues.
    I have two dimensions.
    Date and Time. Date is a standard date dimension. Time is a time dimension who's leaf level is at the second.
    I need the ability to obtain a value like maximum from my fact table for a given set of prices. I want to summarize this value at the day level. The issue is that the value can span across 2 dates.
    Example. A Sunday starts at 4PM and ends Monday at 9AM. I need to obtain the maximum value across these specific times from both Monday and Sunday (at the specified times).
    Effectively, I need MAX(MONDAY at time 12:00AM - 9AM, SUNDAY at time 4PM - 11:59:59PM) to be displayed in the data for Date Monday.
    Suggestions on to approaches for this?

    Guys thanks for your suggestions.  Yes I'll give those options a try...
    Just a pity there was no 'aggregator' type activity which would negate the need to go down the route of writing out to SQL or create master/child runbooks which just seem a bit of overkill or adding complexity esp when using very simple runbooks - like I
    say maybe one for the IP developers out there...
    To illustrate my specific eample (one of many simple runbooks requires a summary email sent out to show output) as below:
    So the first Powershell gets VDI desktop names (3 of them) then 2nd Powershell uses these machine names as published data to get associated registration state.  From there I'd ideally like to just generate out the single summary email showing the 3
    machines/reg states instead of 3 separate emails.  I added the append line and get line activities to expose the output to check it was OK and then tried flattening various activities to try and only generate the single email (I removed the junction activity
    infront of sendmail as it didn't work)
    So I'll try the options suggested for spliiting runbooks and/or writing to SQL and see how that goes..
    Cheers

  • Sync Calendar across multiple devices

    My wife and I each have an iMac and iPhones. We would like to be able to have a common calendar across all of our devices. I suspect this can be done with iCloud. I think this can be done by both of us using the same iCloud account but then we would have to have common everything. We each have separate Contacts lists and really don't want to co-mingle them.
    Is it possible to have multiple iCloud accounts on the same device?
    Can someone point me to a place where I can read about how to set this up?
    Thanks a lot for the help.
    Adrian

    I have the same setup here for me any my wife. We each have a separate apple ID used for iCloud (but share one ID for iTunes).
    We each have personal calendars but we also have a shared one (named shared). On icloud.com we have that calendar shared where we can each add/edit the events. And it is shared accross our iPad and iPhones.

  • Sync Libraries across multiple Macs

    I have an iMac which is my primary machine as well as a MacBook Pro. I want to be able to work on my images ubiquitously across both machines. Does anyone know of any sort of utility that would allow me to work on one machine then have a daily sync to the other so that all changes are replicated across both computers?

    Aperture has some of this ability built-in. If you make changes in one library, and attempt to import it to a second library, Aperture will just sync the changes. I'd encourage you to read up on the documentation on this area.
    I have a little trepidation recommending it for a solution for everyday sync. But it's certainly something I encourage you to check out and investigate it, though if it were me I'd do initial experimentation on some trial libraries.
    And I have much trepidation about using something like ChronoSync to do this. They simply don't understand Aperture's library structure, and frankly I think the chances that you'll eventually corrupt the database (say if you forget to close Aperture on one machine and then sync) over time are very, very high.

Maybe you are looking for

  • XITEL HiFi-Link AN1 No Longer Working Under 10.4.6

    My XITEL HiFi-Link is no longer working under 10.4.6. This USB sound device is selected as my output device. I have tried both USB ports - no sound. Both USB ports function properly with other input devices. Any Ideas?

  • Acrobat full version on Win8.1 RT

    I noticed that Acrobat XI Pro is available for purchase in the app store on a Windows 8.1 (x86) platform. Is there plans to make it available for Windows 8.1 RT Surface tablets (ARM)? Once this becomes available, the Windows RT platform will become t

  • Oracle Informix Gateway doesn't work

    Hi, I have to update an Informix DB with data from our Oracle System. My DB-Admin has tried to set up a gateway but something is probably wrong configured. When I try to execute a query, I get this error message: FEHLER in Zeile 1: ORA-28500: Verbind

  • Why are my contacts from yahoo not syncing correctly?

    When I sync my contacts from Yahoo, they corrupt the entries on my iPhone 3GS. Some entries are duplicated, some data within enties are doubled or tripled, and some extra characters are inserted in the entry fields. The contacts won't copy to my iPad

  • Where has the usage checker gone?

    There used to be a nice usage checket at bt.com/mybt - logged on today and there is a new design (really confusing compared to the last one) and after 20 mins I can't find the usage checker anywhere - used to be on the BB tab on the homepage. Can any