This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DD: Vendor-specific configuration

 
Nidhi Sar
Ranch Hand
Posts: 252
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is from HFSJ Ch 11 mock test

What is the purpose of the deployment descriptor(DD)? (Choose all theat apply)

Choices:
A) To allow code-generation tools to dynamically create servlets from an XML file.
B) To convey the web-application configuration information from developers to application assemblers and deployers.
C) To configure vendor-specific aspects of the application.
D) TO configure only database and Enterprise JavaBean access from the web application.


The correct answer given is B, which is fine. But I was wondering about the option C. Wouldn't that be correct too?

Isn't one of the advantages of using DD, that the vendor-specific configuration can be done in it?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Vendor specific settings are usually done in their own xml file. That file is named differently according to each container provider.
 
Nidhi Sar
Ranch Hand
Posts: 252
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, thanks for that info Christophe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic