Empresa engajada
Implement a connection pool which clients can use to get an active connection, use it and return it to connection pool when done. If a connection is invalidated, implementation should take care of handling it. For prototype assume a connection library.
Sigiloso
Can you please explain the problem with an example ?