Skip to main content

What is the difference between the Naming Service and the Trading Service?

  • September 2, 2014
  • 0 replies
  • 0 views

Product: OpenFusion JacORB

Version: 2.1 and above

 

Description:

What is the difference between the Naming Service and the Trading Service?

 

Solution:

The Naming and Trading Services are very similar in the services that these provide. These two services are the preferred ways to locate objects and bootstrap a distributed application. These two services differ in the offered levels of service.

 

Naming Service

- Objects ('services') are registered by name only

- Clients look up by specifying the service name. Note as the namespace is hierarchical, the full name and path must be specified. e.g. /PrismTech/Products/Trader

- A reference to one matching service is returned (if one is found)

- The matching must be exact

 

Trading Service

- Services are registered by service type and property values

- Clients look up by specifying the service type and the desired property values, for example "Find me a company that has revenue > $500M and EPS <$0.20

- A list of references to all matching services is returned

- Matching is configurable, i.e. it can be an exact match (all property constraints must be satisfied) or a partial match (some properties can be specified as preferences rather than constraints)


#OpenFusion
#KnowledgeDocs