File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring 3 Annotation Reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring 3 Annotation Reference" Watch "Spring 3 Annotation Reference" New topic

Spring 3 Annotation Reference

Mark L Crannage

Joined: Nov 22, 2011
Posts: 3
Hi All,

Iam looking for some reference documentation for the Spring 3 annotations. I looked through the Spring 3 official specification and cannot even find details on basic annotations like @Test.

Does anyone know of any good reference documentation for Spring 3 annotations ?

Mark C
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 607

Try the Dzone ref card for Spring.

Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Mark L Crannage

Joined: Nov 22, 2011
Posts: 3
hi Sam,

I downloaded that card and it too has no reference to the @Test annotation.

I also tried to look in the AspectJ specifications and was not able to find this or a comprehensive list of all annotations.

any ideas ?


Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 607

The one I pasted in earlier was for Spring configuration. There is one for spring annotations too.

Its got a table full of testing annotations + aspectJ.... its not got one that says @Test. I don't recollect a spring specific @Test annotation... Jnuit @Test what is normally used ...
John Grath

Joined: Sep 18, 2007
Posts: 15
I have used annotation as markers for my own pointcuts at method level. I would recommend declaring methods as point cut expressions instead as it is easy to forget to
annotate methods while developing.
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

As was stated @Test is not a Spring annotation so if you were searching the reference guide for just this you will not find it. However a lot of the annotations are documented in the reference guide. In addition to that and the additional resources others have posted Gordon Dickens did a lot of work identifying Annotations for the Spring projects and more (aspectj, hibernate, junit, mockito etc)

You can find it here:

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Spring 3 Annotation Reference
It's not a secret anymore!