corba - Servant and objects - relation -
i read lot servant , objects used in technologies such ice or corba. there lot of resources can read :
one servant can handle multiple objects (for resource saving). 1 object can handled multiple servants (for reliability).
could tell me real life example 2 statements ?
if not mistaken, term coined douglas schmidt in paper describing common object request architecture.
here direct quote of few definitions:
- note: see picture below clarity
object -- corba programming entity consists of identity, interface, , implementation, known servant.
servant -- implementation programming language entity defines operations support corba idl interface. servants can written in variety of languages, including c, c++, java, smalltalk, , ada.
corba idl stubs , skeletons -- corba idl stubs , skeletons serve ``glue'' between client , server applications, respectively, , orb
orb interface -- orb logical entity may implemented in various ways (such 1 or more processes or set of libraries). decouple applications implementation details, corba specification defines abstract interface orb. interface provides various helper functions such converting object references strings , vice versa, , creating argument lists requests made through dynamic invocation interface described below.
the common object request broker architecture (corba) standard defined object management group (omg) designed facilitate communication of systems deployed on diverse platforms. corba enables collaboration between systems on different operating systems, programming languages, , computing hardware
so, there clients, server, client , server proxies, , orb core. client , server use proxies communicate via orb core, provides mechanism transparently communicating client requests target object implementations. client perspective, makes calls on remote objects objects in local address space , therefore simplifies design of clients in distributed environment.
given above, servant implementation invocation target remote client calls, , abstracting remote objects actual targets.
as question, 1 servant can handle calls multiple distributed objects encapsulated servant. note client doesn't access these objects directly goes via servant.
Comments
Post a Comment