简体   繁体   English

用于Java Web应用程序的逆向工程工具

[英]Reverse engineering tools for Java web applications

I have been searching in the Internet looking for an application which could take a Netbeans Web project and create an UML diagram resulting from these classes. 我一直在互联网上寻找一个可以接受Netbeans Web项目并创建由这些类产生的UML图的应用程序。 Also, but not essential, I would like a similar tool for the JavaScript code I have in the Java web project I mentioned before. 此外,但不是必需的,我想在我之前提到的Java Web项目中使用类似的JavaScript代码工具。 It's such an inferno trying to understand the structure and inner relations of this web project I was given. 试图理解我给出的这个网络项目的结构和内在关系,这是一个地狱。

您可以尝试使用Visio通过逆向工程创建UML图,但我不知道它是否适用于JScript,但您可以尝试一下。

Most UML tools have the capability to reverse engineer Java source into UML models. 大多数UML工具都能够将Java源逆向工程为UML模型。 Few of them will generate the diagrams automagically for you. 其中很少会为您自动生成图表。 And none of them will know a thing about your view layer, so don't expect to see JSPs. 并且他们都不会知道您的视图层,所以不要期望看到JSP。

You may get class or package diagrams. 您可以获得类或包图。 Sequence diagrams will be a challenge. 序列图将是一个挑战。

I know of no such thing for JavaScript code. 我知道JavaScript代码没有这样的东西。

Good UML tools: Free - ArgoUML Commercial - Enterprise Architect, MagicDraw 优秀的UML工具:免费 - ArgoUML Commercial - Enterprise Architect,MagicDraw

Javascript tool: "Code Visual to Flowchart 3.5" http://www.fileguru.com/Code-Visual-To-Flowchart/info Javascript工具:“Code Visual to Flowchart 3.5” http://www.fileguru.com/Code-Visual-To-Flowchart/info

This says it will UML diagram JS: http://jsuml.org/ 这说它将是UML图JS: http//jsuml.org/

That being said, JS is typically not object-oriented in the sort of way where UML diagrams are too likely to help. 话虽这么说,JS通常不是面向对象的,就像UML图很有可能帮助的那样。

Try this Open Source, Free and easy to use tool called Star UML . 试试这个名为Star UML的开源,免费且易于使用的工具。 It has all the features you need like reverse engineering and i use it a lot for that purpose . 它具有您需要的所有功能,如逆向工程,我为此目的使用了很多。

I used Enterprise Arctitect in previous projects. 我在以前的项目中使用过Enterprise Arctitect It can reverse engineer your code into UML, XML you name it. 它可以将您的代码反向工程为UML,即您命名的XML。 It can also do a lot more! 它还可以做更多! We used it to document the code functionality that was actually implemented so it could be compared with the original spec. 我们用它来记录实际实现的代码功能,以便与原始规范进行比较。

It's a great tool for Business Analysts, Project Managers, Software Architects and Engineers because it has tools for each of these users' perspectives. 对于业务分析师,项目经理,软件架构师和工程师来说,它是一个很好的工具,因为它为每个用户的观点提供了工具。

Check out http://www.uml-lab.com/en/uml-lab/ . 查看http://www.uml-lab.com/en/uml-lab/ It provides reverse engineering of Java code. 它提供Java代码的逆向工程。 It will extract known patterns and provides a pattern template to match your project. 它将提取已知模式并提供与您的项目匹配的模式模板。

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

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