What is the use of env-entry tag in deployment descriptor. Can i have an example
Joined: Sep 09, 2002
with env-entry tag, the bean providers don't need to hard code some value in their bean code. for example if they want to get the tax rate of current year, they can creat a env-entry in the DD and in the bean code, they just do a jndi lookup to get the value.
SCJP, SCWCD, SCBCD, SCDJWS, OCA9i,<br />IBM Certified WAS5.0 Admin<br />IBM Certified Solution Developer - WebSphere Studio 5.0<br />IBM Certified Solution Developer - XML and related Technologies
Joined: Jan 09, 2003
Thanks for the reply. Could you pl elaborate more, or give a code example on this.
Ryan P. Kane
Joined: Jun 18, 2004
Here's an example from an assignment I had to do for class last week. I used the env-entry to provide JDBC info, so I didn't have to hard code it.