Hi all,

I will have to build an architecture for a database accessor application
which will migrate to EJB at a further stage. I want to use the factory
method to create my accessors and give the client application a general
accessor type to manipulate so that I can hide the creation details of my
accessors and add more accessors easily if required. When move to EJB, my
factory will create Stateless Session Beans as accessors and the existent
client applications won't see the difference.
However the trouble is how to return them as a general type (which is an
abstract class according to the desing pattern)? as an interface? I know
that there are some important issues with component inheritence. Do you
have an idea how I can find a workaround for this?

Thanks for your time,

    Yagiz

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

Reply via email to