Skip to content

Services

Alejandro García Parrondo edited this page Apr 1, 2020 · 1 revision

The services are a Bean that is no more than a custom annotation, it doesn't give any functionality over the Bean one, the objective of having its own annotation is to be able to make the service layer more visually.

How to use

To use you simply have to use it on your class as if you were creating a controller or a custom bean.

@Service
public class FooService{
...
}

Clone this wiki locally