如何将java web应用程序转换为单个exe文件?

发布于 2024-12-15 12:24:35 字数 238 浏览 9 评论 0原文

我想将我的 struts2 Web 应用程序转换为 exe 格式,以便 exe 文件将我的项目加载到服务器中并将数据库加载到 MySQL 中。

是否有任何此类工具可用于将文件加载到文件夹中?

除了 .exe 之外,是否还有任何形式可以将我的项目转换为执行此操作?

是否可以将类文件中的代码解密为java文件?

对于加载到服务器的 struts2 项目来说,哪种形式最安全?

I want to convert my struts2 web application into an exe format so that exe file will load my project into server and database into MySQL.

Are there any such tools available for loading files into a folder?

Are there any forms other than .exe to which I could convert my project to do this action?

Is it possible to decrypt the code from class file to java file?

Which is the most secure form for a struts2 project for loading into a server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不交电费瞎发啥光 2024-12-22 12:24:35

您想将其转换为可执行文件吗?一般来说,安装程序会协助自动安装,就像您使用所有这些技术创建了一个产品,并且您希望让您的客户免于所有设置和安装过程(例如数据库配置、其他配置等)的麻烦。

Is it possible to decrypt the code from class format to java format

有许多 java d 编译器可以帮助您将 .class 文件转换为 java 文件,虽然有时无法 100% 转换,但在大多数情况下,它们倾向于向某人展示他们真正想要看到的内容。

You want to convert it to executable one?? generally installer came to assist auto installation like if you have created a product using all these technology and you want save your customer from all the setting and installation processes like database configuration,other configurations etc.

Is it possible to decrypt the code from class format to java format

there are many java d-compilers available which help you to convert .class files to java files though they sometime fails to convert it 100% but in most cases they tend to show some one what they actually want to see.

冷血 2024-12-22 12:24:35

您无法将 exe 文件加载到 Web 服务器中。

我想您可以创建一个包含服务器和您的 war 文件的可执行文件,但我强烈反对这种做法。

可以混淆(例如,使用ProGuard)和/或加密您的.class文件,但如果他们决心获取您的未混淆的字节代码,他们几乎肯定会这样做。

如果他们没有那么坚定,那么完成所有的努力、调试等可能就不够重要。

You can't load an exe file into a web server.

I suppose you could create an executable that includes a server and your war file, but I would strongly discourage the practice.

You could obfuscate (e.g., with ProGuard) and/or encrypt your .class files, but if they're determined to get to your unobfuscated byte code, they almost certainly will.

If they're not that determined, then it's probably not important enough to go through all the effort, debugging, and so on.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文