Hi,

I'm trying to create a generic interface that contains methods and attributes that are common to a number of Entity beans.

I'm using @ejb.interface local-extends=... and the Local interface is being generated OK, but I'm not sure where some of the xdoclet tags should go now (e.g. @ejb.transaction)

I have an existing bean class that I'm adapting - I removed the @ejb.interface-method view-type="local" from the bean class and added the method to my business interface. I left the @ejb.transaction type="Mandatory" on the bean class but the transaction details no longer appear in ejb-jar.xml. I tried putting the tag on my business interface, but this doesn't work either.

I've tried using local-extends="javax.ejb.EJBLocalObject,<interfacename>", and also tried making the interface extend EJBLocalObject, but they both give the same results.

This is a bit similar to this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg02979.html

Any thoughts?

I'm using XDoclet 1.2 beta 3.

-Andrew





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to