Leave a Reply

36 Comments on "Spring Boot Quick Start 17 – Creating a business service"

Notify of
avatar

sharad pratap
Guest
sharad pratap
1 month 2 hours ago

Awesome person! Awesome knowledge! Awesome technique to explain! really appreciated!

Mohit Bhagat
Guest
Mohit Bhagat
1 month 6 days ago

Are these instances obtained from Pool or are these singleton ?

Tamoghna Ghosh
Guest
Tamoghna Ghosh
1 month 10 days ago

Its very basic can u please add videos for swagger, performance improvement also

Igor Chistruga
Guest
Igor Chistruga
3 months 6 days ago

Instead of Spring's Autowired you can use Java's Inject – effect would be the same

Igor Chistruga
Guest
Igor Chistruga
3 months 6 days ago

Instead of Spring's Autowired you can use Java's Inject – effect would be the same

Neeti Jain
Guest
Neeti Jain
4 months 3 days ago

Sir what is exactly use of service as when we were using controller same output was generated ie. list of topics

Neeti Jain
Guest
Neeti Jain
4 months 3 days ago

Sir what is exactly use of service as when we were using controller same output was generated ie. list of topics

Bhavya Shah
Guest
Bhavya Shah
1 month 6 days ago

Service is created so that all your Business logic can be put inside that. It's a systematic manner and it is generally preferred.

Павел Туз
Guest
Павел Туз
4 months 16 days ago

It works, but How does the Spring inject TopicService? It has a private modifier and there is NO any setters and constructors!

Ghanshyam Patel
Guest
Ghanshyam Patel
1 month 25 days ago

Павел Туз I was wondering the same thing I found on stack overflow that it uses reflecting to wire it up. stackoverflow.com/questions/28694204/how-does-autowired-annotation-works-for-a-private-field

Павел Туз
Guest
Павел Туз
4 months 16 days ago

It works, but How does the Spring inject TopicService? It has a private modifier and there is NO any setters and constructors!

Bhavya Shah
Guest
Bhavya Shah
1 month 6 days ago

@Autowired annotation will do that for you.

Ghanshyam Patel
Guest
Ghanshyam Patel
1 month 25 days ago

Павел Туз I was wondering the same thing I found on stack overflow that it uses reflecting to wire it up. stackoverflow.com/questions/28694204/how-does-autowired-annotation-works-for-a-private-field

Gautam Kumar
Guest
Gautam Kumar
4 months 30 days ago

i am getting this error :(Description:Field topicService in io.javabrains.springBootStarter.topics.ToppicController required a bean of type 'io.javabrains.springBootStarter.topics.TopicService' that could not be found.Action:Consider defining a bean of type 'io.javabrains.springBootStarter.topics.TopicService' in your configuration.

1 2 3
wpDiscuz