posted 14 years ago
I was going through a DD there were few elements, which I don�t know, please explain their purpose.
1.<realm-name> under <login-config> like this
<login-config>
<auth-method> BASIC</auth-method>
<realm-name> LDAP REALM </reaml-name>
</login-config>
2.there are few related with EJB/JNDI configuration but I don�t know their purpose
<env-entry>
<env-entry-name></env-entry-name>
<env-entry-type></env-entry-type>
<env-entry-value></env-entry-value>
<env-entry>
<resource-env-ref>
<recource-env-ref-name>jms/stockQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
<resource-ref>
<res-ref-name>jdbc/EmpDB</res-ref-name>
<res-type>javax.sql.Datasource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</rersource-ref>
3.this one in TLD <variable> and <dynamic-attributes> under <tag> element:
<tag>
<name>custom</name>
<tag-class>com.example.TagHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>age></name>
<required>true</required>
<type>java.lang.String</type>
<rtexprvalue>true</rtexprvalue>
</attribute>
<variable>
<name-from-attribute>var</name-from-attribute>
<scope>AT_BEGIN</scope>
<variable>
<dynamic-attributes>true<dynamic-attributes>
</tag>