SlideShare a Scribd company logo
Q8M1 – SC Dudy Fathan Ali S.Kom
Distributed Application Development
Q8M1
Dudy Fathan Ali, S.Kom (DFA)
2017
CEP - CCIT
Fakultas Teknik Universitas Indonesia
Additional Documents
Q8M1 – SC Dudy Fathan Ali S.Kom
bit.ly/4sc1-repo
Download this Powerpoint Slide:
Objectives
Q8M1 – SC Dudy Fathan Ali S.Kom
Identify COM+
Create COM+ serviced components
Explore COM+ applications
Q8M1 – SC Dudy Fathan Ali S.Kom
Introducing COM+
Distributed Application Development
o Earlier distributed applications were based on DCOM.
o DCOM-based applications do not provide features such as secure
communication and reliable data transfer.
o To include such features in the distributed applications, you need to
implement COM+.
Q8M1 – SC Dudy Fathan Ali S.Kom
Evolution of COM+
Distributed Application Development
o Single-tier applications do not provide code reusability.
o COM was introduced to provide code reusability.
o COM had the following limitations:
o It does not allow a client application residing on a separate
computer to access a component.
o It does not provide features such as security and consistency of
data.
o These limitations led to the development of DCOM.
Q8M1 – SC Dudy Fathan Ali S.Kom
Evolution of COM+ (contd.)
Distributed Application Development
o DCOM:
o Allows developers to create a component that can be accessed by a
client application residing on a separate computer.
o Provides features such as security and platform independence that
are required in the distributed application architecture.
o DCOM does not provide features such as reliable data transfer,
enhanced performance, and optimum memory consumption required in
the distributed application architecture.
o This led to the development of COM+.
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services
Distributed Application Development
o COM+ provides various services that enable COM developers to develop
scalable and robust distributed applications.
o Some of the COM+ services are:
o Just-in-time activation
o Role-based security
o Synchronization
o Object pooling
o Transactions
o Queued components
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services (contd.)
Distributed Application Development
o The just-in-time (JIT) activation service:
o Enables optimum use of server resources.
o Can be implemented in a COM+ serviced component, as shown in
the following code snippet:
[JustInTimeActivation]
public class MyClass : ServicedComponent
{
//class body
}
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services (contd.)
Distributed Application Development
o The role-based security service:
o Is used to secure distributed applications.
o Provides role-based access to the components.
o Can be implemented in a COM+ serviced component, as shown in
the following code snippet:
[SecurityRole("Manager", SetEveryoneAccess=false)]
public class MyClass : ServicedComponent
{
//class body
}
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services (contd.)
Distributed Application Development
o The synchronization service:
o Enables you to manage multiple client applications accessing a
COM+ serviced component, simultaneously.
o Prohibits more than one application to access a component at a
particular point in time.
o Can be implemented in a COM+ serviced component, as shown in
the following code snippet:
[Synchronization(SynchronizationOption.Required)]
public class MyClass : ServicedComponent
{
//class body
}
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services (contd.)
Distributed Application Development
o A transaction:
o Enables a component to maintain data integrity and consistency by
grouping various related operations as an atomic unit.
o Is successful only when all the operations contained in the atomic
unit are completed successfully.
o Can be implemented in a COM+ serviced component, as shown in
the following code snippet:
[Transaction(TransactionOption.Required)]
public class MyClass : ServicedComponent
{
//class body
}
Q8M1 – SC Dudy Fathan Ali S.Kom
COM+ Services (contd.)
Distributed Application Development
o Message queuing service:
o Enables a client to send a message to a COM+ serviced component
even if the component is not available due to network connectivity.
o Can be implemented in a COM+ serviced component, as shown in
the following code snippet:
[assembly: ApplicationQueuing(Enabled = true,
QueueListenerEnabled = true)]
namespace MyComponent
{
public class Class1:ServicedComponent
{
//class body
}
}
Q8M1 – SC Dudy Fathan Ali S.Kom
Creating COM+ Serviced Components
Distributed Application Development
o Components that use COM+ services are called COM+ serviced
components.
o COM+ serviced components are derived from the .NET base class
ServicedComponent present in the System.EnterpriseServices
namespace.
o To implement COM+ services in a .NET component, you need to:
o Configure the component.
o Register the component.
Q8M1 – SC Dudy Fathan Ali S.Kom
Configuring a .NET Component
Distributed Application Development
o To implement COM+ services in a .NET component, you need to inherit
the ServicedComponent class present in the
System.EnterpriseServices namespace, as shown in the
following code snippet:
using System.EnterpriseServices;
namespace MyComponent
{
public class MyComponentClass:ServicedComponent
{
//class body
}
}
Q8M1 – SC Dudy Fathan Ali S.Kom
Registering a .NET Component
Distributed Application Development
o To enable a client application to access a COM+ serviced component,
you need to register it in the Component Services tool.
o You can register a component in the Component Services tool by using
any one of the following ways:
o Manual registration
o Programmatic registration
o Dynamic registration
Q8M1 – SC Dudy Fathan Ali S.Kom
Summary
Distributed Application Development
o In this session, you learned that:
o COM+ is a programming model that provides a number of features
such as security, queuing, and transactions.
o A component that implements the services provided by COM+ is
known as a COM+ serviced component.
o Some of the services provided by COM+ are:
o Just-in-time activation
o Role-based security
o Synchronization
o Object pooling
o Transactions
o Queued components
Q8M1 – SC Dudy Fathan Ali S.Kom
Summary
Distributed Application Development
o COM+ serviced components are derived from the .NET base class,
ServicedComponent present in the System.EnterpriseServices
namespace.
o The three ways in which a COM+ serviced component can be registered
are:
o Manual registration
o Programmatic registration
o Dynamic registration
o The COM+ serviced components that are related to each other and
perform similar functions can be stored in a COM+ application.
Q8M1 – SC Dudy Fathan Ali S.Kom
Summary
Distributed Application Development
o The various types of COM+ applications are:
o Library applications
o Server applications
o Application proxies
o COM+ preinstalled applications
Exercise (contd.)
Q8M1 – SC Dudy Fathan Ali S.Kom
o Sam, a manager at Imperial Bank, is constantly required to calculate the
interest amounts for the loans acquired by their customers. The bank
has the following schemes to grant loan to the customers:
o A five-year scheme with 5% rate of interest.
o A three-year scheme with 10% rate of interest.
o A two-year scheme with 15% rate of interest.
o You, as a software developer, need to create a COM+ serviced
component that calculates the interest and the total amount to be paid
by the customer at the end of the loan duration.
Exercise (contd.)
Q8M1 – SC Dudy Fathan Ali S.Kom
o In addition, you need to create a client application that uses the COM+
serviced component. The client application should accept the customer
name, the loan amount, and the number of years and display the total
amount to be paid by the customer at the end of the period.
o To calculate the interest and the total amount by using a COM+ serviced
component and to display the amount by using a client application, you
need to perform the following tasks:
o Create a COM+ serviced component.
o Register the COM+ serviced component.
o Create a client application.
o Execute and verify the client application.
Exercise (contd.)
Q8M1 – SC Dudy Fathan Ali S.Kom
bit.ly/4sc1-repo
Upload your answers in .rar extension to:
Q8M1 – SC Dudy Fathan Ali S.Kom
Thank You!
Dudy Fathan Ali, S.Kom
dudy.fathan@eng.ui.ac.id

More Related Content

What's hot (20)

PPT
.Net framework
Om Vikram Thapa
 
PPTX
Visual Studio 2010 and .NET Framework 4.0 Overview
Harish Ranganathan
 
PPT
.Net overview|Introduction Of .net
pinky singh
 
PPT
Architecture of net framework
umesh patil
 
PPTX
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
PDF
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
PPTX
Common language runtime clr
SanSan149
 
PPTX
Introduction to vb.net
suraj pandey
 
PPTX
Introduction to .net
Jaya Kumari
 
PDF
BCA IPU VB.NET UNIT-I
Vaibhavj1234
 
PPTX
.Net framework
Raghu nath
 
PPT
Net framework
sumit1503
 
PPTX
.Net Framework
MohamadKrm
 
PPTX
6.origins genesis of .net technology
Pramod Rathore
 
PPT
.net framework
Ram Sagar Mourya
 
PPT
Microsoft.Net
Vishwa Mohan
 
PDF
C# chap 2
Shehrevar Davierwala
 
PPT
.NET Framework Overview
Doncho Minkov
 
.Net framework
Om Vikram Thapa
 
Visual Studio 2010 and .NET Framework 4.0 Overview
Harish Ranganathan
 
.Net overview|Introduction Of .net
pinky singh
 
Architecture of net framework
umesh patil
 
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
Common language runtime clr
SanSan149
 
Introduction to vb.net
suraj pandey
 
Introduction to .net
Jaya Kumari
 
BCA IPU VB.NET UNIT-I
Vaibhavj1234
 
.Net framework
Raghu nath
 
Net framework
sumit1503
 
.Net Framework
MohamadKrm
 
6.origins genesis of .net technology
Pramod Rathore
 
.net framework
Ram Sagar Mourya
 
Microsoft.Net
Vishwa Mohan
 
.NET Framework Overview
Doncho Minkov
 

Similar to Understanding COM+ (20)

PPTX
Web services & com+ components
GowriLatha1
 
DOCX
Gireesh G.G Resume
Gireesh Gopal
 
PPTX
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Kiko Monteverde
 
DOCX
Shivani_CV (2) (2) (1)
Shivani Kulshreshtha
 
DOCX
Online bus pass registration
Yesu Raj
 
DOC
Resume_PankajTaneja_Infosystem
Pankaj Taneja
 
PDF
Driving the Telecom Digital Transformation through Open Digital Architecture
SanjeewaRavi
 
PDF
vinay-mittal-new
Vinay Mittal
 
DOCX
Project synopsis.
ssuser3bb83f1
 
PDF
Comodo SecureBox Management Console – Quick Start Guide
Riya Dey
 
PPTX
Comidor presentation 2014 for partners
George Fylaktopoulos
 
PPTX
Gain maximum benefit from Channel Technical Professionals and the technical p...
Arrow ECS UK
 
PDF
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Haytham Ghandour
 
PDF
Car Rental in C++
RitickKamal
 
PDF
MS .Net - An IntelliSense Way of Web Development
Edureka!
 
DOCX
Vnv kumar performance testing
Vinay Kumar
 
PPTX
UrbanCode Deploy course and product overview slides
IBM Rational software
 
DOCX
Mi0033 software engineering
smumbahelp
 
PDF
RICOH THETA x IoT Developers Contest : Cloud API Seminar
contest-theta360
 
PDF
Rami Yasser C.V
Rami Yasser
 
Web services & com+ components
GowriLatha1
 
Gireesh G.G Resume
Gireesh Gopal
 
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Kiko Monteverde
 
Shivani_CV (2) (2) (1)
Shivani Kulshreshtha
 
Online bus pass registration
Yesu Raj
 
Resume_PankajTaneja_Infosystem
Pankaj Taneja
 
Driving the Telecom Digital Transformation through Open Digital Architecture
SanjeewaRavi
 
vinay-mittal-new
Vinay Mittal
 
Project synopsis.
ssuser3bb83f1
 
Comodo SecureBox Management Console – Quick Start Guide
Riya Dey
 
Comidor presentation 2014 for partners
George Fylaktopoulos
 
Gain maximum benefit from Channel Technical Professionals and the technical p...
Arrow ECS UK
 
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Haytham Ghandour
 
Car Rental in C++
RitickKamal
 
MS .Net - An IntelliSense Way of Web Development
Edureka!
 
Vnv kumar performance testing
Vinay Kumar
 
UrbanCode Deploy course and product overview slides
IBM Rational software
 
Mi0033 software engineering
smumbahelp
 
RICOH THETA x IoT Developers Contest : Cloud API Seminar
contest-theta360
 
Rami Yasser C.V
Rami Yasser
 
Ad

More from Dudy Ali (20)

PPTX
Java CRUD Mechanism with SQL Server Database
Dudy Ali
 
PPTX
Network Socket Programming with JAVA
Dudy Ali
 
PPTX
XML Schema Part 2
Dudy Ali
 
PPTX
XML Schema Part 1
Dudy Ali
 
PPTX
Rendering XML Document
Dudy Ali
 
PPTX
Pengantar XML
Dudy Ali
 
PPTX
Pengantar XML DOM
Dudy Ali
 
PPTX
Pengantar ADO.NET
Dudy Ali
 
PPTX
Database Connectivity with JDBC
Dudy Ali
 
PPTX
XML - Displaying Data ith XSLT
Dudy Ali
 
PPTX
Algorithm & Data Structure - Algoritma Pengurutan
Dudy Ali
 
PPTX
Algorithm & Data Structure - Pengantar
Dudy Ali
 
PPTX
Object Oriented Programming - Value Types & Reference Types
Dudy Ali
 
PPTX
Object Oriented Programming - Inheritance
Dudy Ali
 
PPTX
Object Oriented Programming - File Input & Output
Dudy Ali
 
PPTX
Object Oriented Programming - Constructors & Destructors
Dudy Ali
 
PPTX
Object Oriented Programming - Abstraction & Encapsulation
Dudy Ali
 
PPTX
Web Programming Syaria - Pengenalan Halaman Web
Dudy Ali
 
PPTX
Web Programming Syaria - PHP
Dudy Ali
 
PPTX
Software Project Management - Project Management Knowledge
Dudy Ali
 
Java CRUD Mechanism with SQL Server Database
Dudy Ali
 
Network Socket Programming with JAVA
Dudy Ali
 
XML Schema Part 2
Dudy Ali
 
XML Schema Part 1
Dudy Ali
 
Rendering XML Document
Dudy Ali
 
Pengantar XML
Dudy Ali
 
Pengantar XML DOM
Dudy Ali
 
Pengantar ADO.NET
Dudy Ali
 
Database Connectivity with JDBC
Dudy Ali
 
XML - Displaying Data ith XSLT
Dudy Ali
 
Algorithm & Data Structure - Algoritma Pengurutan
Dudy Ali
 
Algorithm & Data Structure - Pengantar
Dudy Ali
 
Object Oriented Programming - Value Types & Reference Types
Dudy Ali
 
Object Oriented Programming - Inheritance
Dudy Ali
 
Object Oriented Programming - File Input & Output
Dudy Ali
 
Object Oriented Programming - Constructors & Destructors
Dudy Ali
 
Object Oriented Programming - Abstraction & Encapsulation
Dudy Ali
 
Web Programming Syaria - Pengenalan Halaman Web
Dudy Ali
 
Web Programming Syaria - PHP
Dudy Ali
 
Software Project Management - Project Management Knowledge
Dudy Ali
 
Ad

Recently uploaded (20)

PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 

Understanding COM+

  • 1. Q8M1 – SC Dudy Fathan Ali S.Kom Distributed Application Development Q8M1 Dudy Fathan Ali, S.Kom (DFA) 2017 CEP - CCIT Fakultas Teknik Universitas Indonesia
  • 2. Additional Documents Q8M1 – SC Dudy Fathan Ali S.Kom bit.ly/4sc1-repo Download this Powerpoint Slide:
  • 3. Objectives Q8M1 – SC Dudy Fathan Ali S.Kom Identify COM+ Create COM+ serviced components Explore COM+ applications
  • 4. Q8M1 – SC Dudy Fathan Ali S.Kom Introducing COM+ Distributed Application Development o Earlier distributed applications were based on DCOM. o DCOM-based applications do not provide features such as secure communication and reliable data transfer. o To include such features in the distributed applications, you need to implement COM+.
  • 5. Q8M1 – SC Dudy Fathan Ali S.Kom Evolution of COM+ Distributed Application Development o Single-tier applications do not provide code reusability. o COM was introduced to provide code reusability. o COM had the following limitations: o It does not allow a client application residing on a separate computer to access a component. o It does not provide features such as security and consistency of data. o These limitations led to the development of DCOM.
  • 6. Q8M1 – SC Dudy Fathan Ali S.Kom Evolution of COM+ (contd.) Distributed Application Development o DCOM: o Allows developers to create a component that can be accessed by a client application residing on a separate computer. o Provides features such as security and platform independence that are required in the distributed application architecture. o DCOM does not provide features such as reliable data transfer, enhanced performance, and optimum memory consumption required in the distributed application architecture. o This led to the development of COM+.
  • 7. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services Distributed Application Development o COM+ provides various services that enable COM developers to develop scalable and robust distributed applications. o Some of the COM+ services are: o Just-in-time activation o Role-based security o Synchronization o Object pooling o Transactions o Queued components
  • 8. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services (contd.) Distributed Application Development o The just-in-time (JIT) activation service: o Enables optimum use of server resources. o Can be implemented in a COM+ serviced component, as shown in the following code snippet: [JustInTimeActivation] public class MyClass : ServicedComponent { //class body }
  • 9. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services (contd.) Distributed Application Development o The role-based security service: o Is used to secure distributed applications. o Provides role-based access to the components. o Can be implemented in a COM+ serviced component, as shown in the following code snippet: [SecurityRole("Manager", SetEveryoneAccess=false)] public class MyClass : ServicedComponent { //class body }
  • 10. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services (contd.) Distributed Application Development o The synchronization service: o Enables you to manage multiple client applications accessing a COM+ serviced component, simultaneously. o Prohibits more than one application to access a component at a particular point in time. o Can be implemented in a COM+ serviced component, as shown in the following code snippet: [Synchronization(SynchronizationOption.Required)] public class MyClass : ServicedComponent { //class body }
  • 11. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services (contd.) Distributed Application Development o A transaction: o Enables a component to maintain data integrity and consistency by grouping various related operations as an atomic unit. o Is successful only when all the operations contained in the atomic unit are completed successfully. o Can be implemented in a COM+ serviced component, as shown in the following code snippet: [Transaction(TransactionOption.Required)] public class MyClass : ServicedComponent { //class body }
  • 12. Q8M1 – SC Dudy Fathan Ali S.Kom COM+ Services (contd.) Distributed Application Development o Message queuing service: o Enables a client to send a message to a COM+ serviced component even if the component is not available due to network connectivity. o Can be implemented in a COM+ serviced component, as shown in the following code snippet: [assembly: ApplicationQueuing(Enabled = true, QueueListenerEnabled = true)] namespace MyComponent { public class Class1:ServicedComponent { //class body } }
  • 13. Q8M1 – SC Dudy Fathan Ali S.Kom Creating COM+ Serviced Components Distributed Application Development o Components that use COM+ services are called COM+ serviced components. o COM+ serviced components are derived from the .NET base class ServicedComponent present in the System.EnterpriseServices namespace. o To implement COM+ services in a .NET component, you need to: o Configure the component. o Register the component.
  • 14. Q8M1 – SC Dudy Fathan Ali S.Kom Configuring a .NET Component Distributed Application Development o To implement COM+ services in a .NET component, you need to inherit the ServicedComponent class present in the System.EnterpriseServices namespace, as shown in the following code snippet: using System.EnterpriseServices; namespace MyComponent { public class MyComponentClass:ServicedComponent { //class body } }
  • 15. Q8M1 – SC Dudy Fathan Ali S.Kom Registering a .NET Component Distributed Application Development o To enable a client application to access a COM+ serviced component, you need to register it in the Component Services tool. o You can register a component in the Component Services tool by using any one of the following ways: o Manual registration o Programmatic registration o Dynamic registration
  • 16. Q8M1 – SC Dudy Fathan Ali S.Kom Summary Distributed Application Development o In this session, you learned that: o COM+ is a programming model that provides a number of features such as security, queuing, and transactions. o A component that implements the services provided by COM+ is known as a COM+ serviced component. o Some of the services provided by COM+ are: o Just-in-time activation o Role-based security o Synchronization o Object pooling o Transactions o Queued components
  • 17. Q8M1 – SC Dudy Fathan Ali S.Kom Summary Distributed Application Development o COM+ serviced components are derived from the .NET base class, ServicedComponent present in the System.EnterpriseServices namespace. o The three ways in which a COM+ serviced component can be registered are: o Manual registration o Programmatic registration o Dynamic registration o The COM+ serviced components that are related to each other and perform similar functions can be stored in a COM+ application.
  • 18. Q8M1 – SC Dudy Fathan Ali S.Kom Summary Distributed Application Development o The various types of COM+ applications are: o Library applications o Server applications o Application proxies o COM+ preinstalled applications
  • 19. Exercise (contd.) Q8M1 – SC Dudy Fathan Ali S.Kom o Sam, a manager at Imperial Bank, is constantly required to calculate the interest amounts for the loans acquired by their customers. The bank has the following schemes to grant loan to the customers: o A five-year scheme with 5% rate of interest. o A three-year scheme with 10% rate of interest. o A two-year scheme with 15% rate of interest. o You, as a software developer, need to create a COM+ serviced component that calculates the interest and the total amount to be paid by the customer at the end of the loan duration.
  • 20. Exercise (contd.) Q8M1 – SC Dudy Fathan Ali S.Kom o In addition, you need to create a client application that uses the COM+ serviced component. The client application should accept the customer name, the loan amount, and the number of years and display the total amount to be paid by the customer at the end of the period. o To calculate the interest and the total amount by using a COM+ serviced component and to display the amount by using a client application, you need to perform the following tasks: o Create a COM+ serviced component. o Register the COM+ serviced component. o Create a client application. o Execute and verify the client application.
  • 21. Exercise (contd.) Q8M1 – SC Dudy Fathan Ali S.Kom bit.ly/4sc1-repo Upload your answers in .rar extension to:
  • 22. Q8M1 – SC Dudy Fathan Ali S.Kom Thank You! Dudy Fathan Ali, S.Kom [email protected]