• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clarification of a topic in http://java.boot.by/scea5-guide/ch01s03.html

 
Prasanna Lakshmi Tallapaka
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Helo,

I was going thru the second chapter of scea 5 guide by MZ and got stuck at a point which says that a JEE Application can have a DD as optional one. Could any one be so kind to help me knowing how this is optional and where do we then mention about the description of the functional components.

Thanks a lot for letting me know.

Regards.
 
Prasanna Puttappa
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DD is optional because of Annotations. Using annotations you can specify things like Transaction type, Resource/JNDI mapping, etc in your code and so no need to bother about specifying it in DD. In case it is required to override during deployment/production you can always do it in DD.
 
Lalit Bhatt
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also DD overrides the annotations. That means the final say is what is in DD. If DD is not there than annotations are taken into effect.
 
Prasanna Lakshmi Tallapaka
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prasanna Puttappa,

Thanks a lot for your prompt response.

Helo all,

Could any one be so kind to help me knowing if there is any questionaire that helps us understanding the concepts, mentioned in this link or for the topics in syllabus for this certification, that helps us applying them for the scenario mentioned. Proboly topic wise. Thanks a lot in advance.

Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic