Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

How do 'services' and 'objects' differ?

How do 'services' and 'objects' differ?
Depending on how loose you are with your definitions, service and object can be considered quite similar. However, objects are typically specific to one programming environment (e.g. Java) and are often even accessed in-process. By contrast, services are typically remotely accessed and are not specific to any programming environment. The only thing you need to know to talk to a service is the message protocol needed (e.g. SOAP). The other way that services and objects typically differ is in granularity. Objects are often very fine grained, requiring many calls to complete any one business task (a design well suited for in-process use). By contrast, services are typically coarse grained, requiring a small number of message exchanges to complete a business task.

Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.