I have a Java application that I want to add a licencing system to. I have created a serial key system that will be used to validate the software before launch on a remote server.
What I really wish to do, is host a .jar or .zip file on the remote server and use a URL class loader to import the classes. I also need this transaction to be secure so that only products with the valid key can load the classes into RAM.
I am thinking this might be achievable with PHP and some rewrite rules on the server end. I however don't know how I would handle this from Java's end. I have made modular systems in the past using URL class loaders but have been unable to find a way to do this remotely.
Anybody able to explain and or give examples?