开发者

How to quickly determine the entry point to a large java project

开发者 https://www.devze.com 2023-03-12 06:05 出处:网络
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.As was commented, we need to

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消