Professional Documents
Culture Documents
The Artifacts of Component-Based Development: M. Rizwan Jameel Qureshi, Shaukat Ali Hayat
The Artifacts of Component-Based Development: M. Rizwan Jameel Qureshi, Shaukat Ali Hayat
The Artifacts of Component-Based Development: M. Rizwan Jameel Qureshi, Shaukat Ali Hayat
It helps the programmer to integrate tools of different Sun Microsystems architecture allows the programmers to
vendors. use either enterprise Java bean or RMI technology. Beans
Components developed in different programming perform the same operation as the ActiveX components.
languages communicate with each other. This ability of RMI is used to call the components of a Java application into
components to intercommunicate is also known as another Java application over the network. The method to
interoperability. Use of Crystal report with VB or ASP call the objects is the same as is followed by CORBA. The
is an example of COM. Word application of one main limitation of RMI is that it is applicable only for Java
vendor integrating Spreadsheet application of another applications. The programmer has to use CORBA if he/she
vendor is another example of COM. wants to call the component of an application developed in a
3. Common Object Request Broker Architecture tool other than JAVA [18].
Object Management Group (OMG) has introduced a 5. Simple Object Access Protocol (SOAP)
standard for the intercommunication of the components
A group of corporations (Microsoft, IBM and Lotus) have
known as common object request broker architecture
developed SOAP protocol. It is a combination of HTTP and
(CORBA). The CORBA divides the architecture of different
programming languages developed by different vendors, e.g. XML. XML is based on the document object model (DOM).
Unlike the HTML, that is used only to display the data,
VB procedure can be called to C or C++ and vice versa. The
XML is used to manipulate the data. It is based on the
language used for intercommunication among the
components is known as interface definition language (IDL). object-oriented concept. XML document has parent and
child objects that are also called as nodes. The procedure
The procedure used to call the remote objects is known as
used to call the object of one application into another
remote procedure call (RPC). The service that is used to
communicate one component with another is called object application is the RPC as is used by CORBA [15].
request broker (ORB) [3]. The components used by the 6. Process Model of CBD
CORBA need to be registered in a repository. The The object oriented process model is the only process model
architectural design of CORBA is shown in figure 1. The that indicates the reuse of existing SW parts [8].
client component request is passed to IDL stub and then to
client operating system. The client operating system passes
that request to server operating system. The server OS sends
that message to server IDL stub and then to the server
component. The server component replies by providing the
necessary data to IDL stub. The IDL server stub sends that
message to the server OS. The server OS then sends that
reply to the client OS. The client OS sends the reply to the
client IDL stub and then to the client object.
Client component
Repository
IDL Figure 2 OO Process Model
ORB That model can be modified to implement component-based
development. The main phases of process model are shown,
Network in figure 2.
Customer Communication
ORB Planning
Risk Analysis
IDL Repository Engineering, construction and release
Customer Evaluation
[18] Deitel & Deitel. (2001). Java How to Program. USA, [21] Ning, J. Q. (1996). A Component-Based Software
Prentice Hall. Development Model. Proc. 20th Conf. Computer
[19] Luiz, F. C. Miriam, A.M.C., Dahai, L. (2001). Software and Applications, Seoul, Korea, 389-394.
Component-Based Software Process. Proc. 7th Int. [22] Richard, M. A. (1995). Emerging Standards for
Conf. Object-Oriented Information Systems, Calgary, Component Software. Computer, Vol. 28(3), 68-77.
Canada, 523-529. [23] Lim, W. C. (1994). Effects Of Reuse on Quality,
[20] Jihyun, L. Jinsam, K. Gyu-Sang, S. (2003).Facilitating Productivity and Economics. IEEE Software, Vol.
Reuse of Software Components using Repository 11(5), 23-30.
Technology. Proc. 10th Asia Pacific Conf. Software [24] Henry, E., Faller, B. (1995). Large Scale Industrial
Engineering, Chiang Mai, Thailand, 136-142. Reuse To Reduce Cost And Cycle Time. IEEE
Software, Vol. 12(5), 47-53.