Hi,
I would like to build a REST API for my services in Spring.
I don't see any need for additional layer of controller classes.
I would just like to remote those services in a REST API by marking my @Service class with an @Controller annotation and adding proper annotations to methods from String MVC.
The question is: em I doing it wrong ?
will this still be treated as an service to which I can add transactional and aspect orientated features ?



Reply With Quote
