Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26390

Re: Java EE Architecture

NNTP-Posting-Date Sun, 20 Oct 2013 03:05:54 -0500
Date Sun, 20 Oct 2013 09:05:52 +0100
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Java EE Architecture
References <69e1528a-aa62-41ce-88e5-1540f437e89e@googlegroups.com> <qMCdnd-cQ4RiAcvPnZ2dnUVZ7tudnZ2d@bt.com> <l3ljnp$i9c$1@shakotay.alphanet.ch> <Qsydne-OrL7R8sPPnZ2dnUVZ7sidnZ2d@bt.com> <44SdnR1nzv406sPPnZ2dnUVZ_q2dnZ2d@westnet.com.au> <YPGdnVXVhNabFMPPnZ2dnUVZ7tKdnZ2d@bt.com> <525f31cc$0$297$14726298@news.sunsite.dk> <r7udnfKuf9XNBcLPnZ2dnUVZ7s-dnZ2d@bt.com> <5260884b$0$306$14726298@news.sunsite.dk> <_6OdnVfeIrgxdv3PnZ2dnUVZ8rSdnZ2d@bt.com> <5263433e$0$305$14726298@news.sunsite.dk>
In-Reply-To <5263433e$0$305$14726298@news.sunsite.dk>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <v8GdnW3p-cN_E_7PnZ2dnUVZ7sGdnZ2d@bt.com> (permalink)
Lines 88
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-uy7jPz5LHbLQhbEkzTV9Y1HQwp/I5/SsBiGRBi3dtysRvPr6Qj3YSwuD+Hur5d3kmkdzomxFuR+hWuR!Bwlg47UVOei99/ZjAGOoXeph93dJnc+umOXxvvlTMMBfz7KZNhtRFEWK+n0vbXNYZxoQfYcH0HVL
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 3959
Path csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
Xref csiph.com comp.lang.java.programmer:26390

Show key headers only | View raw


On 20/10/13 03:43, Arne Vajhøj wrote:
> On 10/18/2013 4:04 AM, lipska the kat wrote:
>> On 18/10/13 02:00, Arne Vajhøj wrote:
>>> On 10/17/2013 3:57 AM, lipska the kat wrote:
>>>> On 17/10/13 01:39, Arne Vajhøj wrote:
>>>>> On 10/16/2013 8:39 AM, lipska the kat wrote:
>>>>>> On 16/10/13 12:24, Qu0ll wrote:
>>>>>>> "lipska the kat"  wrote in message

<snip>

>>>>> Example: in Denmark we have something called Central Person Register
>>>>> for
>>>>> all danes. I find it very likely that they have a Person class,
>>>>> because
>>>>> they deal with persons.
>>>>
>>>> Good grief I hope not
>>>>
>>>> Citizen,
>>>
>>> It contain some non-citizens.
>>
>> Then there is an error in your original statement
>>
>> You said
>>
>> "... called Central Person Register for all Danes (my capitalization)."
>>
>> Calling someone a *Dane* implies they are a 'Citizen' of Denmark
>
> The term Dane is not that well defined.

You used it.

> But the description "all Danes" was not correct.

You used it

>>>>          Resident,
>>>
>>> It contain some non-residents.
>>
>> If someone is not a Dane and is not a Resident and is not a
>> LapsedCitizen then why is he in the register?
>
> Who said there were such persons?

You did

"It contain some non-citizens."
"It contain some non-residents."

<snip>

>> RegisterEntry <- Citizen <- LapsedCitizen
>>
>> RegisterEntry <- Resident
>>
>> RegisterEntry <- FoodItem <- FishPie
>
> RegisterEntry could certainly be used.
>
> But since it is significantly worse than Person, then there
> is not much point.

In your opinion

>>  I just think that the class 'Person' doesn't say anything
>> *specific* enough about a concept from the problem space.
>
> Well - if Person is the most specific level of abstraction that
> covers the content then it is fine.
>
> If RegisterEntry is the most specific level of abstraction that
> covers the content then it is also fine.
>
> But since Person is more specific than RegisterEntry and
> everybody in the register is a Person, then Person is better
> than RegisterEntry.

If you say so


-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun
GNU/Linux user #560883 - http://www.linuxcounter.net

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java EE Architecture art.marole@gmail.com - 2013-10-09 13:41 -0700
  Re: Java EE Architecture Lew <lewbloch@gmail.com> - 2013-10-09 14:45 -0700
    Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-09 22:00 -0400
  Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-09 22:18 -0400
    Re: Java EE Architecture art.marole@gmail.com - 2013-10-10 00:47 -0700
      Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-16 20:37 -0400
  Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-10 13:26 +0100
    Re: Java EE Architecture 1connu <1connu999@gmail.com> - 2013-10-16 10:45 +0200
      Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-16 13:42 +0300
        Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 11:55 +0100
          Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-16 14:18 +0300
          Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-16 14:25 +0300
            Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 14:23 +0100
              Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-16 17:10 +0300
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 16:44 +0100
                Re: Java EE Architecture "L." <carisio@gmail.com> - 2013-10-16 10:15 -0700
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 19:01 +0100
                Re: Java EE Architecture "L." <carisio@gmail.com> - 2013-10-16 12:17 -0700
                Re: Java EE Architecture Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-16 21:01 +0000
                Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-16 20:40 -0400
                Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-17 00:00 +0300
              Re: Java EE Architecture Wayne <nospam@all.invalid> - 2013-10-16 23:08 -0400
                Re: Java EE Architecture Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-10-19 17:05 +0300
                Re: Java EE Architecture Lew <lewbloch@gmail.com> - 2013-10-19 14:48 -0700
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-20 09:00 +0100
                Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-20 19:40 +1100
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-20 10:07 +0100
          Re: Java EE Architecture Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-16 20:14 -0400
            Re: Java EE Architecture lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-17 08:47 +0000
        Re: Java EE Architecture Jeff Higgins <jeff@invalid.invalid> - 2013-10-16 20:19 -0400
          Re: Java EE Architecture Jeff Higgins <jeff@invalid.invalid> - 2013-10-16 21:24 -0400
      Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 11:49 +0100
        Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-16 22:24 +1100
          Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-16 13:39 +0100
            Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-16 20:39 -0400
              Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-17 13:43 +1100
              Re: Java EE Architecture Jeff Higgins <jeff@invalid.invalid> - 2013-10-16 23:22 -0400
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-17 08:53 +0100
              Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-17 08:57 +0100
                Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-17 19:31 +1100
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-17 09:56 +0100
                Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-17 20:18 +1100
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-17 10:56 +0100
                Re: Java EE Architecture "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-10-17 21:39 +1100
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-17 12:08 +0100
                Class Person [was: Java EE Architecture] "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-10-18 08:19 +0100
                Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-17 21:00 -0400
                Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-17 21:02 -0400
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-18 09:06 +0100
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-18 09:04 +0100
                Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-19 22:43 -0400
                Re: Java EE Architecture lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-10-20 09:05 +0100
                Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-20 09:24 -0400
      Re: Java EE Architecture Arne Vajhøj <arne@vajhoej.dk> - 2013-10-16 20:43 -0400

csiph-web