How Spring boot internally handles the http request here?
How Spring boot internally handles the http request here?
I see here spring boot packages the microservice artifact as jar file . It handles the http web request through module spring-boot-starter-web.
My understanding is spring boot internally does is
spring-boot-starter-web
Is my understnading correct ?
No it isn't... It doesn't package or create a war. It instructs the embedded server where the resources are, it doesn't create an internal war file.
– M. Deinum
Sep 10 '18 at 9:01
@M.Deinum Got it, But http request are still handled by servlets like in the given example. Right ?
– emilly
Sep 10 '18 at 9:11
It still uses servlets, filters that doesn't change.
– M. Deinum
Sep 10 '18 at 10:33
1 Answer
1
Your understanding is almost correct:
any documentation on this servlet layer? In my company we are using it to handle huge loads of requests (Big Data) and I am trying to understand his effective capacities
– Luca Tampellini
Sep 10 '18 at 10:34
Whoops I didn't put the link correctly, I've updated it. There you can find the documentation
– Casper
Sep 10 '18 at 10:41
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
when the jar is executed, it starts tomcat server internally and upon that your application packaged as war and ran.
– 333
Sep 10 '18 at 8:31