From the course: Spring: Spring MVC
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
RESTful services recap
- [Instructor] This module will talk about opening up simple RESTful endpoints within your Spring MVC application. REST is a representational state transfer, and a RESFTful web service follows an architectural style which helps us access resources on the web and return textual representations of it. We can perform action on these resources by means of simple and well-defined operations. For example, you can retrieve resources, or you can manipulate them in the form of update and delete, or you can even add more resources on the server. RESTful web services highly promote interoperability between systems. For example, if you have a REST service coded in .NET, you can easily access it with a Java client. So even if both the systems work on different platforms and run in different languages, it wouldn't matter. They can work together in harmony. Whenever a client invokes a REST service, it will do so with the stateless HTTP…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
RESTful services recap5m 19s
-
(Locked)
Use @Controller and @ResponseBody5m 14s
-
(Locked)
Use @RequestController and @ResponseEntity4m 27s
-
(Locked)
Use @PathVariable and @RequestParam to get request payload3m 51s
-
(Locked)
Use @RequestBody and @ResponseEntity5m 18s
-
(Locked)
Use @ExceptionHandler3m 27s
-
(Locked)
Testing the @ExceptionHandler with the @ResponseEntity5m 35s
-
(Locked)
MVC vs. REST controllers1m 22s
-
(Locked)
-