aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML and Java Implementation Design Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML and Java Implementation Design Question" Watch "UML and Java Implementation Design Question" New topic
Author

UML and Java Implementation Design Question

Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
Hi there,

I came across this question and needed help on this.

A speaker and a listener communicate with each other. The speaker can
present emotions to the listener: smile, anger, courtesy, joke, fury, etc. The listener gives a proper
response for each communication (say something, attack, defense, ignore, etc.).
Design a UML model for this situation. Implement the design in Java and simulate it (using text output)
and write a JUnit4 test.
Briefly describe listener object's reaction rules.

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
Help with what, specifically? This looks like homework that you should be doing in order to learn. Folks here are not going to do it for you.

So: What thoughts have you had on any of these? Where are you stuck making progress?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UML and Java Implementation Design Question