I have been working on programming an online RPG in Java for a while now. It's a huge project and way too hard for me, but I'm having fun learning.
server and client: Java
database: MySQL
I have mainly been working on the GUI but now have started to draw a map based on the tileset returned from my server. I am now ready to grab my users coordinates from the db, but I am wondering if I should have them sitting in a temp variable on my server or just access/change the coordinates in the database.
Long story short: hit db always for lookups and changes or have a LinkedList or something on the server?