> From: Sacha Labourey
> But can you confirm that both are possible:
> - create different EntityBean implementation returned to the
> client without him to know which implementation it has
The returned type is specified in the home, and there is no way around this. Now,
you are still returning the implementation of an interface, so you still have some
freedom in the implementation of your ejbCreate() method. Not in your finders,
though (CMP anyway).
> - create inherited remote and EntityBean interfaces (and classes) and,
> possibly, have a finder which returns a mix of inheriting objects confirming
> to the search criterias.
No, you won't be able to do that. This is what was called earlier in this thread
"component inheritance", which is not supported in EJB. Only "class inheritance"
is supported.
> My wish is to have the client to be able to select the BillPaiementProcess
> method at runtime and invoke specific mehtods as needed. (this is only an
> example, it may not be completely adequate).
Why not specify the type of payment process as a parameter to your ejbCreate()
method?
--
Cedric
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".