Sign in to follow this  
kwalski

JAVA - Create Accounts

Recommended Posts

kwalski    100
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
BigRob    100
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this