简体   繁体   English

编辑Java Web应用程序

[英]Editing Java Web Application

I have a small workshop "Modern Autos Workshop" and i am managing my maintenance activities via a Computerized Maintenance Management Software. 我有一个小型工作室"Modern Autos Workshop" ,我正在通过Computerized Maintenance Management Software.管理我的维护活动Computerized Maintenance Management Software. The application was developed by a freelancer and he simply gave me a windows installer .EXECUTABLE file. 该应用程序是由一名自由职业者开发的,他只是给了我一个Windows安装程序.EXECUTABLE文件。 The application was designed on JAVA, in short, it was a DYNAMIC JAVA WEB DATABASE APPLICATION. 该应用程序是在JAVA上设计的,简而言之,它是一个DYNAMIC JAVA WEB数据库应用程序。 Now i have changed the name of my workshop and i don't know how to change the name displayed on my software and invoices. 现在我更改了我的工作室的名称,我不知道如何更改我的软件和发票上显示的名称。 When i opened the installation directory, following folders were found: 当我打开安装目录时,发现以下文件夹:

 1= app (contains number of .jar files including "Modern Autos
    Workshop Run.jar" and a "Modern Autos Workshop.war" file)
        2= db (contains .DAT files)
        3= JRE 6 (contains lib folder)
        4= Jetty Temp (contains files extracted from .war file from 1= app folder)
        5= my db (contains lib folder)
        6= my db backup (contains lib folder)
        7= Modern Autos Workshop Run.jar file

i am not a programmer, but please help me if some one can do this impossible thing..! 我不是程序员,但如果有人可以做这件不可能的事情,请帮帮我..!

It would be possible using a decompiler to do what you are trying to do but it will be very hard unless you are an experienced developer. 可以使用反编译器来做你想做的事情,但除非你是一位经验丰富的开发人员,否则这将非常困难。

If you have access to the original source code (at the very least it will have files called ".java" in it) then it is a bit easier but unless you already know the basics of programming it will not be trivial. 如果您可以访问原始源代码(至少它将包含名为“.java”的文件),那么它会更容易一些,但除非您已经了解编程的基础知识,否则它将不会是微不足道的。

Ideally there will be a configuration file or database table that you can change so I would look for files with the extension "properties" or "txt" and also look in the database tables. 理想情况下,您可以更改配置文件或数据库表,以便查找扩展名为“properties”或“txt”的文件,并查看数据库表。

For an experienced developer (assuming they have the source code) it will be a very fast and easy job. 对于经验丰富的开发人员(假设他们有源代码),这将是一项非常快速和轻松的工作。

Without source code it will be quite difficult. 如果没有源代码,那将非常困难。 You have to decompile byte code and then perform change and after that compile code again. 您必须反编译字节代码然后执行更改,然后再次编译代码。 Assuming you have all the tools, it can be quite complex even for skilled developers. 假设您拥有所有工具,即使是熟练的开发人员也可能非常复杂。

You can only analize your database if there is data which you can change. 如果有可以更改的数据,则只能分析数据库。 That change will be easy. 这种变化很容易。 Everything else is not easy, especially not for non-programmers. 其他一切都不容易,尤其不适合非程序员。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM