In: Computer Science
Fully describe the process that must be followed to do use case realization with crc cards
The process which must be followed to do use case realization with crc cards are as follows:
1. We select a use case because the process is to design a single use case starting with a set of unused CRC cards. The first card to include should be a use case controller card.
2. We pinpoint the first problem domain class that has responsibility for this use case. This object will receive the first message from the use case controller. Using the domain model that was developed during analysis, we select one class to take responsibility and focus only on the problem domain classes. On the left side of the card, we write the object’s responsibility. For example, a Customer object may take responsibility to make a new sale, so one responsibility may be Create phone sale.
3. We identify other classes that must collaborate with the primary class to complete the use case. In other words, classes that have required information or that need to be updated in this use case are identified. As we identify a collaborating class, we go to the appropriate CRC card for that class and write its responsibilities on the cards. Also, on the back of each card, we write the pertinent information about required attributes of each object class.
4. Another helpful step is to include the user-interface classes. If a user is part of the team and if some preliminary work has been done on the user interface requirements, it could be effective to add CRC cards for all user interface window classes that are required for the use case. By including user-interface classes, all the input and output forms can be included in the design, making it much more complete.
5. We add any other required utility classes that are needed to the solution. For example, for a three-layer design, data access classes will be part of the solution. Usually, each persistent domain class will have a data access class to read and write to the database.
PLEASE LIKE THE SOLUTION :))
IF YOU HAVE ANY DOUBTS PLEASE MENTION IN THE COMMENT