Project Title: Cobra Implementation on Association Service - PowerPoint PPT Presentation

About This Presentation
Title:

Project Title: Cobra Implementation on Association Service

Description:

Project Title: Cobra Implementation on Association Service. What is Association Service? 'Association' is simply a mapping from a key to a value ' ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 23
Provided by: abraha9
Category:

less

Transcript and Presenter's Notes

Title: Project Title: Cobra Implementation on Association Service


1
Project TitleCobra Implementation on
Association Service
2
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.

3
Application of Association Service
  • on-line grammar learning service
  • telecommunication interfaces for deaf people
  • searching engine in internet

4
Data Type of Key and Value
  • The Key is in a string type.
  • The Value is an array of bytes

5
The format represented by value
  • Simple text(single byte or double byte)
  • image
  • audio
  • video

6
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

7
How to implement CORBA
  • It needs an ORB(Object Request Broker) for CORBA
    implementation

8
ORB available?
  • Iona's Orbix
  • JavaSoft's Java IDL
  • Visigenic's VisiBroker for Java

9
The Link between Object Implementation and ORB
  • By Object Adapters

10
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

11
Currently Developed Object Adapter
  • Two interfaces developed by CORBA
  • 1) Basic Object Adapter (BOA)
  • 2) Portable Object Adapter (POA)

12
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

13
Functions of the System
  • Construct an association
  • Seeking an association
  • Delete an association

14
Access Control
  • Access Control List
  • Capability

15
Construction of Capability
  • Capability Fn(User Name, ID, Access Right,
    Random0)
  • Password Capability ID
  • (64 bits) (32 bits) (32 bits)

16
Different Kinds of Capability generated by the
system
  • New Capability
  • Restricted Capability

17
Structure of the system
  • Tuple (id, key, value, size, value type)
  • List Link up the tuple
  • Hash table index to the 256 lists

18
Permanent Storage of Association
  • Storing in a series of Unix files
  • Storing in database
  • Oracle Server
  • JDBC

19
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

20
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

21
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

22
The End.Thank you!
Write a Comment
User Comments (0)
About PowerShow.com