Hello
CORBA (Common Object Request Broker Architecture) is a standart defined by OMG (Object Management Group), this let distributed object from different languages and OS to communicate. It also provides total transparency in the communication. The IDL (Interface Definition Language) is the tecnology used to describe the interfaces. IDL has your own data types, that are mapped to the data types in other languages. There is an IDL compiler, it generates the codes that do the communication.
But how it works? We have some definitions in a .idl file, in this case Bank-idl (remember to change the filename).
Acessing the files, you will see a lot of definitions like:
Module definition:
module banco {
Definition of data type valor as double
typedef double valor;
Definition of the transacao struct
struct transacao {
unsigned long data; // Formato: ddmmyyyy
string<12> descricao;
valor quantia;
};
Definition of some methos, vars and exceptions
interface auto_atendimento {
readonly attribute string boas_vindas;
valor saldo ( in conta c )
raises ( conta_inval );
void extrato ( in conta c,
out transacoes t, out valor saldo )
raises ( conta_inval );
void transferencia ( in conta origem,
in conta destino, in valor v )
raises ( conta_inval, saldo_insuf );
void investimento ( in conta c,
in aplicacao apl, in valor v )
raises ( conta_inval, saldo_insuf );
};
With this file you can generate a lot of different interfaces compiled to different languages. To generate the interfaces in Java use:
idlj -fall bank.idl
It will generate many files inside a banco folder, with the .java files. Now you just have to code what each method will do.
Example of implementation of a bank service and a client in Java using CORBA and IDL
Matheus
PS: This is just a introduction to CORBA. It uses a lot of other definitions as Object Management Architecture and others
References:
My Professor Frank page.
http://en.wikipedia.org/wiki/Common_Object_Request_Broker_Architecture
[…] Enviado por Matheus Bratfisch (matheusbratΘgmail·com): “Esta publicação tem intuito de demonstrar um pouco sobre o CORBA (Common Object Request Broker Architecture), suas definições na IDL (Interface Description Language) e para isso o mesmo utiliza de um exemplo.” [referência: matbra.com] […]
[…] Enviado por Matheus Bratfisch (matheusbratΘgmail·com): “Esta publicação tem intuito de demonstrar um pouco sobre o CORBA (Common Object Request Broker Architecture), suas definições na IDL (Interface Description Language) e para isso o mesmo utiliza de um exemplo.” [referência: matbra.com] […]
согласование проекта перепланировки нежилого помещения https://www.pereplanirovka-nezhilogo-pomeshcheniya11.ru .
аренда мини спецтехники аренда мини спецтехники .
аренда мини экскаватора без оператора http://www.arenda-mini-ekskavatora-v-moskve-2.ru/ .
mostbet aviator demo https://mostbet4182.ru/
mostbet mobile http://mostbet4185.ru
мостбет уз кириш mostbet4185.ru
Этот интересный отчет представляет собой сборник полезных фактов, касающихся актуальных тем. Мы проанализируем данные, чтобы вы могли сделать обоснованные выводы. Читайте, чтобы узнать больше о последних трендах и значимых событиях!
Получить дополнительную информацию – https://vivod-iz-zapoya-1.ru/
mosbet mosbet
mostbet apk yuklab olish uz mostbet apk yuklab olish uz
mostbet apk skachat mostbet apk skachat
1win tennis tikish 1win tennis tikish
1win ruxsatnoma https://www.1win5509.ru
1win android yuklab olish http://1win5510.ru
1win futbol tikish http://1win5510.ru
1вин android приложение https://www.1win5509.ru
1win uz 1win uz
1win uz 1win uz
1win ruxsatnoma https://1win5510.ru/
pin up uz http://pinup5007.ru/
pin up uz pinup5007.ru
машинное обучение google
https://www.algoritmyseo.ru
pin up slot o‘yinlari pin up slot o‘yinlari
pin up uz https://pinup5007.ru/
pin up bonus kod uz http://www.pinup5008.ru
pin up uz https://pinup5008.ru
pin up bonus ro‘yxatdan o‘tish orqali https://pinup5007.ru
pin up yuklash android pin up yuklash android
1win aviator играть http://1win5518.ru
авиатор 1win скачать http://www.1win5519.ru
1win зеркала http://www.1win5519.ru
официальный сайт 1win ставки на спорт 1win5518.ru
1вин фрибет https://1win5519.ru
plataforma 1 win http://1win5518.ru
бк 1win скачать на андроид http://1win5519.ru/
www mostbet com https://www.mostbet12031.ru
mostbet скачать mostbet скачать
mostbet online app https://www.mostbet12032.ru