I want to put license management in my application . Application is running on Glassfish and deploying Restful web-service .
I have no clue where to start for licensing . What should I put in deployment descriptor that my code is executed and decide whether to load the application or not .
I would be grateful if someone points me to the links to start with or post a small code snippet to begin with .