biznitchil
2007-11-12 05:15:49 UTC
I am thinking b or c
a.) Replace dynamic and precompiled SQL statements w/ stored proCEDURES.
b.) Use StringBuffer objects instead of instances of String when building SQL queries as string in your code.
c.) Use connection pooling, either through a datasource or by implementing your own.
d.) minimize queries involving joints.
e.) create all ResultSet objects to be TYPE_FORWARD_ONLY and CONCUR_READ_ONLY.