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"
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
--- 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
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
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
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
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