Licensing a java web based application [closed]
开发者_开发知识库
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this questionI am developing a web application that will be sold later on, and was wondering how to add the concept of license to it, so that I can avoid it's piracy, and it can be used for given period of time only?
You can have a centralize licence server , have a DB to check user's status , expose this thing using webservice so that any of your app can consume it.
I've seen Java enterprise tools do the usual serial number/license file thing. Worked pretty well for them. All you'd need to do is put some static code in the application that would execute when the JavaEE container loads the WAR file and have that check the serial number.
精彩评论