Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing networking Information/Reading recommendations

 
Chris Hericks
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an online tabletop program, eventually be used for Dungeons and Dragons most likely. While I am skilled enough in the aspects of the program operating on its own, I am entirely new to the idea of networking programs to one another through the internet. I plan to have a dynamic board that all users of the program can view and edit, which will update in real time, as well as a chat box where dice rolls and chat messages can be posted for all users to see, again updating in real time.

If someone could give me advice as to reading material that I can use to teach myself how to do this, I would be really grateful. I am asking mostly because I am unsure where exactly to start, as well as what areas of networking I will need to learn in order to accomplish the goals and abilities of the program.
Hopefully the material will be online, be it on a webpage or easily accessible pdf. I do have a few books on java, but hope not to purchase more unless absolutely necessary.

Again, this is just to help me focus on what I need to learn in order to accomplish the project. Of course I realize I could google "java networking" and get some tips, but I am looking for a resource that someone has (hopefully) used in the past and recommends it to a moderately skilled java user like myself for their first foray into learning networking.

Thanks in advance!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with the Java Tutorial: http://docs.oracle.com/javase/tutorial/networking/index.html, particularly the chapter "All about Sockets". It shows how to develop a client/server pair, which is what you'd need (except that you'd have multiple clients, not just a single one).
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic