• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

class level annotation vs type-level annotation

 
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic