开发者

Implement Ahead of Time compilation (AOT) for Java based applications

开发者 https://www.devze.com 2023-02-03 10:09 出处:网络
We are in process of developing a commercial desktop based application in java using Rich Client Platform framework from Netbeans/Eclipse. The IDEs (Netbeans/Eclipse) provides nice inbuilt installer f

We are in process of developing a commercial desktop based application in java using Rich Client Platform framework from Netbeans/Eclipse. The IDEs (Netbeans/Eclipse) provides nice inbuilt installer for packaging the application. The only problem is our end users can see jar files on deployment and we don't have enough protection of our intellectual property as reverse engineering is possible. Code obfuscation can be used to minimize the impact but can't avoid it. We were searching开发者_如何学编程 for open source solutions/products which can help us mitigate our problem by directly converting our application to native code something similar to what AOT is supposed to do.

Thanks in advance for ur help.

-Bhan


this was already discussed here: How do I create an .exe for a Java program?


You may transform an Eclipse RCP applications into a real EXE (or Linux binary) containing no bytecode using the product my company makes.

In general, an AOT compiler must be aware of the inner workings of such a dynamic framework or container, specifically its class loading, otherwise the original bytecode will be required at run time for consistency checks and possible JIT compilation. Our product only "knows" about Eclipse RCP and Apache Tomcat classloaders as of now (it always knew about the standard ones of course.)

0

精彩评论

暂无评论...
验证码 换一张
取 消