Byung Joo Jeongjoo.hashnode.dev·Apr 22, 2024#Role of Annotations _ I've never considered 'Why' when using @Controller, @Service, @Repository ….#While Enrolling Spring Bean, How Does Annotation Work #Foreword I've been using this annotation on each class, but I've never considered "Why". So, I want to know How Does Annotation Works. Before we begin, we should define class, object, fields, me...Discuss@Controller, @Service, @Repository
Ian Carsoniancarson.hashnode.dev·Jan 8, 2024How Spring uses Annotations.In Spring, annotations are used to mark classes, methods, and fields with metadata that Spring's container can process, reducing the need for extensive xml configuration. Annotations in spring, work technically through a combination of reflection and...DiscussSpring lifecyc
Kishore Rameshkishoreramesh.hashnode.dev·Jan 1, 2023Exploring Java Bean vs POJOAs we know that in Java POJO refers to the Plain old Java object.POJO and Bean class in Java shares some common features which are as follows − Both classes must be public, Which is accessible to all. Properties or variables defined in both classes...Discuss·40 readspojo
Prabu Subraprabusubra.hashnode.dev·Nov 29, 2022Spring Beans LifecycleSpring IoC container create the beans and perform few post process activities based on the configurations like implementing Aware interfaces and annotations. In a nutshell, Spring IoC Container first check for dependency then calls its constructor. ...Discuss·1 like·174 readsspringbean