ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hadianto <vict...@nuix.com.au>
Subject Re: ejbjar and ejb2.0
Date Wed, 10 Oct 2001 03:56:15 GMT
> Seams to me that ejbjar doesn't understand local interfaces. Can anybody
> confirm this and possibly suggest a workaround.

They sure do (EJB 2.0 that is): 

<session id="TestHarness">

         <ejb-name>TestHarness</ejb-name>

         <home>com.TestHarnessHome</home>
         <remote>com.TestHarness</remote>

         <ejb-class>com.TestHarnessSession</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>

         <ejb-local-ref>
            <ejb-ref-name>ejb/Account</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>com..AccountLocalHome</local-home>
            <local>com.AccountLocal</local>
            <ejb-link>Account</ejb-link>
         </ejb-local-ref>
</session>	

      <session id="Account">
         <ejb-name>Account</ejb-name>

         <local-home>com.AccountLocalHome</local-home>
         <local>com.AccountLocal</local>

         <ejb-class>com.AccountSession</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
      </session>


btw I think you are posting to the wrong mailing list. This is ant-user 
mailing list.

victor

Mime
View raw message