Answer the question
In order to leave comments, you need to log in
Is Java using Servlets in 2019?
Hello, I once read a topic on the Toaster, which indicated that servlets are no longer used in Java today, but somehow I didn’t even attach any importance to this. But now I'm asking myself this question and something is very doubtful about all this. How then does the web work?
For early I apologize for such a question, I want to make sure that this is true or not. Thank you!
Answer the question
In order to leave comments, you need to log in
Servlets are the standard for running web-based java applications. They won't go anywhere for many years to come.
Sometimes not very smart people write on the Toaster.
All synchronous processing of http requests on servlets. But, as shapovalex already wrote , sometimes this is not visible under a layer of high-level abstractions.
Well, let's take a look at Spring MVC, for example.
If you look at the code, then, in most cases, servlets and other low-level things are not used.
But, under the hood of Spring MVC is DispatcherServlet.
That is, there is a servlet, but it seems to be absent)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question