Hi Chris,
>> The base bean is really a bean, because it has properties
related to its underlying database entity.
I understand your architecture, although I guess it comes down to what
we mean when we say "bean"....And I think we would have to defer to Sun
for the official definition of that.
I see that various JavaBeans as a software component standard. You may
see you "data-model" classes in that scope too ? I am a little
reluctant to call something bean just because we create getter and
setter method on the instance variables ;-)
I am curious though (and to try to bring this thread back to JSP), do
you find you use this distinct model-view-controlled class demarcation
scheme for all your JSP developments, or is it only worthwhile on
projects over a certain threshold of complexity ?
Regards
Drew Cox
Barrack Consulting
> -----Original Message-----
> From: Christopher Cobb [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, 8 May 1999 3:44
> To: Drew Cox
> Cc: [EMAIL PROTECTED]
> Subject: Re: Pagelets Proposal
>
> Drew Cox wrote:
>
> > ...
> > I firmly believe your "model" classes should not be tied to a
> particular
> > presentation format (JSP, GUI, ??). But remember, this is just a
> class,
> > not a bean. This "model" class can be composited into, or inherited
> > from, in a JSP-aware bean that handles creating a HTML-(XML) based
> view
> > of that model.
>
> I usually ended up having two beans:
>
> * a "pure" bean which had zero knowledge of presentation issues
> (and is often closely bound to a database entity), and
> * a derived bean which had presentation support for a particular
> context.
>
>
> The derived bean uses the properties but adds presentation support.
>
> My point is that what you are calling "just a class, not a bean", I
> find definitely *should* be a bean, but a "pure" bean, not a "JSP
> bean".
>
> cc
> << File: Card for Christopher Cobb >>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".