On 1 Apr 2017, at 15:25, clr meno wrote:
> Thanks Jeff. If thats the case then how to decide if a non
> transactional
> class needs to go in Src or Service ?
>
Understanding what the class is for and how Services behave will help
you decide. For example, if you don’t want an instance of the class
automatically added to the Spring application context as a bean, don’t
make it a service. Another example, if you are writing a class to
define Groovy Extension Methods, it would be silly to make that class a
Service.
In short, make it a Service if there is a reason to and if there
isn’t, don’t.