avi123
January 2nd, 2004, 04:19 AM
Hello,
I would like to use MTS capibilites for pooling
I saw on the component properties that there is a checkbox for pooling and that you can put the min & max number of objects
My questions are:
1. if for example I put 2 as the minimum number of objects, how can I make MTS create these 2 objects in advance, so when I'l cal createObject for the first time the object will already exist
2. Does checking the pooling (with for exmple 2 for minimum & 6 for maximum) promise me that If I createObject and then release it, it isn't destroy and when I make the next createObject it will use this object?
3. I tried to look at the MTS/COM+ documentation but it was very poor, and most of what I learned so far, was by tring & testing, and some explanation at this site.
so if anyone could reference me to a good documenetaion/exampes It will be the best
thank
avi
I would like to use MTS capibilites for pooling
I saw on the component properties that there is a checkbox for pooling and that you can put the min & max number of objects
My questions are:
1. if for example I put 2 as the minimum number of objects, how can I make MTS create these 2 objects in advance, so when I'l cal createObject for the first time the object will already exist
2. Does checking the pooling (with for exmple 2 for minimum & 6 for maximum) promise me that If I createObject and then release it, it isn't destroy and when I make the next createObject it will use this object?
3. I tried to look at the MTS/COM+ documentation but it was very poor, and most of what I learned so far, was by tring & testing, and some explanation at this site.
so if anyone could reference me to a good documenetaion/exampes It will be the best
thank
avi