In DDD approach, what is the best-practice for naming domain services components and application services components ?
For instance, should I have within my application layer a service named : RoomReservationService
and in my domain layer a service named also RoomReservationService; the first delegating to the other ?
Actually, when an application service does not gather many domain services, that means I can’t find distinct names between them, how could I name it without introducing any confusion ?
In DDD You can use the same approach as remote services applications:
Application layer service name :
RoomReservationServiceIn package name :
com.my.package.service.RoomReservationServiceDomain layer service name :
RoomReservationDomainServiceIn package name :
com.my.package.domain.service.RoomReservationDomainService