Billy Byberg wrote:
> 
> Hi again!
> 
> I want to look at them as two separate beans, only with the same interfaces.
> They are both declared and have different names, the only thing they have in
> common is the remote and home interfaces. I really would like to be able to
> access them both. But when I do the references only one of them works. An
> example of how it can look:

Okidok, you have yourself a new problem here. There is a one to one
mapping between the home interface, the remote interface and the bean
implementation. EJB 1.1 (or 2.0 AFAIK for that reason) does not allow
you to have several implementations answering to one set of interfaces.
You could possibly solve it halfway by declaring a common super
interface which the two remote ones extend, but you will still need two
set of interfaces.

/Marcus 

-- 
Marcus Ahnve                          email: [EMAIL PROTECTED]
Lecando AB                           Office: +46-(0)8-634 94 18
Sweden                               Mobile: +46-(0)70-462 19 18
www.lecando.com                        ICQ#: 4564879

Reply via email to