🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12657

Re: Why aren't the Models of MVC JavaBeans?

#12657
From: Geoffrey L. Goetz
Date: Tue, 17 Nov 1998 00:00
47 lines
3104 bytes
"Ross M. Dukeshier" wrote:
> Just an aside - if I remember correctly, one of the requirements to
> being a java bean was that the class implement a parameterless
> constructor.  You referenced DefaultTreeModel - it doesn't have one...
> 
> Didn't check if that was true of all the models, but I figured it may
> explain at least one...
> 

As I feared, my original questions and attempts to discuss have been
misinterpreted.  I was not trying to ask "why doesn't the square peg fit
into the round hole" rather I was trying to discuss the reasons "why the
square peg wasn't a round peg to begin with?".  I will shoulder the
blame of the misinterpretation.

Should the models behind the visual components be developed and extended
separately as JavaBeans and if so, would easier access to these models
be of benefit to developers?  Is keeping the model separate from the
visual component in the IDE a good or bad thing?  Are people defining
custom models similar in responsibility to DataExpress's DataSet
Objects?  I feel that the visual components themselves have been and
will continue to be unnecessarily overburdened to also include an
interface into the model's attributes and events.  Should the details
MVC in swing survive and propagate into the day to day development, or
is it just a good idea that is best kept under the hood so to speak?

IMHO, developing a rich set of models that can easily be added to an
application that are not tied to a database would be of considerable
value.


-- 
                           \\|//
                         | (o o) |
  =-=-=-=-=-=-=-=-=-=-=-=-=-(_)-=-=-=-=-=-=-=-=-=-=-=-=-=
 _|__         ______                                  __|_
(____)       / _____)  ___   ______  _____  _____    (____)
(____)      / /  ___ / ___) / __  / / ____)/ ____)   (____)
(____)     / /___/ // ___) / /_/ / / ___) / ___)     (____)
(__)      /_______//_____)/_____/ /_/    /_/           (__)
  |                                                     |
  |        http://home.columbus.rr.com/ggeoffre         |
  |                                                     |
  |                    .oo0O   O0oo.                    |
  |                    (   )   (   )                    |
  =-=-=-=-=-=-=-=-=-=-=-\ (-=-=-) /-=-=-=-=-=-=-=-=-=-=-=
                         \_)   (_/
Technical Details
Message-ID: <36524A36.10926968@bottom.of.note.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36379743.6F33EE95@bottom.of.note.com> <36385315.31915707@forums.borland.com> <3638E040.CAD69A4A@bottom.of.note.com> <363adb7f.10544254@forums.borland.com> <364D2769.58A6@flash.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1f864db81a13c8b0
X-Google-Attributes: gid111d45,public
From: "Geoffrey L. Goetz" <please.read.sig@bottom.of.note.com>
Subject: Re: Why aren't the Models of MVC JavaBeans?
Date: 1998/11/17
Message-ID: <36524A36.10926968@bottom.of.note.com>
X-Deja-AN: 413021813
Content-Transfer-Encoding: 7bit
References: <36379743.6F33EE95@bottom.of.note.com> <36385315.31915707@forums.borland.com> <3638E040.CAD69A4A@bottom.of.note.com> <363adb7f.10544254@forums.borland.com> <364D2769.58A6@flash.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing