Use case:
1.- generate 5 connectios...for all user
> login(
JSP) <-->
servlet doPost <---> Conn.java
Connection conn; <--(eg. Connection A)
private boolean inuse;
when search inuse = true
when finished inuse=false
> other user, login(JSP) <--> servlet Detect Connection A.inuse=false, then use it
without created other connection(use one from pool)
Reason:
I do not want to depend on the configuration of
tomcat to the pool implementers
What do you recommend?
what are the best practices?
Best Regards