Convert war file to executable file

My company has developed a web application (J2EE environment / Tomcat server) and wants to sell it as a product. Customers can use this product as their primary publication or premium edition. In the premium release, customers have some additional features (there may be some additional links). This distinction is made based on the serial key.

I was just a listener when this was discussed.

Is the above problem possible? How to convert a war file to an exe file and implement logic to distinguish between the premium version or the basic version.

+3
source share
2 answers

exe , - .

, .

-, , - (, Jira , ), , , ( _) context.xml, . .

, . , "" - tomcat .

, , tomcat ( , ) Jetty. .

+ - GJC (Gnu Java Compiler), , , .

, n, .

+3

WAR - web. - . JAR main(), - , , -. WAR , servermin . , , .

- - , , Jetty, main() , , WAR . , , JAR.

- .

+3

All Articles