I suspect that I am stuck due to a problem in the EJB spec rather than in my
IDE. However, if anyone can verify this I would appreciate the guidance.

I have a number of CMP Entity Beans. There are a few methods I would like to
share among all of them.

This is a natural case for having a superclass of my EJB Bean classes which
holds the shared methods. The problem is, I cannot add inherited EJB Bean
class methods to the EJB Remote Interface (my IDE, VisualAge for Java 3.02,
simply ignores this request, even when the inherited methods are visible).

This is not a problem of persistence, since I am not interested (currently)
in inheriting field values. What I want is inheritance of methods.

My workaround has been to manually add the same methods to all beans
(cutting and pasting source code), which puts me in the frustrating position
of violating the conveniences and intelligent design of Object Oriented
programming. The workaround is also amazingly, frustratingly slow.

Charles May, Software Engineer
AFCO Credit Corp. - Pittsburgh Systems Group
A Mellon Financial Company

(The views represented in this message are my own, and do not necessarily
represent the views of my employer).

*****************************************************************
DISCLAIMER:   The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee.  Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized.  If you are not the intended recipient please
notify us immediately by return e-mail to the originator.

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