aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes DD: Vendor-specific configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "DD: Vendor-specific configuration" Watch "DD: Vendor-specific configuration" New topic
Author

DD: Vendor-specific configuration

Nidhi Sar
Ranch Hand

Joined: Oct 19, 2009
Posts: 252

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?


"A problem well stated is a problem half solved.” - Charles F. Kettering
SCJP 6, OCPJWCD
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

No. Vendor specific settings are usually done in their own xml file. That file is named differently according to each container provider.


[My Blog]
All roads lead to JavaRanch
Nidhi Sar
Ranch Hand

Joined: Oct 19, 2009
Posts: 252

Ok, thanks for that info Christophe.
 
wood burning stoves
 
subject: DD: Vendor-specific configuration