Java

Spring stereotypes (@Component, @Service, @Repository)

Në shqip: Anotacionet e Spring-ut

ShpjegimiSQ

Spring-u i njeh klasat sipas anotacioneve: @Component (çdo bean), @Service (logjika e biznesit), @Repository (puna me databazën), @RestController (API). Kështu kodi organizohet në shtresa të qarta.

EnglishEN

Spring recognises classes by their annotations: @Component (any bean), @Service (business logic), @Repository (database work), @RestController (APIs). That organises code into clear layers.

Si ta mendosh

Si etiketat në dyert e departamenteve të një kompanie.

Lexoje në anglisht

Like the labels on a company's department doors.

Terma të lidhur