What is the definition of a Service object ?

Posted by Maskime on Stack Overflow See other posts from Stack Overflow or by Maskime
Published on 2010-05-28T10:50:05Z Indexed on 2010/05/28 10:51 UTC
Read the original article Hit count: 169

Filed under:
|
|

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 ?

© Stack Overflow or respective owner

Related posts about java

Related posts about design-patterns