Multiple users draw at the same time

Hello there,
I am very sorry if this is the wrong place for posting this question.
I am trying to create a java2D application where multiple users can collaborate to draw on canvas (at the same time from two or more machines). The first user should act as a server and all other users should be the clients. I want the drawing to occur in real time. I have some ideas (like using Monitors and java synchronization) on how to do it but I am not sure if this is the right way to approach such a problem.
Also I know that I will need something like a Buffer to store changes and a way of communication...
I would appreciate it if anyone could help me. Guidance or a simple example that can help me to understand the logic behind it so I can develop it myself.
Thanks in advance for your time...

I've implemented this project to provide "whiteboard" capability to an existing chat client. The "model" for the drawing was an SVG document (rendered using Apache Batik) and the communication between clients was the SVG (XML) snippets and their location in the document.
Only difference is that one-to-one was supported with clients. One-to-many required a server-side component, but there's no reason one client couldn't have acted as the server.
So my recommendation is SVG, then your communication layer is really a simple XML document editing protocol. Our protocol is here but was never approved as a XEP by the XMPP council. The date's wrong; that protocol was updated as recently as 2008.

Similar Messages

  • Multiple iTunes open in multiple 'user accounts'- at the same time

    We have three people in our family, each with their own iPod/iphone, we sync our iPod/iphone on the same computer but in different ‘user accounts’ in xp.
    Now the problem is ; only one iTunes program can run at a time, so if one person is downloading a podcast and another logs into their user account then they can’t open iTunes because it is open in another user account already.
    There must be a way to run multiple iTunes at the same time in different user accounts?
    Anyone?
    I’m running XP on an i7 machine

    Welcome to AD!
    Sadly, there is not a way to do this.
    http://support.apple.com/kb/TS1969?viewlocale=en_US

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • Multiple running queries at the same time

    Hi!
    I looked around (and RTM) for this but didn't find anything, so I'm asking here.
    I have quite a few long running queries (data loading and such things, warehousing stuff), and I need to be able to run multiple queries/statements at the same time. In TOAD I can do this, start a procedure and while it is running I can do SQL statements in another session tab (it supports threaded sessions - it starts queries in their own background thread/session).
    When I start a long running procedure or query in SQL Developer I can not do anything until the procedure execution finishes. Is there any way (setting/preference) to enable SQL Developer to be able to run multiple queries at the same time?
    I really would like to move away from TOAD, but this is a major showstopper for me.
    Thanx for any tips.
    Alex

    Hi!
    This post is going to be a little longer, but I have to clarify things out.
    I did not mean to throw any wild accusations, because I did my fair share of RTFM and searching the help. I can tell you that if you put any of these in the help search box:
    session
    non shared
    non-shared
    connection
    concurrent <- I guess this one should yeld something
    multiple
    spawn
    you won't find anything usefull, the article that comes closest, is this:
    "Sharing of Connections
    By default, each connection in SQL Developer is shared when possible. For example, if you open a table in the Connections navigator and two SQL Worksheets using the same connection, all three panes use one shared connection to the database. In this example, a commit operation in one SQL Worksheet commits across all three panes. If you want a dedicated session, you must duplicate your connection and give it another name. Sessions are shared by name, not connection information, so this new connection will be kept separate from the original."
    It does not mention any spawning of non-shared connections from the current one, nor it does mention using a accelerator key combo. But since there could be written something about it, I guess you could call it a documentation bug, because it does not provide any clue to this functionality. The help is definitely of no help in this case. As you can see, I do not throw accusations without trying to find out something first. I guess if someone is not as deep into SQL Developer as you are, there is no way for him/her to know this.
    OK, I tried your suggestion, and (sadly) it does not work as I suppose it should.
    Here's what I did:
    - start a new connection, and enter the following code in SQL Worksheet:
    declare
    j number;
    begin
    for i in 1..1000000
    LOOP
    j := sin(i);
    end LOOP;
    end;
    As you can see, it doesn't do much besides holding the connection busy for a while when executed.
    - start a new non-shared connection from the first one using CTRL-SHIFT-N (as you suggested) and put the following statement in the new SQL Worksheet (with "__1" appended to connection name)
    select sysdate from dual;
    - go to the first SQL Worksheet and execute the procedure
    - while the procedure is executing, go to the second SQL Worksheet and hit F9.
    The sysdate is returned as soon as the first SQL Worksheet finishes and not any sooner. It may run in separate session, but the result is not returned before the other session is finished doing what it is doing. I guess the correct behaviour would be to return the sysdate immediately.
    I verified this behaviour repeating it 3 times starting with a new instance of SQL Developer, each time connecting to another schema and spawning the new non-shared session. The database used was Oracle 10.2.0.3 EE on RHEL 4 UPD3.
    The concurrent execution lacks concurrency. The statements might be executed concurently on the database (i did not went the extra mile to verfiy this), but the returning of results is just not independent of other sessions. To the end user this is as much concurrent as it is serial execution.
    I hope developers get this issue straightened out soon, as I said, I'd love to move away from Toad, but I'll have to wait until they fix this out.
    Is there anything else that can be done to make it behave correctly?
    Kind regards
    Alex

  • Multiple users\passwords on the same website with Safari

    Coming over from Netscape for MAC to Safari.
    Here is the issue-- In Netscape I was able to have multiple users/passwords for the same website page. Netscape controls its users/passwords; not the keychain. With Safari everytime I try to enter the second user/password this wipes out the first user and password.
    Is there a way with Safari to have mutlple users/passwords for the same website page?
    Thanks,
    Reed

    A service might call the other one.

  • How do I view multiple inbox folders at the same time in Mail?

    I want to configure Mail to show me multiple inbox folders at the same time. I want to be able to split the screen and show in the top section unread messages, then messages I've marked with label A, then messsges I've marked with label B, then everything else in my inbox (like using the multiple inbox feature in Gmail). Is this possible?

    Just figured it out - I can select multiple messages as you suggested when I am not in full screen mode.
    So once I come out of full screen mode - then the multiple windows open.
    QED

  • Several user status at the same time

    Hi Export,
    As I found, we can only choose one status from the list in WBS. Is there any config can make it possible to select multi status in one time?
    Thanks,
    Liang

    Hi
    yes you can select more then one user status at the same time
    For example you create user status like this in OK02
    1     INIT     Initiative
    2     DRPR     Draft Proposal
    3     PLAN     Fully planned & costed
    4     AFEA     502-Approved
    5     RELE     Released for execution
    6     HOLD     On hold
    You can select the user status from the above list
    If you set the Initial status flag for the user status
    If a status is marked as an initial status, it is automatically activated in an object when the object is created
    Thanks
    S.Murali

  • How to open multiple hotmail accounts at the same time ?

    Hi,
    Seems maybe normal for some people but I coming from internet explorer and with this explorer I was able to open multiple hotmail accounts at the same time, by default firefox can't do that, is there some setup to modify to open these at the same time ?
    Thanks in advance for any help.
    (Version updated 3.6.8)
    Regards,
    Chris

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • Problem running multiple folder actions at the same time

    Hi,
    Does anyone have some experience running multiple folder actions at the same time?
    I've written a Applescript folder action that processes some files. When adding some files, the script starts and all goes well. The processing of each file takes a few minutes, but all files are processed correctly.
    However, when adding some new files to the dropfolder, while the folder action is all ready processing other files dropped a few minutes earlier, the process that is all ready running immediately aborts and the folder action is relaunched on the new files, leaving the old files for what they are...
    The same problem occurs with multiple folders, each having a folder action attached. When dropping files in "Folder A", the script starts processing. But if someone droppes files in "Folder B", The script of folder A aborts, and the script of folder B starts processing. When adding more files to the folders, the result is the same. In some casses, when the last dropped files are processed, the os continues where the operation was aborted on the previous files. But this not always happens. To make things worse, when you remove the items from the folders afterwords, the folder actions starts running again on items no longer present in the folder !!!!
    Does anyone know how I can prevent the folder action being aborted when new files are dropped and placing the new files in "Hold", until the previous files are processed? How can I prevent a folder action being aborted when a item is dropped into another folder?
    I've written a small script to test this behaviour. Just create one or more folders and attach the script below. Drop a item into the folder, wait a few seconds and drop another one in the same or another folder. To monitor what happens please check the console.
    on adding folder items to this_folder after receiving added_items
              set FolderName to this_folder as string
              set ItemName to added_items as string
              repeat with theIncrementValue from 1 to 15
      delay 2
                        do shell script ("logger \"Folder: " & FolderName & "  -  Item: " & ItemName & "  -  Step: " & theIncrementValue & "\"")
              end repeat
              do shell script ("logger \"Folder: " & FolderName & "  -  Item: " & ItemName & "  -  Done...\"")
    end adding folder items to
    Thanks for any feedback.

    That is pretty much the way Folder Actions work, especially since AppleScript is not multi-threaded.  If you are using them as some intermediate step in a workflow, you might rethink the way you are handling the files (for example, use a droplet instead).  Other options would be using launchd to watch a path or a shell script on a different thread.

  • The Windows SMB feature has file locking if multiple users are accessing the same file.  Does Snow Leopard Server File Sharing (AFP) provide similar features?

    The Windows SMB feature has file locking if multiple users are accessing the same file.  Does File Sharing (AFP) on Snow Leopard Server provide similar services?

    Were you ever able to solve this problem. I'm having similar issues since upgrading to snow leopard. Four macs connect to a Windows Server 2003 for shared files. Each user has full permissions & when we "get info" it shows read & write permissions. Two of the computers were running 10.4, two were running 10.5. Everything worked properly until upgrading to snow leopard. Some files let me copy, move, delete. Others either just hang up or we get a "no permission" error. Also getting a "pdf is in use" error, even when the file/folder doesn't contain a pdf. We had our IT rep check the server who said everything is in working order. They don't represent macs any longer but feel that it's a mac problem. I would have to agree since this problem only started after the upgrade, and the one machine that was not upgraded (still running 10.5.8) is not dealing with these problems.
    Lastly, I would install 10.5 back on all of the computers if I could, but the leopard disk that came with one of the computers wouldn't work with the 2 machines running 10.4 and I didn't see it available at the apple store. I'll buy it if it's still available, but why wouldn't the disks that I have work?
    Thanks for any help

  • Multiple users working in the same document and same time.

    Hello Guys,
    and thanks for looking into this
    At our company we're still in doubt wether or not to update our software to CC or just update to CS6. Currently we all have different versions (going from CS3 to CS5), and that's really time-consuming.
    The most important question would be if it is possible in the CC to work in the same file at the same time.
    Working on magazines, catalogues or books this would be a major time-saving option!
    For example I could work on chapter 1 and 6, whilst my collegues are working on the other chapters.
    The other users could then see how far I am on my chapters, change things (make notes) etc.
    Is this possible in CC or not?
    Thanks for your answers and time.
    Best regards,
    Sam
    PS: If there are major setbacks working on the cloud (between multiple users/computers) please let us know.

    Let me attempt an answer.
    Short answer, no. Multiple users cannot edit a the same file at the same time.
    You'll need a content management system, to enable check in/check out, prevent overwrites etc. But (there's always a but), Creative Cloud offers several workflows and tools that can be used to help streamline multi-user publication workflows.
    Using Creative Cloud will ensure that all users will be on the same version of the software, and there won't be any accidental lockouts due to format changes, and no need to run arounf to get the document downsaved. All users also have access to the latest features as soon as they become availble.
    For products, such as books and magazines: InDesign needs to be the primary software that you use. When you design the content architecture of your publication, you can employ the following techniques and tools:
    Break up your publications into several INDD files, let's say for file for each story.
    Compile the individual files into an InDesign book.
    Link Ps and Ai or other files when you place them in the InDesign layout. That way whenever a designer updates an asset, InDesign will notify you that a linked file has changed and you can choose to update the link.
    InCopy was recently added to the Creative Cloud. Authors can can edit stories without actually having to open the InDesign files. For details see the InCopy help. InCopy has several workflows that can help out in this kind of setup.
    Other than the Creative Cloud apps, you'll also need to setup folder and directory structures on the shared storage location.
    Setup a shared location/drive so that all users have access to the linked files.
    Control read/write access to individual files using the OS commands on the file directory/server. For example, Layout designers only have edit permissions on the layout (indd files); while Photographers can only edit .psd files, and so on. For small teams this might not be necessary, but for larger teams this may help.
    You could also consider storing your files using a Content Management System. You'll need to evaluate the cost and benefits properly.
    Hope this helps.

  • Can you have multiple users working off the same Mac pro at the same time with multiple monitors but doing different things?

    I'm buying desktops for a start up company and was wondering if I could purchase a single Mac Pro and run multiple monitors to allow multiple users to work on the computer at the same time. These users would be doing different tasks but I would hope to accomplish that on a single desktop. I know that screen sharing is possible but with only one user controlling both of the screens. Thanks in advance, sorry for my apple ignorance!

    A lot of companies are buying or leasing laptops to be used at the office by day, and carried home at night.
    Some companies are doing "Bring your own device". Bring a device to receive email -- computer/smartphone/tablet you already have, or have an allowance to buy one for your use.
    If Capital is short (and when is it not) leasing computers, to be turned in a few years, can be a huge savings because the cost is expensed as incurred. The alternative is laying out cash today, but not being able to expense the cost this year. Instead, the computer expense must be recovered over their useful life (often five years) through depreciation.

  • How to make Adobe acrobat feature to convert SAP  Pages to PDF available for multiple users connected to the same Citrix server

    Hi,
    In my previous endeavours to solve this business requirement where multiple users will be able to use the Adobe acrobat feature to convert SAP pages inside SAP to PDF, I was told that it is not possible to do this for multiple users at the same time. However I have found an article according to which it says it is possible. Could you check it once and let me know if this article can be used for implementing the requirement stated above as this link clearly indicates that Adobe Acrobat is supported on Citrix.
    Please find the link below where it states it is adobe acrobat is supported in Citrix for multiple users.
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/citrix.html.

    1. What is the Acrobat feature that you mean? There's nothing specific to SAP included with Acrobat.
    2. Yes, some Terminal Server configurations appear supported (check carefully). All users of the terminal server will need a license, so far as I know - total licenses = total individual people using.

  • Can ADF keep multiple pages open at the same time?

    My company is currently developing an application to upgrade a client's FORMS system to one based on ADF. One of our client's biggest complaints with the new technology is that he can't work on many tasks at the same time, because our application can't work with "tabs" or "different windows", like Forms can with the "open form ()" function.
    Currently, we use a page called "main.jspx" with the main menu and a region under it, where we load all the "jsff" pages, which do all the different tasks in their systems (like autorizeBuyOrder.jsff, createNewOrder.jsff, etc...).
    Right now, I can only have one "jsff" page loaded on the region at once, and I wanted to make my application able to load and keep track of as many as the user wants. I was thinking on something like a tabs system, or multiple windows system. Does ADF provide any elegant way to do this? Any material you can recommend me?
    Much appreciated,
    Daniel

    Daniel Kaiser wrote:
    Hm, yes, this looks like it could be a possible solution for my problem. I'm gonna try to apply this to my app and get back to you. Thanks for the helpful answer!If you will have any questions on the application of the UI Shell template, then it is better to ask they here
    ADF UI Patterns & Best Practices

  • Multiple users pointed to the same location as their "Home Folder"

    One of the things we need to be able to do for out work is share folders. We are project based and do not want to store the projects in the users "eDirectory User" home folder. We made some initial test assigning two users to the same "Home Folder" and shared a folder and had multiple accounts both internal and external pick-up and drop off files in the folder.
    While it appears to work, I wanted to find out if there are downsides in having 20-30 people with the same Filr "Home Folder". What are the potential "gotchas". Security (internal) isn't an issues since these network locations are accessible by all the users anyway.
    Daniel Wells AIA, VCP
    Senior Associate | IT Coordinator
    MHTN Architects, Inc.
    Direct: 801.326.3215 | www.mhtn.com
    vision made real

    Hi!
    Gotchas?
    Well, it essentially does exactly what it is supposed to do.
    (BTW, i have tested this with Filr 1.0.1 some time ago, if 1.1 behaves
    differently this would bw a MAJOR product change.)
    Given:
    Two internal Users A+B with the homedirs pointing to the exact same path
    \\Server\Dir
    One external User c@tld
    * User A logs in and creates a directory X and shares it with contribute
    rights to c@tld.
    * User c@tld logs in and creates a file X\file
    * User B logs in, see a folder X and the file with A as the author. The
    folder IS NOT shared to everyone (at least as far as user B is concerned,
    the user does NOT set the sharing details of user A)
    * User B shares the same folder X with c@tld with view only rights.
    * User c@tld clicks the link from User B and IS NOT able to contribute.
    * User c@tld is puzzled and calls User A asking why his rights have been
    revoked.... etc. etc.
    * User B has the (for him readonly) data somewhere else and calls the folder
    X obsolete and deletes it.
    * User A and c@tld are really pissed off.... etc. etc.
    * User c@tld has several different links with potentially different rights
    all pointing to the same physical location...
    etc.
    Again, it does exactly what it is supposed to do - from a technical point of
    view, but this might not be what the users/organization can
    handle/expect...
    Georg
    >>> Daniel Wells<[email protected]> schrieb am 05.11.2014 um 20:54 in
    Nachricht <[email protected]>:
    > One of the things we need to be able to do for out work is share
    > folders. We are project based and do not want to store the projects in
    > the users "eDirectory User" home folder. We made some initial test
    > assigning two users to the same "Home Folder" and shared a folder and had
    > multiple accounts both internal and external pick-up and drop off files in
    > the folder.
    >
    >
    >
    > While it appears to work, I wanted to find out if there are downsides in
    > having 20-30 people with the same Filr "Home Folder". What are the
    > potential "gotchas". Security (internal) isn't an issues since these
    > network locations are accessible by all the users anyway.
    >
    >
    >
    >
    >
    >
    > Daniel Wells AIA, VCP
    > Senior Associate | IT Coordinator
    > MHTN Architects, Inc.
    > Direct: 801.326.3215 | www.mhtn.com
    > vision made real

Maybe you are looking for

  • Error while creating contract

    Hi Experts, I am getting a strange error,while creating quantity contract in VA41 . When ever I am trying to save the quantity contract it gives a in completion Log. So when I am trying to complete the documents it gives a list of incomplete fields,i

  • Regarding skin and style in obiee 11g

    Hi , i have done all the steps for customization for login page of it. but when i am restarting the presentation server the login page not customized. on the place of oracle logo is coming nothing. i have followed the steps mentione in oracle doc. Pl

  • Installing deveoper suite 10g on windows 7

    Hi I am installing Oracle Developer Suite 10g (10.1.2) on Windows 7 32-bit as per note ID 1292919.1. As per the note i downloaded the patch Patch 10396165 and tries the invoke the oracle universal installer from setup.exe of the patch as per the belo

  • Hii  purchase infor record when creating PR from a sales order

    Hii I have found an exit USEREXIT_MOVE_FIELD_TO_ME_REQ when creating a sales order i can modify the table EBAN there is a special flow where i need to remove clear out the Purchase info record (INFNR) since when creating a sales order the purchase de

  • MySQL database accessor

    The database accessor wizard connects successfully to the MySQL database and shows the table I created. However, in the "Generate server-side code" step of the wizard, I receive "The selected Project doesn't contain a valid server nature!". My Flex p