project title: cobra implementation on association service
Post on 21-Dec-2015
215 views
TRANSCRIPT
What is Association Service?
• “Association” is simply a mapping from a key to a value
• “Association Service” is a service provided by the system for this mapping.
Application of Association Service
• on-line grammar learning service
• telecommunication interfaces for deaf people
• searching engine in internet
Why CORBA ?
• It is more difficult for a programmer to develop an application in distributed environment than in a single machine.
• CORBA is A middleware designed by OMG to help a programmer to develop application in distributed system
• CORBA may let server location be transparency to the client by its naming service
What is Object Adapter
• It is a component that an object implementation at server side reports its availability for request to ORB
• ORB uses it to manage the run-time environment of the object implementations
Currently Developed Object Adapter• Two interfaces developed by CORBA:
• 1) Basic Object Adapter (BOA)
• 2) Portable Object Adapter (POA)
Programming Steps for CORBA Implementation
• Design on IDL• Compile IDL file to generate stub code for
client program and skeleton code for server program
• coding for object implementation• coding for client program• compile client and server program and then
running both server and client program
Construction of Capability
Capability = Fn(User Name, ID, Access Right, Random0)
Password = Capability + ID
(64 bits) (32 bits) (32 bits)
Structure of the system
• Tuple (id, key, value, size, value type)
• List : Link up the tuple
• Hash table : index to the 256 lists
Permanent Storage of Association
• Storing in a series of Unix files
• Storing in database– Oracle Server
– JDBC
Recovery of Association
• Permanent table
• Temporary table• add a flag to indicate the kind of manipulation
– add association
– delete association
• output information to the system when it is waken up again
• empty if normal procedure for closing system
Conclusion
• Association Service is simple but practical
• It makes the programming be much easier in distributed environment via CORBA implementation
• It still has more features for the further development of this system
Further Development
• Develop client side of the system as an applet
• Adding more interface for various format of "value”
• Multi-users supporting
• Directory service as a yellow page