Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A Good Spring 3.1's annotation tutorial [closed]

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...

like image 541
Amit Avatar asked May 23 '26 19:05

Amit


1 Answers

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.

JPA 2.0 with EclipseLink - Tutorial

like image 119
stacker Avatar answered May 27 '26 03:05

stacker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!