G
gk
Here is a small excerpt from ejb-jar.xml file:
..................
..................
..................
..................
<!-- Relationships -->
<!-- Assembly Descriptor -->
<assembly-descriptor >
<method-permission >
<description>Session Bean</description>
<unchecked/>
<method >
<description>Session Bean</description>
<ejb-name>ShoppingCart</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
Question 1:
is this small xml part mandatory for all the ejb-jar.xml i make ? or
this part is optional ?
Question 2:
what does it mean <unchecked/> ? what is <unchecked/>?
Question 3:
<ejb-name>ShoppingCart</ejb-name>
<method-name>*</method-name>
</method>
does it mean , client can access ANY METHOD of this bean ? ther is no
restrcition at all ?
..................
..................
..................
..................
<!-- Relationships -->
<!-- Assembly Descriptor -->
<assembly-descriptor >
<method-permission >
<description>Session Bean</description>
<unchecked/>
<method >
<description>Session Bean</description>
<ejb-name>ShoppingCart</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
Question 1:
is this small xml part mandatory for all the ejb-jar.xml i make ? or
this part is optional ?
Question 2:
what does it mean <unchecked/> ? what is <unchecked/>?
Question 3:
<ejb-name>ShoppingCart</ejb-name>
<method-name>*</method-name>
</method>
does it mean , client can access ANY METHOD of this bean ? ther is no
restrcition at all ?