---
title: "Discussion on \"Difference between @RestController and @ Controller:\" | Hashnode"
description: "Discussion on \"Difference between @RestController and @ Controller:\". There are some differences between Controller and RestController Annotations.\n\nRestcontroller:\nRestconteroller is used for the restful web service with the help of the @Restcontroller Annotation. This annotation is used at the class level and allows ..."
url: "https://hashnode.com/posts/difference-between-restcontroller-and-controller/654c9d4a9a1cfc8e75a1650f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Difference between @RestController and @ Controller:](https://destop.hashnode.dev/difference-between-restcontroller-and-controller?utm_source=hashnode&utm_medium=feed)

There are some differences between Controller and RestController Annotations. Restcontroller: Restconteroller is used for the restful web service with the help of the @Restcontroller Annotation. This annotation is used at the class level and allows ...

Nov 9, 2023 · 2 min read · destop.hashnode.dev  
Read the article

## Written by

[Nagendra Gt](https://hashnode.com/@nagendra437)

@nagendra437 · Bangalore

  
[View profile](https://hashnode.com/@nagendra437)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
