Recommended Posts

OK. This is my first post here =). I'm creating an online game, such as something like AstroEmpires, or Tribal Wars. I know how to code HTML to use as my actual webpages, and I'm using JAVA as an engine (If you know a better please tell me). I need to know how to get programs that I run in the JAVA (such as the player just build a new building) and tell my database that that player just build a base. How would I program JAVA to go in there and change that data?