What is the definition of a Service object ?
- by Maskime
I've been working a lot with PHP.
But recently i was sent on a work wich use Java. In PHP i used to do a lot of Singleton object but this pattern has not the same signification in Java that it has in PHP.
So i wanted to go for an utility class (a class with static method) but my chief doesn't like this kind of classes and ask me to go for services object.
So my guess was that a service object is just a class with a constructor that implement some public methods...
Am i right ?