Leave a Reply

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

Notify of
avatar

Nitin Gupta
Guest
Nitin Gupta
11 days 23 hours ago

Please share the projects also, which you create in your demos . Thanks

nitin kunal
Guest
nitin kunal
2 months 5 days ago

Do bussiness service needs to be singleton ?

Mac New
Guest
Mac New
2 months 23 days ago

Sir please show the code of Topic.java

Sopheak Dy
Guest
Sopheak Dy
2 months 17 days ago

package MyPackage.topics;public class Topics{ private String id; private String name; private String description; public Topics() { } public Topics(String id, String name, String description) { super(); this.id = id; this.name = name; this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }

Ankit Singh
Guest
Ankit Singh
5 months 24 days ago

How can we directly use the getAllTopics method in the service when it's not a static method?

David Carey
Guest
David Carey
2 months 7 days ago

Thank you…

Gnaneshwar Rao
Guest
Gnaneshwar Rao
2 months 7 days ago

If you are directly jumping into using Spring Boot without the experience of using an MVC framework, then this may seem little complicated to understand whats going on. If you are a newbie, I suggest you to know the concepts of MVC, ORM, POJO and java annotations. Not to mention, some basics of Apache Maven.

David Carey
Guest
David Carey
4 months 8 days ago

Sir can you tell best way to learn spring boot any other channel than this one.

saketh manupati
Guest
saketh manupati
4 months 25 days ago

that is the reason why he used the object instead of class itself. topicService.getAllTopics() instead of TopicService.getAllTopics(). And if you see that the instance for topicService is created with an annotation @Autowired which is what creates instance equivalent to TopicService topicService = new TopicService(); Hope it helps

wpDiscuz