我见过 Java 企业工具执行通常的序列号/许可证文件操作。对他们来说效果很好。您需要做的就是在应用程序中放入一些静态代码,这些代码将在 JavaEE 容器加载 WAR 文件并检查序列号时执行。
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.
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.
发布评论
评论(2)
我见过 Java 企业工具执行通常的序列号/许可证文件操作。对他们来说效果很好。您需要做的就是在应用程序中放入一些静态代码,这些代码将在 JavaEE 容器加载 WAR 文件并检查序列号时执行。
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.
你可以有一个集中的许可证服务器,有一个数据库来检查用户的状态,使用网络服务公开这个东西,以便你的任何应用程序都可以使用它。
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.