I am developing a desktop based software in Java using IDE Netbeans 7 and database MySQL.
Now i want to distribute this software and protect it from piracy.I want to implement online licence verification.That means when user will install the software a number based on hardware configuration will be sent to me.And i will provide a licence key according to that number.If user will give input that key then the full version of the software will run.
But the problem is that,i have no idea about how to implement these things.Such as:
what are the steps?
What things will i need for this?
How the online communication should be established?such as sending number of hardware ,key and verify when user input the key number etc.
So, in details procedure and example or any useful link can help me a lot to do the job.Please help if you can.Thanks in advance.