Private Components

COM+ 1.5 provides a new feature called private components. Every component has, at the bottom of its activation tab, the “Mark component private to application” checkbox (see Figure B-15). A private component can only be accessed by other components in the same application. Private components are needed in almost every decent size COM+ project. To promote loose coupling between clients and objects, you should avoid providing the clients with access to the internal objects by marking them as private.

Get COM & .NET Component Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.