which defines a valid JNDI environment entry?

Within the web application deployment descriptor, which defines a valid JNDI environment entry?

Within the web application deployment descriptor, which defines a valid JNDI environment entry?

A.
<env-entry>
<env-entry-type>java.lang.Boolean</env-entry-type>
<env-entry-value>true</env-entry-value>
</env-entry>

B.
<env-entry>
<env-entry-name>param/MyExampleString</env-entry-name>
<env-entry-value>This is an Example</env-entry-value>
</env-entry>

C.
<env-entry>
<env-entry-name>param/MyExampleString</env-entry-name>
<env-entry-type>int</env-entry-type>
<env-entry-value>10</env-entry-value>
</env-entry>

D.
<env-entry>
<env-entry-name>param/MyExampleString</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>This is an Example</env-entry-value>
</env-entry>

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *