0% found this document useful (0 votes)
50 views10 pages

Case Study - CORBA

Uploaded by

Sunny Pawashe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
50 views10 pages

Case Study - CORBA

Uploaded by

Sunny Pawashe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
Case_study oh + CORBA Thttodud 10} The co mon object Request _B oket_ Archit C-CoRBA ) [s_4 Standard defined MY he obje (yroup _( 0 tr) that enables so Wate Components Written in__multi le ___Computert q anguqse 4 Unhing oh multiple oO Work together __(i-e. Y otts MmulHPle Platforms) em uters The Com ct__Request Archi ecture (CORBA) is +he eceht Answer for +! moh abje e heed for in eropedability in the Mmodeth distributed Computing ehviro hm ent. This _afchitecture allows Objects to Com municate with Ohe 4nother regardless of thelr location and imp] tT lementation IC to ORBA hides yamming dif ages the lang eee. nd between the Ofeiating systems, dddress Spaces for “the — object eMentalon . Co. BA Ptovi les Platform _Indefendent an, lage indePendent way to__Write applications that Can | nvo ke__Objects that live cross toom 0 he accross _the Mdhet. COR A ehidbles separa Pieces OF $0) ware Written in different See lanquade, differen Computeis to Work _W running on ov ith “each other like “a 5 4. 0: e 4pPlication OF Set Service Note especta| ly CORBA Is 4 Mechanism in ol Software for normalizing the me 0 d__Cal| Semantics between application objec lesiding ei het_in the Same 4 dress Space OY fe Ote SPace FOR E,)UCATION41. USE CORBA Chables Sepayate _Plece of software Written in__differen tan quages to interact with each other lt_uses an inf \ntet faces Which objects Ye etface defination language to_spedfy the reset the OUfet Wotd - CoRBA OVerview ~ CORBA Stah lard_is_based on +h e classical Objece_tmodel_ that defines two kinds of distinct entities Classes that Support ehcapsul ation, inheritance ahd Poly mot Phisrn and Objects that dre classes instances. The fundamental Principle that Was recognized by cCoRBA is the independence OF he _behavi joyt of qn object ftom its implementation. For thi aint of View the CoRBA Standayd Can be Seen 4s _Consis ing Of two logical levels. le Interface defini Hon eve Defines Syntax and Seinah ics for the Objects Intetface description by medns Of Orie TDL. The way th whic IDL Ihterfaces (Can be mapped to a Progyamming lan quage is Standardized by the CoRBA Language ~ Marfings. THe language _mappin, Specification Provides link to the ext CORBA level. le Communication edia_Leve) : Sfecifies how communications have to be jmplemented - For this PurPose the obj ject Request Broker (CORB) Specification is introduced . The ORB ads 4s 4 (nket= wy FOR EJ UGATIONA1. USE object Communication _b' viding Set of inte Object Creation tegistralion and access Contro] IDL Client K—_- 5 sever | ——_ == prt} (ro. ORB TDL pst || Stub |) >——intet face | | 5keleton| 4 Object Adapter | ’ ORB CORE 5 Fig. The tructure Of the CORBA Standard The above fig. Shows the structure of the CoRBA Standard. ifferent Components of the ORB are briefly degcibed in Next What is the onu ® © Designeis Of CORBA je Consortium of 100 + Companies @ Membeis : i) Platform Vendors iv) Softwate tool develofers if) database Vendors _V) Softwae APP. Vendors ii) Corporate developers ui FOR E )UCATION41. USE Object Request Broker (ORB) : Z i An_object Yequest broker _(oRB) is 4 middleware 4Pplication Comfonent that uses the Common object_tequest broke tchitecture [CoRrBa] Spe clficalion enabling developers to make 4PPlication Celis within Computer hetwork. ORB _is_an agent that tiensmits client _/ Setver ofetation Invocaons q__distribUted environment ensures ttansparent Object: Communication. ORB Suppotts Wide Variety oF tiddleware Services, including but fot limited to hotification Event triggers _ tlansaction Processing Qhd_ Security. lore does following things + * Searches matches” and ~ instantidtes femote machine Object: |e Gathers Parameters between Skeleton ——( Remote Client? Getvet) RN RNL Secure Registry | x a Client Po Web Servet Stu Sond keletons 3) J STUBS <)- It 2) Stubs ~ Va _objects live, Pretends ‘on client o_da_be Stub Cal methods 4hd femote Objec: the Stub a e With CORBA objectsdnd Vice Versa. Communi- SKE 2) Re EfoNs - |) li ceives _fequest on serve om stub ¢ talks to Ye _Temote objects. 3) Del vers fesponse o_Stub \ FOR ED lient Vs Server / Tn corpa a Client {sa client felative to a Particular objective ah Object with tetetence to a Server _ object -A client may also act as a Sewers if it has an TDL ahd Stubs and _ Skeletons CoRBA CORBA 3 Cent servant ie elt [8 8 | TIoP CORBA Client Sends a equest through its local oRB +o temote ORBS Servent a CORBA CORBA J client Servant Ae al Bly ITop CORBA SeWvei Sends back a _fesponse fo be a emote ORB FOR E0SCATION 1. USE Main Component The ORB (Object Request broker) Enables to Communication between Clients an objects Ocdted qs Various clients. CORBA Objects: Virtual” entity C4 dble oF being sj locdted by 4n ORB Allow, requests to be invoked on it SerVents : Ohe OF More Objects the programming language entity that implements CORBA Object Adaptots : The “glue” betweeh ervants dhd the CRB [Distributed object Model : CoRBA objects dre belng Components that n_Yeslde anywhere in NetWork . Corba objects Can be _transqctiond) , Secure _ lockable 4 ersistent. Remote Client Can 4¢cess Server Objects Without Khowledge of thelr location Platform ture Ofeidting System for implemen talon Idhqudge. Ihtetface dre Specified in the Neutral IDL. Tt Cohtains Inteiface fesPosltery for Legistered CORBA Setvet_ComPonents. ThtetFaces _dfe the represented ina Meta data” format so that they Cin be discovered dynamically at yn time. =) FOR E,SJCATIONA1. USE [TyPes of Corba technology and business objects : CORBA basic Pe, Host of the CoRBA +Ufes rap directly onto ctt +4Pes ahd can be Used transparently to Crt The following basic C++ +t¥Pes map directly Into CoRBA tyPe © Atomic data types : = Boolean > cha = Double = Float = Long shor = Vlong (unsigned Long) —Ushort (unsigned short) = Enum C €humerations) — Ulong long (unsigned long long) All of these types die SoPed to the CORBA clas. qnd_must be declared accordingly . Their use in Ctt 46 i thdnsParent and straight forward For €XamPle + CoRBA i: Short 4 Short Varigble ; a Short Variable = 12> forwajd to Use before Corba tyres de ot _4s_Straight references to the (aller - ecause they return Objects FOR EDUCATION. USE ||Behefits of coRBA Technology: 1) Naturily The obiginal Vetdon of the (oRBA standard Was defined_in qa thus fitst Velsion_of the _Sfeclficabion_twds_delibetately imited’ in Scope The omu's Philosophy was to define Smal) Standard, let Implementation gain exPerience + then Slowly exfand the

You might also like