---
title: "Discussion on \"Making the Right Choice: RestController or Controller ?\" | Hashnode"
description: "Discussion on \"Making the Right Choice: RestController or Controller ?\". In the world of Spring Framework, understanding when to use @RestController and @Controller annotations is crucial for developing web applications effectively. Both annotations play a significant role in the creation of web services, yet they serve d..."
url: "https://hashnode.com/posts/making-the-right-choice-restcontroller-or-controller/65e62a96aa23bb1f685c0200"
---

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

Discussion

# [Making the Right Choice: RestController or Controller ?](https://thanooj.dev/making-the-right-choice-restcontroller-or-controller?utm_source=hashnode&utm_medium=feed)

In the world of Spring Framework, understanding when to use @RestController and @Controller annotations is crucial for developing web applications effectively. Both annotations play a significant role in the creation of web services, yet they serve d...

Mar 1, 2024 · 3 min read · thanooj.dev  
Read the article

-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#controller](https://hashnode.com/tag/controller)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#difference](https://hashnode.com/tag/difference)
-   [#annotation](https://hashnode.com/tag/annotation)
-   [#spring](https://hashnode.com/tag/spring)

## Written by

[Venkata Thanooj](https://hashnode.com/@Thanooj)

@Thanooj

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

Developer

## Responses

Comments are turned off for this post.
