Spring Boot Quick Start 12 - Returning Objects From Controller

Spring Boot Quick Start 12 - Returning Objects From Controller

Java Brains

7 лет назад

700,976 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ankita Singh
Ankita Singh - 23.03.2023 07:36

You are blessed sir, your teaching style is amazing.

Ответить
prashanth
prashanth - 22.11.2022 15:26

We are creating an object by calling parameterized constructor then what is the need of no args constructor in this program sir ? Is it mandatory to write no args constructor?

Ответить
JEAN-PAUL BOGA
JEAN-PAUL BOGA - 11.09.2022 02:25

thanks for that Clearstream explanation

Ответить
Diederik Mallien
Diederik Mallien - 29.07.2022 23:32

Hallelujah dude! You're one of the few out there who can teach this in such a clear, simple, yet thourough way. Thanks a lot!

Ответить
Aruna Sameera
Aruna Sameera - 06.03.2022 01:20

when list of Topic object converts to json, is it serialization or deserialization ?

Ответить
Ashish Samal
Ashish Samal - 17.01.2022 15:17

why can't I run my local host at 8080, anyone facing the same problem?

Ответить
Bearded Coding
Bearded Coding - 04.11.2021 01:41

thank you for going slowly oh my god

Ответить
pankaj pandey
pankaj pandey - 03.11.2021 11:34

Hi .. I have a question . when we run this locally we run it as a Java program , our main class that is marked as spring boot application loads the context , does component scan , maps our request. But how will it run on a prod env where we'll not be able to run the main method manually

Ответить
reigh lee
reigh lee - 17.09.2021 03:12

hi , are each modules placed on different sub packages? like for example all things that are related to Topics are added under Topics package?

Ответить
Prabhu Ramkumar
Prabhu Ramkumar - 11.09.2021 09:18

Landed here after searching videos trying to understand Spring and Sprint boot and this ended my search finally.

Ответить
vivekananda reddy
vivekananda reddy - 03.08.2021 16:00

everything is fine. But why do we need to create an altogether new package, instead why not add classes to the existing package ? Can anyone tell me ?

Ответить
Piyush Patel
Piyush Patel - 30.07.2021 21:20

wow spring boot is just so amazing, just wow i loved it, ohh man I am literally jumping, i love it, it sooooo good

Ответить
PC
PC - 05.03.2021 00:45

The only difference here was that it put the list of objects all on one line

Ответить
Aditya
Aditya - 09.02.2021 15:08

why is the Topic parameterized constructor calling super() method ? There is nothing Topic is being extended from. super() is used to call parent class method with same name(i.e. in case of overriding).

Ответить
Vazgen Safaryan
Vazgen Safaryan - 22.11.2020 22:07

It helped me. Thank you!

Ответить
Sukhjit Kaur
Sukhjit Kaur - 01.11.2020 08:24

So clearly explained

Ответить
dhinesh s
dhinesh s - 17.08.2020 13:34

return Arrays.<Topic>asList(
new Topic("spring", "Spring Framework", "Spring Framework Description"),
new Topic("java", "Core Java", "Core Java Description"),
new Topic("javascript", "JavaScript", "JavaScript Description"));
}
Add generic <Topic>

Ответить
Rasika Perera Govinnage
Rasika Perera Govinnage - 09.08.2020 17:16

Your tutorials are great! Any particular reason to have a no-arg constructor here?

Ответить
sravya sarraju
sravya sarraju - 06.07.2020 21:21

Got this error, can anyone help? {"cause":null,"message":"Could not resolve repository metadata for topics."}

Ответить
Ayushi Rajpoot
Ayushi Rajpoot - 16.06.2020 00:12

Thank you so much! This is helping me a lot!!!!

Ответить