Hello,

I use a com component and i can't activate pooling on it.
I read that it was because of the threading model.

This component is like a database access component and
it's expensive to open a connection.

So, What do you think about these solutions :

1) Create a com wrapper using .net
Create an enterprise service which is poolable and reuse
connection with it.

2) Create a new .net pooling system from scratch.
for example :
http://www.csharphelp.com/archives/archive285.html

Thanks for your advices,

arno

RE: Create .net poolable object from COM by AlexKorchemniy

AlexKorchemniy
Mon Oct 18 16:43:01 CDT 2004

COM by itself doesn't do the pooling. COM+ is what you need. In the managed
world its called a serviced component. You can then set object pooling
atributes and it will run.

---
This posting is provided "AS IS" with no warranties, and confers no rights.
Alex Korchemniy

"arno" wrote:

> Hello,
>
> I use a com component and i can't activate pooling on it.
> I read that it was because of the threading model.
>
> This component is like a database access component and
> it's expensive to open a connection.
>
> So, What do you think about these solutions :
>
> 1) Create a com wrapper using .net
> Create an enterprise service which is poolable and reuse
> connection with it.
>
> 2) Create a new .net pooling system from scratch.
> for example :
> http://www.csharphelp.com/archives/archive285.html
>
> Thanks for your advices,
>
> arno
>