File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DD: Vendor-specific configuration

 
Nidhi Sar
Ranch Hand
Posts: 252
Android Eclipse IDE Ubuntu
  • 0
  • 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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, thanks for that info Christophe.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic