This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet DTD 2.3 question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet DTD 2.3 question" Watch "Servlet DTD 2.3 question" New topic

Servlet DTD 2.3 question

Scott Ramsey

Joined: Jun 28, 2001
Posts: 16
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>?

Scott<br />-----------------<br />SCJP, SCJD, SCWCD<br />XML, UML, WLS6.0
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Servlet DTD 2.3 question