Simple Lightweight RESTful API with HttpServlet

Опубликовано: 25 Декабрь 2024
на канале: UPPERCASE • DEV
4,993
68

In this video, I am demonstrating how to create a lightweight RESTful API using plain HttpServlet in Java. There are various rich tools to create REST API, yet if you want a simple API with no or at-least less overhead, here is the solution, Http Servlet API will do the job.

Source code are available at: https://github.com/imuneer/simple-res...

#javaweb #restapi #httpservletapi

Tools Used:
1. GSON, a JSON library by Google
2. Apache Tomcat server
3. Http Servlet API
4. Intellij IDEA (Community Edition)