This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I observed the following.
* Why do you get a connection pool in JSP?!
* Lines 25 & 28 : Why do you get the resource twice?
* If an exception is thrown on-or-before line 30, NullPointerException will be thrown, when the finally block executes !