Like i created a connection poling with 25 connections.all are being engaged with 25 users,now what happens when 26 users wants to the connection.?
That depends on the pool implementation. It might throw an exception, or it might wait until another
thread hands back a connection to the pool, and then allow the code to continue.
2.What is the default connections number in connection pooling.?
Each implementation has a different default, but just about all of them allow that number to be configured, so the default doesn't mean much.
You should change it to something that suits your need anyway.