File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes difference between annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "difference between annotations" Watch "difference between annotations" New topic
Author

difference between annotations

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
What is the difference between class-level annotations and field/setter annotations? Or, in what case, or what for, I should performed class level annotation (field/setter annotations are clearly explained and understandable)?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Slobodan,

Which specific annotation are you looking at? Not all annotations can be applied at both class level and field/method level.


[My Blog] [JavaRanch Journal]
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi. I was thinking on @EJB annotation particularly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between annotations