Spring , @Resource, @PostConstruct and @PreDestroy

Spring supports JSR-250 which provides @Resource, @PostConstruct and @PreDestroy annotations. @Resource The @Resource annotation is used in the bean class and is attached to the setter methods of the properties.  It is used to inject a specific bean resource. - will look for a bean with the same name as the property XXX - will... Continue Reading →

Up ↑

%d bloggers like this: