Saturday, June 15, 2019

Component Based Software Engineering Assignment Example | Topics and Well Written Essays - 750 words

grammatical constituent Based Softw ar Engineering - Assignment ExampleThis is because these applications are already deployed originally for an environment or naturally embed assumptions based applications. In addition, the documentation procedure is nil, in these types of assumptions therefore if the component is reclaimed again then it is impossible to carry out test to check whether the assumptions are still valid or not. The implanted environmental assumptions are not incapacitate if they are reused in a different environment. However, this is possible only if the components are utilized in an operational system (Sommerville 1989). Component Composition The process regarding the Component Composition includes the integration of components with each former(a) and particularly if written glue code in order to generate a system or another(prenominal) component. There are different ways to compose components. The methods include sequential art object, hierarchical composition an d additive composition (Sommerville 1989). Sequential Composition Suppose a scenario in which you are composing two components for instance A and B. Now in order to generate a new component such as Sequential components you generate this by combining the 2 existent components. In other words the sequential component is formed by calling the existing components in sequence (Sommerville 1989). This composition can be addressed as a composition of the provides user interfaces.... Therefore, these compositions are used along with the components that include program elements or components that provide services. Hierarchical Composition The hierarchical composition occurs if the one component is called directly on the services offered by another component. These services are really quested by the calling components. Thus, the provide interface that are offered by the called components must need a compatible required interface of the calling component. here the component A calls direct ly the component. If the calling procedure is matched by their provided interfaces than no need of extra code is required for these components (Sommerville 1989). On the other hand, if the required interface between the two components such as A and B occurs than some conversion code is needed to overcome the situation. Moreover, the services do not need any required interface therefore, this type of composition is not utilized during the implementation as a web services. Additive Composition The additive composition happens when two or more components are added together in order to generate a new component that combines with each other functionally. The combination of the line of latitude interfaces includes the provide interface and the required interface. These interfaces are present in components A and B. However, these components are called separately with the help of their external interface of the composed component. In addition, the components A and B neither depend on each other nor they call each other. (Sommerville 1989) This kind of composition is actually utilized along with the other components that are program units or service components. In fact, all

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.