File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes DD replaces Annotations 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 "DD replaces Annotations" Watch "DD replaces Annotations" New topic

DD replaces Annotations

Amit Suresh Pawar
Ranch Hand

Joined: Dec 09, 2008
Posts: 30
how the Deployment Descriptor replaces annotations in EJB.
What actually Happens internally?

And also I want to know that when the DD read by Container ?

Amit S. Pawar
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
I don't know the exact answer, but I believe EJB 3 implements the same way as EJB 2, the difference is EJB 3 processes Annotations first.

Maybe it replaces at deploy time.

SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
I agree. Here's the link:
subject: DD replaces Annotations
It's not a secret anymore!