Create .net poolable object from COM

  • Thread starter Thread starter arno
  • Start date Start date
A

arno

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
 
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.
 
Back
Top