JCA uses the pooling mechanisms. If you implement a JCA 1.0 connector then you will have pooling like you do on datasources.
Datasource is just a special case of a JCA connector.
Thanks for your response, but may be I need to rephrase my question.
Lets say I have a resource of class "MyResource".
If I want to pool this resource, does Jboss have an Object pool framework (like the connection pool), that I can use to pool objects of "MyResource"? Or do I need to create an Object pool framework of my own.
The connection pool is implemented as a JCA resource adapter, if you implement your class so that it is part of a resource adapter it will be poolable.
Have you read anything on JCA yet?
Thanks darranl and Spritualmechanic, I think I got an idea based on what I read on JCA. Lets see how it works..