Do you want the Remote/Local interfaces to extend your common interface? I think that's what you're asking about.
http://www.xdoclet.org/tags/[EMAIL PROTECTED](0..1) Ex: @ejb.interface extends="unusual.dbapp.ejb.CommonRemoteInterface" local-extends="unusual.dbapp.ejb.CommonLocalInterface" Is this what you were after? David Harkness Sony Pictures Digital Networks (310) 482-4756 -----Original Message----- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:44 PM To: xdoclet-users Subject: [Xdoclet-user] How to specify inheriting interfaces Hi, we are developing an unusual applicatoin, basically centered on session beans which manage database (not entity beans, because the data to be retrieved are dynamic). To make our application multi-database compliant, and following a pattern, we defined basically one Session bean for each used database (MySQL, Oracle, SQLServer, Postgresql and other could be added). The application then choose the right session bean depending on user selections and this is possible thanks to a common interface which all the database-specific interfaces inherit from. This way a client will have simply to get a reference to the super-interface (as the methods are common for every session bean) and polymorphism will be guaranteed. So far so good. So far we developed the session beans manually but now I would like to migrate to XDoclet, even because we are planning to develop other beans, and XDoclet will be of great help. As you will probably guess, our problem is how we could define via XDoclet that each database-specific interface will inherit from the common one (now is possible because all the interface was declared manually). Any help will be appreciated. Marco ------------------------------------------------------- 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 ------------------------------------------------------- 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
