This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes Online collaborative drawing program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Online collaborative drawing program" Watch "Online collaborative drawing program" New topic
Author

Online collaborative drawing program

Len Padson
Ranch Hand

Joined: Nov 21, 2011
Posts: 40
Hello! I am trying to create a networked collaborative drawing applet, and I'm looking for suggestions as to the best, easiest, most efficient way to do so. To start, the only functionality I want is to be able to scribble on a canvas, so what should i send from the client to the server and then from the server out to all the clients? should i send the whole image? Should i send coordinates of the points drawn most recently? Or is there some third option that would be faster? I do not want to end up with an ArrayList of every coordinate of every line becasue then as time progresses response time will get slower and slower. So please help? Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Online collaborative drawing program