tag:blogger.com,1999:blog-8712770457197348465.post4917660361739731144..comments2024-03-29T00:43:22.798-07:00Comments on Javarevisited: Difference between @Component, @Service, @Controller, and @Repository in Springjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8712770457197348465.post-88532663548820470182021-09-11T05:04:09.423-07:002021-09-11T05:04:09.423-07:00@Bean is a method annotation. You define it on a m...@Bean is a method annotation. You define it on a method in a configuration class, which is annotated with @ConfigurationAnonymoushttps://www.blogger.com/profile/04439504760058712258noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-3556353944244838782020-11-08T02:47:11.049-08:002020-11-08T02:47:11.049-08:00Answers about annotation types is very poor, all I...Answers about annotation types is very poor, all I can get from what you wrote is that annotations are different. Nothing more, no examples, co concrete information.pg7812https://www.blogger.com/profile/03527364722210497164noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-18938292860365135432020-09-07T13:43:56.001-07:002020-09-07T13:43:56.001-07:00DispatcherSerlvlet doesn't look for @Controlle...DispatcherSerlvlet doesn't look for @Controller. Any bean that has @RequestMapping is handled as a request handler. There is even an issue about it: https://github.com/spring-projects/spring-framework/issues/22154remalhttps://www.blogger.com/profile/15654162004928361328noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-1094123782828092292020-06-15T08:11:54.673-07:002020-06-15T08:11:54.673-07:00One example is when you want to use or create obje...One example is when you want to use or create objects of 3rd paty libraries.ENZO RIOhttps://www.blogger.com/profile/05579261961640310444noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-44078581256095119012020-02-11T02:35:45.064-08:002020-02-11T02:35:45.064-08:00When do we use @Bean?When do we use @Bean?erprtkjnhttps://www.blogger.com/profile/10283975520298685123noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-78600317412262598012019-05-06T21:18:15.616-07:002019-05-06T21:18:15.616-07:00ExcellentExcellentAnonymoushttps://www.blogger.com/profile/05817275136368709685noreply@blogger.com