inflearn logo
강의

Course

Instructor

ejrm12224353's honest review, Real-world! Spring Boot and JPA Utilization 2 - API Development and Performance Optimization course

ejrm12224353

Reviews 15

Average rating 5

Hello, Younghan :) I've completed the JPA Utilization Part 2 course! There are still parts I don't fully understand, so I'm listening to it twice repeatedly. I also purchased the JPA book you wrote to study the basic theories more solidly. I posted on the Q&A board as well, but since AI provided the answer, I'm asking again here because I'm curious about the accurate response! In the lecture, you used the Result class to wrap responses. Would it be possible to use ResponseEntity as a way to abstract responses like this? In other words, I'm curious whether it would be fine to replace it with a method that wraps DTOs with ResponseEntity and returns them, without creating a separate Result class. Thank you sincerely for always providing great lectures! :)

1

yh

Brown Bear's AI gave the perfect answer. Using the Result class changes the JSON response format itself, while wrapping with ResponseEntity is used when changing the HTTP response format itself. For example, you can change things like the HTTP status code. Thank you.

0

yh

24 lectures

22006 enrolled

Real-world! Spring Boot and JPA Utilization 2 - API Development and Performance Optimization
5(1414 reviews)