if method permission specifies both uncheck and security role, which will take precedence?
e.g.
<method-permission>
<role-name>myRole</role-name>
<method>
<ejb-name>myEjb</ejb-name>
<method-name>myMethod</method-name>
</method>
</method-permission>
<method-permission>
<unchecked/>
<method>
<ejb-name>myEjb</ejb-name>
<method-name>myMethod</method-name>
</method>
</method-permission>
According to p593 q2, this statement is false: "when a method permission relation specifies both <unchecked> and a security role, the container will use the security role", then what is correct behaviour? I looked through the
EJB spec but can not find the answer there. Does anyone know?