Hi,

Thanks for all the other replies....(at least I know now that I'm not going
mad and I don't need to keep staring at my code for non-existant errors.)

New question...

In a Session Bean I have the following:
    /**
     * Retrieves next value in specified sequence
     *
     * @param name name of sequence
     * @return     next number from sequence
     *
     * @ejb:interface-method view-type="local"
     *
     * @ejb:transaction
     *     type="RequiresNew"
     *
     */
    public Integer getNextNumberInSequence(String name) {

and in ejb-jar.xml it creates:
   <container-transaction>
      <method>
         <ejb-name>SequenceGenerator</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>getNextNumberInSequence</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>RequiresNew</trans-attribute>
   </container-transaction>

shouldn't the method-intf tag be created as:
         <method-intf>Local</method-intf>

or have I misunderstood?

Thanks

Chris
-=-=-=

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to