• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between annotations

 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Slobodan,

Which specific annotation are you looking at? Not all annotations can be applied at both class level and field/method level.
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I was thinking on @EJB annotation particularly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic