Leave a Reply

13 Comments on "Spring Boot Quick Start 20 – Implementing Update and Delete"

Notify of
avatar

Irakli Tabagari
Guest
Irakli Tabagari
26 days 18 hours ago

Hi,Is Spring "@Service" always "@Singleton" by default??

Sergey Orlovich
Guest
Sergey Orlovich
2 months 15 days ago

You're mistaken in using PUT for update. PUT is used for insert in RESTful api, and POST is for update. Nice tutorial.

Priten Vora
Guest
Priten Vora
1 month 29 days ago

Actually, it is mentioned in the stackoverflow page that If client decides the URL of the object being created then it is okay to use PUT otherwise we can use POST for resource creation. However using POST for update is not the REST way to go.

Rama41222
Guest
Rama41222
1 month 29 days ago

@sergey lol You must be dreaming

Priten Vora
Guest
Priten Vora
2 months 14 days ago
Avijit Chatterjee
Guest
Avijit Chatterjee
4 months 25 days ago

Thanks a lot for this great tutorial, it was a huge help. It would be great if you could add a section on integrating Swagger into this app.

anup kumar
Guest
anup kumar
5 months 8 hours ago
Very nice videos , very well explained :)One quick question : Can you please discuss the scenarios of thread saftey ?Scenario i would like you to cover and explain : 2 parallel Put request comes in and at the same time the Get Request comes in too .. Put Request 1 : {id = Java , XYZ…. }Put Request 2 : {id = Java , PQR….}Get Request 1 : {/topics/{java} }what would be the output ? and how thread saftey is handled ? … I am going through your tutorials now , once i am done will try this out… Read more »
Priten Vora
Guest
Priten Vora
2 months 14 days ago

Ideally you should get {id = Java , PQR….}

Vishwanath Gajavelly
Guest
Vishwanath Gajavelly
2 months 17 days ago

this is interesting, did you figure out anything reg the synchronization Anup ? Thanks..

shalini lakshkar
Guest
shalini lakshkar
5 months 18 days ago

These tutorials are pretty simple… very well explained.. Thanks.

Charlie Draper
Guest
Charlie Draper
5 months 23 days ago

great tutorial – thank you!

Borys Nikolenko
Guest
Borys Nikolenko
6 months 11 days ago

HelloYour lessons are very nice, thank you for that.Till that moment I've got one question please :)What for do you use empty return statement in updateTopic() void method in TopicService.java file?

Siby Mathew
Guest
Siby Mathew
6 months 6 days ago

Hey Borys…That's because after updating the element with the correct Id you can stop looping through. Similar to a break; to avoid unnecessary further looping.

wpDiscuz