title: Multiplayer turn based game architecture questions
body: <p>I'm working on creating a 2D game for fun to learn some of the ins and outs of multiplayer gaming. The game itself will pit two players' armies against each other in a strategic turn based battle. I am developing it as a standalone desktop client (then maybe a phone app eventually).</p>
  
  <p>I am writing the game in Java and I am not trusting the client, so I am taking security into account. The players will have an personal account with their army lists and stuff that will live on the server as well.  Additionally, I plan on using mySQL to store this sort of data on the server.</p>
  
  <p>I'm not really sure how to implement this, however. Do I use something like a webserver? This seems wrong, but I don't know what technologies to use for a Java front end and backend where the client is untrusted.  Note that I'm not looking for a debate about the best way to do this, I just need to know the concepts, maybe some example technologies, and maybe a link to a tutorial. </p>
  
  <p>Thanks for any help!</p>