Doubts about Spring Boot microservice without entry point

71 views Asked by At

Lately I found myself with a spring boot microservice maven project with a simple MVC (controller, service, repository) flow but without an entry point, i.e. without an annotated @SpringBootApplication class or a main method;

Now I'm not clear on the ways to make the microservice work and what the logical loop is that makes everything work.

The microservice in my case runs on a docker container and in the pom.xml file it has the declaration of a pom parent (I don't know if this last information has any relevance)

However, with these premises my question is to understand, having a spring project of this type, what are the different ways to use it and put it into operation, and above all, what is the reason that leads to this choice? What are the benefits if any?

I hope I have been as clear as possible, Thank you all in advance.

0

There are 0 answers