RE: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Harkness, David
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"

RE: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread James Hicks
I would not use a session bean for each db. I would instead use a single stateless session bean that implements your interface. The ejbCreate method of your session bean could accept a parameter that determines which db to use. The actual db implementation could be a POJO. James Hicks -Ori

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Konstantin Priblouda
--- Marco Tedone <[EMAIL PROTECTED]> wrote: > 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 patt

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-14 Thread Marco Tedone
Marco - Original Message - From: "James Hicks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 11:26 PM Subject: RE: [Xdoclet-user] How to specify inheriting interfaces > I would not use a session bean for each db. I would instead use a > s

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-10 Thread Marco Tedone
ion file. Cheerse, Marco - Original Message - From: "Eduardo H. Ramirez R." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 11:16 PM Subject: Re: [Xdoclet-user] How to specify inheriting interfaces I know this is not the answer to you

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-08 Thread Marco Tedone
ssage - From: "Konstantin Priblouda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 9:36 AM Subject: Re: [Xdoclet-user] How to specify inheriting interfaces > > --- Marco Tedone <[EMAIL PROTECTED]> wrote: > > Hi, we are dev

Re: [Xdoclet-user] How to specify inheriting interfaces

2003-08-06 Thread Eduardo H. Ramirez R.
I know this is not the answer to your question but It might be useful to evaluate an alternate approach that consists in not writing a SessionBean for each database, instead I propose you to write a sigle SessionBean which uses "Adapters" for each DBMS, of course, this assumes (but not requires) th