الموضوع: مقدمة عن Corba
عرض مشاركة واحدة
قديم 21/05/2004   #7
keko
مشرف متقاعد
 
الصورة الرمزية لـ keko
keko is offline
 
نورنا ب:
Oct 2003
المطرح:
سوريا
مشاركات:
404

افتراضي 1- Define the Remote Interface:


You define the interface for the remote object using the OMG's interface definition language (IDL).

You use IDL instead of the Java language because the idltojava compiler automatically maps from IDL, generating all Java language stub and skeleton source files, along with the infrastructure code for connecting to the ORB.

Also, by using IDL, you make it possible for developers to implement clients and servers in any other CORBA-compliant language.

المقصود بالـ Stub
هو الوكيل أي حتى يقوم الـClient باستدعاء اجرائية من الغرض البعيد لا بد أن يصل لهذا الغرض وبدلا من أ، يتم ارسال نسخة من السيرفر الى الـ Client يقوم الوكيل بهذه المهمة وبالتالي يبقى تنفيذ الاجرائية على السيرفر وليس على الـ Client وهذا هو الهدف من البرمجة الموزعة .... يتوضع الـ Stub في الـ ORB عند الـ Client


IDL provides a range of simple types, broadly comparable to those in Java: for example, string, char, long, float, double etc.
A more unusual one is any, which includes any simple type (mapped to Object in Java). In addition, you can build compound types: arrays, sequences and structures (or structs).
A structure is a record, essentially, in Pascal terms: in Java terms it is a class with no methods.

عرين العروبة بيت حرام ..... وعرش الشموس حمىً لا يضام

هادا بلدي سوريا
  رد مع اقتباس
 
Page generated in 0.02003 seconds with 10 queries