difference between @COntroller @Service

Pragya Keshap answered on March 1, 2023 Popularity 6/10 Helpfulness 1/10

Contents


More Related Answers

  • What is difference between Controller and RestController?
  • How do you create a controller in Spring? @Controller vs. @RestController?
  • Difference between @Component, @Service, @Controller, and @Repository annotations in Spring MVC?
  • How do you create a controller in Spring? @Controller vs. @RestController?

  • difference between @COntroller @Service

    0

    @Component - Generic Component

    @Repository - encapsulating storage, retrieval, and

    search behavior typically from a relational database

    @Service - Business Service Facade

    @Controller - Controller in MVC pattern 

    Popularity 6/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 01 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.