Jump to content
  • Advertisement
Sign in to follow this  
kwalski

JAVA - Create Accounts

This topic is 2952 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm creating a game through a JAVA applet. I want to be able to create a register account ability. Can anyone point me in the right direction to a tutorial for creating accounts for a game through java and/or if you can give me the jist of what needs to be done. I am still fairly new to programming so if you can go easy on the extremely technical terms or describe them that would be greatly appreciated. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
1.)
You need a Web- / Database-Server where you store the Accounts into Database (SQL Statements for creating Tables and so on), e.g. MySQL should be right for beginning.

Link: http://www.mysql.com/

2.1)
Use JDBC
Link: http://dev.mysql.com/doc/refman/5.1/en/connector-j-usagenotes-basic.html

This is not secure for Client deployment. You need to store the DB-User and DB-Password in your Java-Source file. These files can be easily decompiled (Don't trust the Client).

2.2)
Use a PHP (whatever server-side) Proxy for the communication between your App and the Database.

Hope it helps :)

Share this post


Link to post
Share on other sites
Unless we understand your experience level, it is hard to guage what kind of advice to give you. Have you used SQL before? What about JDBC?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!