Download presentation
Presentation is loading. Please wait.
2
Project Title: Cobra Implementation on Association Service
3
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.
4
Application of Association Service on-line grammar learning service telecommunication interfaces for deaf people searching engine in internet
5
Data Type of “Key” and “Value” The “Key” is in a string type. The “Value” is an array of bytes
6
The format represented by “value” Simple text(single byte or double byte) image audio video
7
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
8
How to implement CORBA It needs an ORB(Object Request Broker) for CORBA implementation
9
ORB available? Iona's Orbix JavaSoft's Java IDL Visigenic's VisiBroker for Java
10
The Link between Object Implementation and ORB By Object Adapters
11
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
12
Currently Developed Object Adapter Two interfaces developed by CORBA: 1) Basic Object Adapter (BOA) 2) Portable Object Adapter (POA)
13
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
14
Functions of the System Construct an association Seeking an association Delete an association
15
Access Control Access Control List Capability
16
Construction of Capability Capability = Fn(User Name, ID, Access Right, Random0) Password = Capability + ID (64 bits) (32 bits) (32 bits)
17
Different Kinds of Capability generated by the system: New Capability Restricted Capability
18
Structure of the system Tuple (id, key, value, size, value type) List : Link up the tuple Hash table : index to the 256 lists
19
Permanent Storage of Association Storing in a series of Unix files Storing in database –Oracle Server –JDBC
20
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
21
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
22
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
23
The End. Thank you!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.