Hi there,
I have been studying episode 7 on Use Cases and High Level Architecture. I am using this approach on a component that I am building in work at the moment.
I would just like some clarification on Use Cases and Interactors. I think I understand the use case approach and how use cases specify the intent of the system.
However in the interactor - boundary architecture diagram in this episode, I am just wondering is the Interactor here fulfilling the role of the Use Case?
In my code, should I specify the Use Case as an interface or abstract class and have the Interactor implement this interface?
e.g public interface FindUserUseCase {}
public class FindUserInteractor implements FindUserUseCase?
or can the Interactor/UseCase be a straight concrete class without implementing an interface? And, is it idiomatic to use "Interactor" or "UseCase" in the class name?
In the Java Case Study videos, I see that "UseCase" is used in the class names.
I appreciate any advice on this?
Thanks a million,
Tom