aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Annotations and Deployment Descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Annotations and Deployment Descriptor" Watch "Annotations and Deployment Descriptor" New topic
Author

Annotations and Deployment Descriptor

Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 140
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

Joined: Feb 06, 2006
Posts: 30
As far as I heard yeah we can override all the annotations with Deployment descriptor
Tridib Samanta
Ranch Hand

Joined: Apr 28, 2004
Posts: 128
Keep in mind not all annotations are overridable
e.g., Session bean type (Stateful vs. Stateless) can't be overridden


Thanks, Tridib
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
Saeed Amer
Ranch Hand

Joined: Jan 20, 2004
Posts: 140
Thank you both!
 
Consider Paul's rocket mass heater.
 
subject: Annotations and Deployment Descriptor