I think this would be interesting to discuss and I'm sure there would be
other interested parties.
-Bryan
On Tue, Aug 17, 1999 at 04:04:35PM -0700, Jim Frentress wrote:
> i'm in the process of defining just such an ejb layering scheme. there are
> (roughly) four logical layers, generic (the one you describe), data, logic,
> persistence. we're currently in production on three logical (ejb) layers but
> are refactoring to this layering scheme. assuming everything works
> correctly, i'll make the rose model available to interested parties in
> exchange for comments.
>
> > -----Original Message-----
> > From: Masters.Robert [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 17, 1999 3:40 PM
> > To: [EMAIL PROTECTED]
> > 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".
>
--
[EMAIL PROTECTED]
===========================================================================
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".