Is this such a problem though? EJB is designed to implement a "server side
component architecture" placing business logic in the client is reminiscent
of a two-tier environment. Most EJB implementations would be used on a 3 or
N-Tier environment. If you are looking at two-tier then it is likely that
you don't need EJB.
Anyhow, I think we are digressing from the major point here and that is the
use of Inheritance (a vital tool in the OO arsenal) within the EJB context.
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: Wei Jiang [SMTP:[EMAIL PROTECTED]]
> Sent: August 20, 1999 23:42
> To: [EMAIL PROTECTED]
> Subject: Re: Inheritance and EJB
>
> --- "Masters.Robert" <[EMAIL PROTECTED]>
> wrote:
> >
> > You mention that you use an Object Database and that
> > it does not allow you
> > to distinguish between your data and GUI? I try to
> > shy away from the term
> > "data" as data does an injustice to what Objects
> > are, however I'm at a loss
> > as to why an OO database would cause you to
> > implement tight coupling with
> > the GUI. To me this sounds like a design issue??
> >
>
> PSE-pro annotates every persistence-capable and
> persistence-aware classes. If your GUI uses any
> shuch class, it has to be annotated. You have to
> import it class in your source code.
>
> I do not know if it is a design issue of the product
> or a design issue of Object Database. For my
> understanding, OD is a image of the memory of your
> java program, so your GUI variable (object) has to
> map to your hard disk.
>
> I want my gui independent from database, so I can
> use both Rdb and Odb. So I created two objects for
> each business entity: one for database, one for
> memory. I have to trasfer data between them.
> Now, I am working on EJB and find that
> I can uses interface instead of real object to gain
> independency. The price I pay is: I do not have
> business object on client side (only have an
> interface). The business entity lives and can only
> live inside of a container.
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> ==========================================================================
> =
> 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".