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 *************************************************************************
