You are confusing two paradigms here:
- REST is a software architecture “style”;
- Servlet is a server-side technology.
You can, for example, implement REST-like services using Servlets.
You are confusing two paradigms here:
You can, for example, implement REST-like services using Servlets.