Professional Documents
Culture Documents
Assigment 1 Component Based Architecture 5. Advantage and Limitation Advantage
Assigment 1 Component Based Architecture 5. Advantage and Limitation Advantage
Assigment 1 Component Based Architecture 5. Advantage and Limitation Advantage
Advantage Limitation
6. Applicable domain
Component-based approach has in last years shown considerable success in many application domains.
Distributed and web-based systems, desktop and graphical applications are typical examples of domains
in which component-based approach has been very successful. In these domains the general-purpose
component technologies, such as COM, .NET, EJB, J2EE are used.
7. Demo
Step 3: Build a release version of DLL using the Build menu – see image below
Step 4: Create a new Windows Form Project
Step 5: Right click on References and select Add Reference. Click browse and locate the DLL in the bin
Name text boxes as: loanTB, durationTB, interestTB and paymentTB; and name button as calcB
Step 7: double click at Calculate button and enter code for
*Note that these are demo code; have not added any exception handling code.
Step 8: Click Run button, and enter 30000 for loan-6 for duration- 4 for interest. Then click Calculate