What is difference between doing connection pooling settings in application code like shown in below link vs doing on the server itself like shown in the second link for weblogic?
http://javarevisited.blogspot.com/2012/06/jdbc-database-connection-pool-in-spring.html
https://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/jdbc_connection_pools.html#1106131
Can someone explain?
Thanks!
If you are a web application programmer just trying out new stuff you can do it either way. You can learn both ways if you want to.
If you are setting up a company you may need more structure and separation of responsibilities:
Some of the advantages of Server Connection Pooling are: