Servlet vs REST

后端 未结 7 1647
野的像风
野的像风 2020-12-08 07:31

I need to create 5 methods on the server side, which will work with binary data. The remote clients are applet and JavaScript. The Client will send files to the server, and

7条回答
  •  孤街浪徒
    2020-12-08 07:57

    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.

提交回复
热议问题