如何快速确定大型java项目的入口点(How to quickly determine the entry point to a large java project)

编程入门 行业动态 更新时间:2024-10-09 14:21:27
如何快速确定大型java项目的入口点(How to quickly determine the entry point to a large java project)

我有一个非常大的java项目,我想知道如何快速确定这个项目的“切入点”。 在我运行它时,首先执行。

I have a very large java project, and I was wondering how to quickly determine the "entry point" to this project. Where, when I run it, is first executed.

最满意答案

正如评论所说,我们需要知道什么样的项目。 一个独立的应用程序将在某处具有主方法,但是有各种不同的Java应用程序没有明确的应用程序,或者就此而言是单个入口点。

例如,一个项目可以有几个servlet,它们都将启动,但没有一个是入口点,它们都是特定功能的入口点。

许多UI项目还将向用户呈现一系列组件,所有组件都由一些底层框架启动。 同样,由于main()实际嵌入在底层框架中,因此本身没有入口点。

As was commented, we need to know what kind of project. A standalone app will have a main method somewhere, but there are all kinds of different java apps that don't have an explicit one, or for that matter a single entry point.

A project could have several servlets, for example, which all will be started but none is THE entry point, they all are entry points to specific functionality.

Many UI projects will also present a series of components to the user, all started by some underlying framework. Again, there is no entry point, per se, as the main() is actually embedded within the underlying framework.

更多推荐

本文发布于:2023-08-03 19:33:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1396175.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:入口   快速   项目   java   quickly

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!