Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet DTD 2.3 question

 
Scott Ramsey
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm in the process of studying for the SCWCD exam and have been going through the DTD for the deployment descriptor.
My question: when is it appropriate to put information in a <context-param> versus in a <env-entry>?
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scott - I saw this yesterday and have been mulling it over.
There are certainly going to be performance implications comparing the JNDI calls to the getParameter calls.
There are undoubtedly other technical issues to consider. I just can't think of any right now.
Regards, Guy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic