• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class level annotation vs type-level annotation

 
Himai Minh
Ranch Hand
Posts: 1360
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between class-level annotation and type-level annotation?
I think they are the same.
But in EPractice Lab's mock 3:
Type level , method level and field level annotations can all be overridden by the deployment descriptor. Class-level annotations like @Stateless... cannot be overridden.


I think type-level and class-level annotations mean the same thing. Some of them can be overridden by the deployment descriptor, but some cannot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic