1 Reply Latest reply on Jul 12, 2007 2:44 PM by Anil Saldanha

    How declare user type inside ejb-jar.xml !!!!

    LeQuoc Thai Novice

      Hi all!
      I use jboss-4.0.5.GA, EJB 3.0. I have a problem with declare permissions in ejb-jar.xml file:
      I have a BeanA, and it has method

      public void print(myObject tmp);

      So, inside my ejb-jar.xml, how I declare print method ?
      <method-permission id="NewLabTestOrder">
       <role-name>Physician</role-name>
       <method>
       <ejb-name>BeanA</ejb-name>
       <method-name>print</method-name>
       <method-params>
       <method-param> ???</method-param>
       </method-params>
       </method>
       </method-permission>


      Please guide to me !