@Repository annotation should be used to indicate those classes that compose the DAO layer.
@Service annotation can be used to designate those classes that are part of an application's service facade, which are used in the web layer to handle requests
@Controller annotation denotes the presence of a POJO that should be used for Spring MVC interactions. Defines a service facade.
No hay comentarios:
Publicar un comentario