• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help me understand few DD and TLD elements like realm-name ...

 
ushma agarwal
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Sandeep Bhandari
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why not try the specs or HFSJ book
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Google search will probably yield some results as well...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic