Received: by 10.180.73.173 with SMTP id m13mr1476076wiv.4.1350558167659; Thu, 18 Oct 2012 04:02:47 -0700 (PDT) X-BeenThere: mybatis-user@googlegroups.com Received: by 10.180.20.136 with SMTP id n8ls190612wie.3.gmail; Thu, 18 Oct 2012 04:02:46 -0700 (PDT) Received: by 10.216.193.131 with SMTP id k3mr1327752wen.4.1350558166029; Thu, 18 Oct 2012 04:02:46 -0700 (PDT) Received: by 10.216.193.131 with SMTP id k3mr1327751wen.4.1350558166012; Thu, 18 Oct 2012 04:02:46 -0700 (PDT) Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by gmr-mx.google.com with ESMTPS id v8si675196wiy.3.2012.10.18.04.02.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 04:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of sentimental.br...@gmail.com designates 209.85.212.178 as permitted sender) client-ip=209.85.212.178; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of sentimental.br...@gmail.com designates 209.85.212.178 as permitted sender) smtp.mail=sentimental.br...@gmail.com; dkim=pass header...@gmail.com Received: by mail-wi0-f178.google.com with SMTP id hr7so1324367wib.7 for ; Thu, 18 Oct 2012 04:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qD0nAfy+9Zy+0Cz+ZYlbvlVcms/WXqH8EGeoeX2+WuA=; b=IvTfAe1JADYGTTIJb2pdOZb7OFYdPOglrQsnreqcvCfgjg0vaznZycQaU4PjMX2sAz abid5iDMo53KUhOu1KfF/aRBhxlxUBwfSsoEMPO0V4+qBacqiPPnkJGmpfSgMbMNq0zi Yk3/lEcx38eIftjuL+QIgMM4NyZS+3hzJK4JchLqBesdRWpUutCFUkpNpWMD9SHynrwh oO9oCV2a+g+wE6FdGB+fgyJum+C6aYw2maj0YK4a2kLecWZv/KTHiBobVgreofwT5giK mjR9OWUS3wSEjF8oysC7ZB23ASSTFjReQ5TSPM1XVZSNmgRrkwcp7e6Uzk2DiPGzMR8A 9wXQ== MIME-Version: 1.0 Received: by 10.180.81.37 with SMTP id w5mr10508501wix.10.1350558165868; Thu, 18 Oct 2012 04:02:45 -0700 (PDT) Received: by 10.223.62.5 with HTTP; Thu, 18 Oct 2012 04:02:45 -0700 (PDT) In-Reply-To: References: <93B0CB1886D4CC48823246865D80DC94051B23A8E...@HERMES.ircm.priv> <93B0CB1886D4CC48823246865D80DC94051B23A8E...@HERMES.ircm.priv> Date: Thu, 18 Oct 2012 12:02:45 +0100 Message-ID: Subject: Re: ResultMaps : Injecting collection without having any getter From: bryan hunt To: mybatis-user@googlegroups.com Content-Type: multipart/alternative; boundary=f46d04428dc0b9a23304cc535307 --f46d04428dc0b9a23304cc535307 Content-Type: text/plain; charset=ISO-8859-1 "I understand completely the anemic domain model way of thinking". ROFL. Never thought I'd hear that sound-bite again. I thought the SpringSource consultancy were about the only people promoting the Rich Domain Model 'pattern', and that was about 6 years ago. I've seen it in practice a couple of times, and it's not very pretty. The thing about spaghetti is - try as you may to slurp it up, in a genteel manner. There's always that rogue strand which escapes the fork/spoon combination and ruins a perfectly good shirt. Anaemic Domain Model, anti-pattern. Hmm, not sure I'd call it an anti-pattern. Call it logical separation of concern. --f46d04428dc0b9a23304cc535307 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable "I understand completely the anemic = domain model way of thinking".

ROFL. Never thought I'd hea= r that sound-bite again.

I thought the SpringSource consultancy were= about the only people promoting the Rich Domain Model 'pattern', a= nd that was about 6 years ago. I've seen it in practice a couple of tim= es, and it's not very pretty.

The thing about spaghetti is - try as you may to slurp it up, in a gent= eel manner. There's always that rogue strand which escapes the fork/spo= on combination and ruins a perfectly good shirt.

Anaemic Domain Model, anti-pattern. Hmm, not sure I= 'd call it an anti-pattern. Call it logical separation of concern.






--f46d04428dc0b9a23304cc535307--