-
Component classes, what's the idea?
What's the idea behind Component Classes? When are they intended to be used
and what's the benefits?
How can you in the midle tier of a n-tiered remoting application use component
classes, when remoting objects must be inherited from MarshalByRefObject,
not from "System.ComponentModel.Component"?
Thanks,
Mikael
-
Re: Component classes, what's the idea?
The idea behind System.ComponentModel.Component is to allow developers to
easily create components that can interact with the Visual Studio IDE. If
you don't care about dragging and dropping the component onto the designer,
then just inherit from System.Object.
"Mikael" <mjs@nospam.beamex.com> wrote in message
news:3a8a6cff$1@news.devx.com...
>
>
> What's the idea behind Component Classes? When are they intended to be
used
> and what's the benefits?
>
> How can you in the midle tier of a n-tiered remoting application use
component
> classes, when remoting objects must be inherited from MarshalByRefObject,
> not from "System.ComponentModel.Component"?
>
> Thanks,
> Mikael
>
-
Re: Component classes, what's the idea?
>> How can you in the midle tier of a n-tiered remoting application use
>component
>> classes, when remoting objects must be inherited from MarshalByRefObject,
>> not from "System.ComponentModel.Component"?
The solution to this problem seems to be the viritual class "ServicedComponent",
which derives directly from "MarshalByRefObject".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks