�����:   ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½:




�������
��������
�����
�����


Java
- �������
- ������-�����
- ������
- �������
- �����������
- ������
- IDE
- ������� ��������
- �������

��������� Java
- ����
- �������
- ������
- WAP, WML � ��.

JavaScript
- ������-�����
- �������
- ������

���-���������
- HTML
- CSS
- SSI

�������� ��� ���
�������
�����
������
���������
���� :)




Rambler's Top100
Rambler's Top100

������ - �������� ��� ������������� WWW, Corba � Java � ���������� �������������� ��������� ������

���������� WWW, Corba � Java � ���������� �������������� ��������� ������


���������� | ���������

���������� CORBA.

�������� � CORBA

� ����� 1980-� � ������ 1990-� ����� ������ ������� �����-������������ ���� ������ ������� ����������, ������� �������� �� �������� ������ �� ��� ����� ���������� ����� ������������ ����������. � �������� ����� ���������� ���� ���������� ������� �������������� ������������ ������. ���������� ���� ����������� ������������� �����������, ������� ��������� �� ������������ ��������� ������������� � ���������� ����, ��� ���� �������� ����� ��� �������������. ���� �� ��������� ������������� ���� � ���������� ���� ���� ������, �� �� ��� �� ������������� � �������� �� ��� ��������� � ���������� ����� � ������ ������������, �������-����������� ���������, ���������� � ���� ��������� ������� ������������ ����������. ������� � ��� 1989 ���� ������������ OMG (Object Managment Group). ��� ��� ����������, ������� OMG ����������� ����� 700 ������ (� OMG ������ ����������� ��� ���������� ������������� ��, �� ����������� Microsoft).

������� ����������� OMG �������� ����������� ������ ������������, ����������� ������� ����������������� �������������� �������. ������������ OMG -- The Common Object Request Broker Architecture (CORBA) �������� �������������� ����������, ����������� ��������������� �������� ������������� �������������� �������� � �������������� ������������ ������.

CORBA ������������� �������������� �������������� ��������� (��������) �� ����������������� ������ � ������ ���������� ������ OSI. ��� ��������� ������������� ��� ���������� � �������������� ������� ��� �������. ������ ������� ����� ������������ ������ ���� � �������, � �������: ���� �������, ���� ������ �������� ����������� ������ ������ � ������� �������; ���� �������, ���� ������ ������ �������� �� ��� �����-������ �����. �������-������� ������ �������� "����������� ��������". �������� ����������, ��� ����������� �������� ������������ ��������� ���� � ��������, � ��������, ����������� ������� ������ �� ������ �������� � ������� �� ������ �����. ��������� CORBA, ��� �����, ������� ����������� ������� ������� ����� ������ �������, ��� ������� ������-������, ���������� �� ������������� � ������������� ����������� [6].

IDL

���� OMG IDL (Interface Definition Language -- ���� �������� �����������) ������������ ����� �������������� ����������� ��������� ��� �������� ����������� ��������. ��� �������� ����������� ����������, OMG IDL ��������� ������������ � �������� ������������� ������� ��� ����������� ������ �������, ������������ ��� ��������� �� ��������� � ������ ����������� �������������� �������. OMG IDL ��������� ��������� ����������, ������� ��������� ������ � ��������. ���� ����� ������������ ������������ �����������, ��� ���������� ��� ���������� ������������� �������� � ������������ �� ���������� ��� �������������.

IDL �������� ����� ������������� ������, �� ���� �� �� �������� ������� ����������. IDL-������������ ����� ���� ��������������� (����������) � ������������ ����� � ����������� ��������� ��������, ������� ����� �������������� ��������������� �������������. �� ���� IDL-������������ ������ ����� ���� ��������, � ����� ���������, �� ����� �����, ��� �������� ���������� ����������� �� IDL. � ����� ������ ��������� C, C++, SmallTalk, Java � Ada.


������� 5: CORBA IDL ����������� � ������ ������/������

� ������� IDL ����� ������� � �������� ����������, � ������������ ������ �������, ��� ���������, � ���������� ����������, �, �������, ������, ������������ ���������, ������ � ��������� ������� � �������� ����������.

��������� CORBA IDL ����� �������� ��������� �������:

    module <identifier> {
         <type declarations>;
         <constant declarations>;
         <exception declarations>;

         interface <identifier> [:<inheritance>] {

           <type declarations>;
           <constant declarations>;
           <attribute declarations>;
           <exception declarations>;
           [<op_type>]<identifier>(<parameters>)
           [raises exception] [context]
           .
           .
           [<op_type>]<identifier>(<parameters>)
           [raises exception] [context]
           .
           .
  }
  interface <identifier> [:<inheritance>]
           .
           .
}

����������� ����������� (Interface Repositary), ���������� ����������� ����������� �� IDL, ��������� ������ ���������� ��������� �������� � ���� � ��������������� �� ������������� � ����������-��������.

Object Management Architecture

������ 1990 ���� OMG ������� ������������ �������� Object Management Architecture Guide (OMA Guide). �� ��� ���������������� � �������� 1992. ������ Common Facilities (����� ��������) ���� ��������� � ������ 1995. ��������� ������� ���������� ������ �������� �������� ���� �����������:


������� 6: OMG's Object Management Architecture

  1. Object Request Broker ���������� ��������� ���� CORBA.
  2. Common Object Services ������������ ����� ��������� �����, ���������� ���������� ������������ � �������������� ��������� ������� ������� �������� [7].
  3. Common Facilities �������� ����� ������� � ��������, �������������� �������� �� ������ ���������� �������� �������. ���������� ������� ������������ ���������� ������� �������� ������������� � ������������ �������, ���������� ��� ������ ���������� ������� [7].
  4. Application Objects -- ��� ���������� ������-������� � ����������, ������� �������� ��������� ������������� ���� CORBA ��������������.

Object Request Broker

ORB (Object Request Broker, �� ���� ������ ��������� ��������) -- ��� ��������� ����. ��� ��������� �������� �������� ����������� � �������� �� ������� ������ ��������, ������������� ��� �������� (�� ����� ����������, �� � ������ ���������), ��� � ��������. ������� �� ���������� ���������������� � ������ ���������, � ������� ������� ���������� �������������� ����� ���������, ����� � �������� ��������� ���������. CORBA-������������ ����������� ���� IDL, ����������� � ������ �����, APIs ��� �������������� � ORB � �������, ��������������� ORB.

CORBA ORB ������������� ������� ����� �������������� middleware �����. ���� ORB ��������� �������� �������� ���� ����� ����� � �������� ������ � �������� ���� � ����� ��������� ������. ��� �������� ������� ����� ������ ��������, ��� ������ ������/������ middleware-�������, ����� ��� RPC (Remote Procedure Calls) ��� MOM (Message-Oriented Middleware).

�� RPC � ORB

��� �������� ������� CORBA ���������� �� ��������� RPC? ��, ��� ��������� ������, �� ��� �� ����� ����� ���� ���� ��������� �������� [5]. � ������� RPC ����� ������� ������������ �������. � � ������� ORB ����� ������� ����� � ������������� �������. ������ ������� ������� ����� ��-������� �������� �� ����� ������ � ���� �� ������. ��� ��� ������ ������ ��������� ����� ����������� (� ������� ������) �����������, �� ����� ����� ������ �� ������ ���������� ������.

� ������ RPC, ����� �������� ���� �����-�� ���������� ����� ���� �������, ������� � ��������������� � ������� �������. ��� ������� � ����������� ������� ����� ��������� ��������� ���������. � RPC ����������� ������������� �������, � ��� ������, � ����� ��� ���������� � ORB. � ORB ��� ������ ������� ���������� � ���������� ��������, ��� �����, ���������� ���� ������� ����� ���� ���������� ��������. ������ ������� �������������� � ����������� ��� ������� ���������� ������� �����.

����������� ORB

� ������, CORBA �������������� ��� ������ ������/������ middleware-�������, �� �� �������� ��� ������ ���� ���������, ��������� ������ ��������, �� �����������. � �������� ������������ ORB ���������: Orbix �� ����� IONA Technologies; DSOM �� IBM; ObjectBroker �� Digital; JOE �� Sun; Visibroker �� Visigenic � Netscape; ORB+ �� HP.

��������� ������ ��� �����, �������� �������� ������ CORBA ORB [5]:

  • ����������� � ������������ ������ �������. CORBA ORB ������������� ����������� ���� ���������� ���������� ������ ������� ����� �� ����� ����������, ���� �������� �� �����������, �� ��� �� ����� ������ ���������.
  • ����������� � ����� �������� ������. CORBA ORB ��������� �������� ������ � ��������� ��������� ��������� ����� �� ���������� ������ ������ �������� ������ -- C, C++, SmallTalk, Java � Ada. ���������� �������, �� ����� ����� �������� �������. CORBA �������� ���������� �� ���������� � ������������� �������-����������� ���� ������, ��� ��������� ������������ ����� �������, ����� ������� ������-�� ����������� ����� ���������������� � ���������� ������������ �������.
  • ����-������������� �������. � ������� ����� ����������, CORBA ��������� ��������� ��������� ������ �������, ���������� �������. ������ CORBA ORB ������ ������������ ����������� �����������, ������� ������ ����������� ����������, ����������� ��������� �����������, �������������� ���������. � ����� ������ ������� ���������� ��� ���������� ��� ������������� ������� � ��������.
  • ������������. ORB ����� ����������� ��� ��� �� ���� (�������� �� ����������� ����������), ��� � � ��������� ������ ���� ������ ORB, � �������� ��� ��������������� ����� CORBA 2.0 IIOP (Internet Inter-ORB Protocol) ���������. ORB ����� ������������ ���-��������� �������������� � ��� ������ ��������, � ��� ���������� ���������, ������������� �� ����� ������, � ��� ���������, ��� ���������� ���������� � ����, ��� ������� ������������� ���������. ���������� ���� ��������������, ������, ��������� �� ����������� ���� �������. � ����� ������, ��� ������������� ���������� CORBA, ����������� �� ������ ������������ �� � ����� ����� ��� ������������ ��������, ������ (�������������) ��������, ������������ ������� ���������� � ����������� �� ��������� � ������������ �������, �� � � ���, ��� �������������� �������� ���������. ������� ���� ���� ����� ����� �� ���� �������, �������������� �������� CORBA.
  • ���������� ������������. ��� ���� ������� ORB ��������� ��������� ����������� ����������� ������� ������������ ����������� ������.
  • ����������� ��� ������ �������. ��� ��� ����������, ORB �� ������ �������� ��������� ����� -- ORB �������� ����� �� ��������� �������. �� ���� ���������� ����� � ��� �� ������� �� ������ �������� ����� ��������� � ��������� ���������, � ����������� �� ���� �������.

Object Services

CORBA Object Services ������������ ����� ����� �������� ���������� ������, ������������ � ���� ��������� � ���������� ������������� IDL-������������. ��� ����������, � ��������� ������, ��������� ���������������� ORB. �� ����� ������������ ��� ��������, ���������� ��������� � ������� �������. �� ����������� ���� OMG ��������� ������������ ����������� ��������.

� ���������, ����������� ��� ������������ ORB �� ������������ �� ���� �� ��������, � ���� �������� (Visibroker) -- ����, ���.

Common Facilities

Common Facilities (����� ��������) ��������� ������������ ����� ORB � ���������� �������� � ����� �������, � ����������� ��������, � ������. ����� �������, ORB ������������ ������� ��������������, Object Services -- ��������������� ��������� ����������, � ������ Common Facilities -- ��������� ����������� �������� �������� ������, �������, �������, ����� �������� ������������� Object Services. ����� �������, ��������, �������������� Common Facilities, �������������, � ���������, ��� ������������� Object Services � ����������� ���������. ����������� ��� ����������� ������������ ����������� ����������� [7].

����� �������� ������� �� �������������� � ������������. � �������������� �������� ��������� ����� ����� �������, ���, ��������, ���������� �����������, ��������, ���� ��������, �� ���� ��������, �� ��������� �� ���������� ���������� ������. � ������������ �� ��������� �������, ����������� ��� �����-���� ������������ -- ��������, ��������, �������.

Application Objects

�������, ���� ��� ��������� � ������ � ORB, ������ ����������� � ������� IDL. ������ ���������� ������� �� ���������� ����������������� ������-��������. �, ��� �������, ����������-������� �������� ������ ��������������� ORB, Common Facilities � Object Facilities ��������. ���� ��� ���������� (��� ��������� ������������) ����������� � ���, ����� ������� ������ ������-������� � ���� �������, ��� ���, ��� ����������� �� �������������.


���������� | ���������


�. �. ������, �. ��. ������, �. �. ������
"���������� ���������������� �� Java 2. ����� 2. �������������� ����������"
���������>>
��������>>


��� �. ���������, ���� �������
"Java 2. ���������� �������������. ��� 1. ������"
���������>>
��������>>

����� � ��� �� �� ����� ���� ������ ������� ���.


[an error occurred while processing this directive]



Apache Struts 2.0.11
Apache MyFaces Trinidad Core 1.2.3.
Sun ��������� ��������� ���������� � Java ME �� Java SE
��������� �����!