JAVA - Create Accounts
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.
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 :)
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 :)
Definitely above what I know so far lol but at least now I know where to start hunting, thanks.
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement