Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotations and Deployment Descriptor

 
Saeed Amer
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I understand that EJB 3.0 code annotations can be overridden in the deployment descriptor.

Just ondering if the EJB 3.0 deployment descriptor can override ALL of the annotations in the code or there are any exceptions to this?

TIA
Saeed
 
Ramamoorthy Periasamy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I heard yeah we can override all the annotations with Deployment descriptor
 
Tridib Samanta
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Keep in mind not all annotations are overridable
e.g., Session bean type (Stateful vs. Stateless) can't be overridden
 
Saeed Amer
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you both!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic