While working with springboot in local environment, creating a REST application feels so effortless due to its embedded (and abstract) tomcat server. We can do so by creating a Restcontroller and routing the requests using annotations. But I am trying to understand the working of applications in production environment. I have following questions -
- What role will the springboot's embedded tomcat server will play when the application is deployed on to production servers?
- If I have a spring (not springboot) application and if I want to send out data from this application by exposing api's what steps should I take? P.S - In the spring application there is no tomcat or any such dependency. Please explain the relevance of using them along with how to use it.
Thanks