Hi Eric
Paul asks a good question about are we talking about the same things here. If you use the UML definition of boundary/control/entity (it's in one of the appendices of the spec, and part of RUP) - then control is definitely an analysis-level concept (as Todd points out) - and is mainly used to get the order of events right within the use case realisation. Used in that sense, there may be some business rules implicit in the control classes and the rest of the business rules will generally live in the entity classes. So control classes may contain some of the business rules - but these generally get re-arrnaged at design time (again - as Todd points out) regards anthony > -----Original Message----- > From: Eric D. Tarkington [mailto:[EMAIL PROTECTED]] > Sent: 27 June 2002 18:44 > To: ROSE_FORUM > Subject: (ROSE) Bar Bet #5 > > > > Here's the bet: When you use boundary, entity, and control > classes, the > controls should contain the business rules. > > THIS IS OBVIOUSLY TRUE! This is a thing that you can see readily in a > sequence diagram. The natural thing to do in *lots* of business > applications is to pass messages between boundaries and > entities through > the control. This is analogous to three-tiered architecture, with a > Graphical User Interface (GUI), a Business Object Model (BOM), and a > Relational Database (RDB). The control is analogous to the > BOM, that's > obvious. > > THIS IS OBVIOUSLY CRAP! As Freud said, there are times when > a cigar is > just a cigar. You can see an analogy between boundaries/GUI and > entities/RDB, but that doesn't prove that there is a similar > relationship between controls and the BOM. Controls should be just > smart enough to route messages between objects in a subsystem (which > might mean a business area). > > As usual, the bar bet is on a controversial question that should be > obvious to everyone, dammit, but the instructors at Seneca College > disagree with each other. I will try to state opposing positions > even-handedly, and will confess my "side" only after others > have stated > some opinions. > > OK, folks, what do you think? There is a virtual beer in it for a > correct answer, but you have to make a clear winning argument! > > -Eric > ************************************************************** > ********** > * Rose Forum is a public venue for ideas and discussions. > * For technical support, visit http://www.rational.com/support > * > * Post or Reply to: [EMAIL PROTECTED] > * Subscription Requests: [EMAIL PROTECTED] > * Archive of messages: > * http://www.rational.com/support/usergroups/rose/rose_forum.jsp > * Other Requests: [EMAIL PROTECTED] > * > * To unsubscribe from the list, please send email > * To: [EMAIL PROTECTED] > * Subject: <BLANK> > * Body: unsubscribe rose_forum > ************************************************************** > *********** > ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * Subscription Requests: [EMAIL PROTECTED] * Archive of messages: * http://www.rational.com/support/usergroups/rose/rose_forum.jsp * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * To: [EMAIL PROTECTED] * Subject: <BLANK> * Body: unsubscribe rose_forum *************************************************************************
