Solved
Service vs. POJO
I have to retrieve the value from a component dialog with some business rules. Since the logic is quite complicated, I write a java code. The question is should I make it as a service or just pure POJO? what's the rules and/or criteria to determine it.
Thanks.