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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.