What is a serviced component?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is a serviced component?

Rating:

A serviced component is a .NET component that uses component services of COM+, such as object pooling, transaction management etc. It executes within the managed execution environment of the .NET framework and shares its context with a COM+ application. It enables context sharing between COM+ and .NET Framework classes. A serviced component is created by defining a class that directly or indirectly derives from the ServicedComponent class. It utilizes COM+ services by using attributes of the System.EnterpriseServices namespace. A serviced component should be registered before it can access the component services of COM+. The following three types of registrations are used to register a serviced component:

  • Manual registration: The .NET Framework Services Installation (Regsvcs.exe) tool is used to manually register an assembly containing a serviced component. Manual registration is used for design-time testing to find out the error types that may occur at runtime.
  • Dynamic registration: In dynamic registration, an assembly with a serviced component is copied into the COM+ application's directory. Dynamic registration is used only when a serviced component is created by a managed client.
  • Programmatic registration: Programmatic registration is used to register an assembly containing a serviced component programmatically by creating an instance of the RegistrationHelper class.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.