Techiio-author
Started by Chris GillNov 5, 2021

Open
What's the difference between @Component, @Repository & @Service annotations in Spring?

1 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWES SHARE

Can @thing, @repository, and @carrier annotations be used interchangeably in spring or do they provide any particular capability except performing as a notation device?

In other words, if I have got a service class and that I trade the annotation from @carrier to @aspect, will it nonetheless behave the identical way?

Or does the annotation additionally impact the conduct and functionality of the elegance?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance