William, my understanding of Mixin classes(GoF) is that they require
Multiple Inheritance, I can only assume that you use Java Interfaces to
define the Mixin? Or do you construct a Mixin using some form of
compositional pattern?
Regards
Rob Masters
Sun Certified Java Programmer
Sun Certified Java Developer
Comcare Australia
(w) 02 6275 0632
(f) 02 657 4045
[EMAIL PROTECTED]
http://www.comcare.gov.au
> -----Original Message-----
> From: William W. Lee [SMTP:[EMAIL PROTECTED]]
> Sent: August 18, 1999 10:59
> To: [EMAIL PROTECTED]
> Subject: Re: Inheritance and EJB
>
> We make heavy use of inheritance. In particular, the technical
> difficulties
> are in the area of making sure the component models map nicely to
> relational
> DB. It's okay to use super classes. Also separating the persistence
> layer
> using mixins pattern definitely helps.
>
> -------------------------------------
> William Lee, Chief Technology Officer 1.617.457.5707 x16 (Voice)
> The Theory Center 1.617.262.0703 (Fax)
> One Winthrop Square [EMAIL PROTECTED]
> Boston, MA 02110 http://www.theorycenter.com
> -------------------------------------
>
> At 10:05 AM 8/18/99 +1000, you wrote:
> >Excellent, the lack of component inheritance certainly makes life
> >"interesting" when combining Domain Object model with Component models.
> >
> >regards
> >
> >Rob Masters
> >Sun Certified Java Programmer
> >Sun Certified Java Developer
> >
> >Comcare Australia
> >(w) 02 6275 0632
> >(f) 02 657 4045
> >[EMAIL PROTECTED]
> >http://www.comcare.gov.au
> >
> >> -----Original Message-----
> >> From: Vlada Matena [SMTP:[EMAIL PROTECTED]]
> >> Sent: August 18, 1999 8:58
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: Inheritance and EJB
> >>
> >> Ou can use Java class inheritence when implementing your enterprise
> beans
> >> and push
> >> the common functionality into the superclass.
> >>
> >> What EJB currently does not have is the concept of "component
> >> inheritence". We are
> >> looking into it as part of EJB 2.0.
> >>
> >> Vlada
> >>
> >> ----- Original Message -----
> >> From: Masters.Robert <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, August 17, 1999 3:39 PM
> >> Subject: Inheritance and EJB
> >>
> >>
> >> > Greetings all. I have a number of EJB's that are going to require
> access
> >> to
> >> > some standard information. Ie for the userIdentiry get the User EJB
> >> (useful
> >> > in some cases), get the system date etc. Pretty much generic
> information
> >> > that is going to be used across a wide variety of beans. Currently
> these
> >> > general "utility like" methods are done in a stateless session bean
> (as
> >> some
> >> > db access is required etc). I have been thinking on creating a EJB
> >> > superclass that implements my generic methods. However the spec
> states
> >> EJB
> >> > not to support inheritance. As the methods I will be creating are
> >> generic,
> >> > they should have no bearing on ejbCreate etc so is it good practice
> to
> >> use
> >> > inheritance to solve this issue? and/or are there any other patterns
> to
> >> > effecting such approaches as shared behaviour amongst ejb's?
> >> >
> >> >
> >> > Regards
> >> >
> >> > Rob Masters
> >> > Sun Certified Java Programmer
> >> > Sun Certified Java Developer
> >> >
> >> > Comcare Australia
> >> > (w) 02 6275 0632
> >> > (f) 02 657 4045
> >> > [EMAIL PROTECTED]
> >> > http://www.comcare.gov.au
> >> >
> >> >
> >>
> ==========================================================================
>
> >> =
> >> > 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".
> >> >
> >> >
> >>
> >>
> ==========================================================================
>
> >> =
> >> 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".
> >
> >=========================================================================
> ==
> >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".
> >
> >
> ==========================================================================
> = 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".
===========================================================================
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".