Java Web Applet/表单逆向工程

发布于 2024-11-15 06:39:08 字数 249 浏览 6 评论 0原文

我应该根据已停产的产品创建新产品。问题是停产产品的原始程序员丢失了源代码(是的,太棒了)。

该软件通过网络浏览器运行。当我访问他们的 url 时,会弹出一个标题为“Oracle Developer Forms Runtime”的窗口。我不确定这是一个小程序还是 Java 插件还是其他什么,因为我只开发 Java“命令行”应用程序。

我是否能幸运地看到应用程序和服务器之间正在调用和返回的内容,以便我可以模仿类似的东西?如果是这样,我应该寻找哪些工具?

I'm supposed to create a new product based on a discontinued product. The problem is the original programmers of the discontinued product lost the source code (yeah, awesome).

The software is run through a web browser. When I go to their url, a window pops up with the title "Oracle Developer Forms Runtime". I'm not sure if this is an applet or Java plugin or whatever, because I've only been developing Java "command line" applications.

Is there any luck I can see what's being called and returned between the app and the server so I can imitate something similar? If so, what tools should I be looking into?

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

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

发布评论

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

评论(3

<逆流佳人身旁 2024-11-22 06:39:08

鉴于我对 Oracle Forms 的了解(顺便说一句,这方面的知识非常有限),Peter Tillemans 的答案是正确的。该小程序只是 Oracle Forms 中构建的屏幕的胖客户端。

如果要恢复源代码,则需要查找为应用程序构建的 *.fmb 文件(包含源代码的 Forms Builder 文件)。它们将包含 PL/SQL 源代码以及屏幕布局,并且必须使用 Oracle Forms Builder 工具打开。您可能还想获取要在数据库服务器上运行的任何 PL/SQL 源代码的副本。

如果您丢失了 FMB 文件,那么您可能必须找到一种方法来从已编译的 FMX 文件中恢复源,该文件实际上由 Forms Server 在运行时使用。我不知道有任何反编译器。

在我看来,反编译 applet 是徒劳的,因为它是 Oracle Forms Java 客户端的一部分(也是 Oracle Forms 产品本身的一部分),旨在部署在 Web 服务器上。作为应用程序一部分开发的屏幕实际上都没有编译成 Java 类;该小程序实际上执行从 Oracle Forms Server 接收 UI 信息并将其显示在屏幕上的工作。表单服务器负责繁重的工作;所有业务逻辑和事务管理都发生在该服务器中,这就是您应该追求的(可以在 FMB 和 FMX 文件中找到)。

可能还需要考虑其他文件。

  • PLL 文件将包含跨多种形式使用的 PL/SQL 源代码。
  • MMB 文件将包含菜单模块。

Given my knowledge of Oracle Forms (which is quite limited by the way), Peter Tillemans's answer is in the right direction. The applet is merely a thick-client for the screens built in Oracle Forms.

If you want to recover the source code, you'll need to look for the *.fmb files (the Forms Builder files that contain the source code) built for the application. These would contain the PL/SQL source code as well as the screen layout, and would have to be opened using the Oracle Forms Builder tool. You might also want to acquire a copy of any PL/SQL source code that is meant to run on the database server.

If you've lost the FMB files, then you might have to figure out a way to recover the sources from the compiled FMX files, that is actually used at runtime by the Forms Server. I'm not aware of any decompilers for these.

In my opinion, decompiling the applet is an exercise in futility, for that is a part of the Oracle Forms Java client (and is part of the Oracle Forms product itself), meant to be deployed on a web server. None of the screens developed as part of the application, are actually compiled into Java classes; the applet actually performs the job of receiving UI information from the Oracle Forms Server and displaying it on the screen. It is the Forms Server where the heavy lifting occurs; all business logic and transaction management occurs in this server, and this is what you should be after (and it can be found in the FMB and FMX files).

There are other files that might also need to be accounted for.

  • PLL files would contain PL/SQL source code that is in use across multiple forms.
  • MMB files would contain menu modules.
踏雪无痕 2024-11-22 06:39:08

您正在处理 Oracle Forms 应用程序。 “applet”基本上是一个胖客户端应用程序,它与 Oracle 应用程序后端进行通信。

您将需要 Oracle Forms 工具集。

更多信息请参阅表单常见问题解答

You are dealing with a Oracle Forms application. The "applet" is basically a fat-client application which talks to an Oracle application backend.

You are going to need the Oracle Forms toolset.

More information can be found in the Forms FAQ

十秒萌定你 2024-11-22 06:39:08

有许多反编译器可以让您在这个项目上有一个良好的开端。 http://www.google.com/search?aq=f&q =java+反编译器

There are many decompilers out there that might give you a good head start on this project. http://www.google.com/search?aq=f&q=java+decompiler

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