I want to learn the Spring 3.1's annotations. For that I have read several blog posts of Spring Source Blog, now I have the basic idea of all the new Spring features i.e @Cacheable, @Profile, no Web.xml approach etc.
Now I want to develop a small sample application using these annotations but the problem is I am not able to configure my project properly, Since this is my first project using "least or no XML please!!" approach, I have missed something while configuring. I am using Hibernate 3.6.8 along with Spring 3.1 inside NetBeans 7.1 (maven 3.0.3).
I am trying to find out a good tutorial for Java (annotation) Based configuration of Spring & hibernate, most of the answers at SO are somewhat outdated. So had to post this question please excuse me if you find it a duplicate one!!!
Please suggest a good tutorial for Spring annotations based configuration or suggest me what might have been wrong in my project...
You should download the Spring Reference Manual where everything is well explained.
28.3 @Caceable annotation
@Profile is currently linked to Spring Source Team Blog
Instead of Hibernate annotations you should use the JPA annotations where possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With