It would be great if anyone could share the code to implement connection pooling and session pooling in JMS client
You can use the ServerSession classes that come with the stardard JMS classes.
Alternatively, you want want to look at the ESB containers, since they already do that for you and you don't have to maintain that code.
But tell us a but more about your use cases so that we can give better advice than this.
Thomas