3 questions

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top