Hi Mars,
in my opinion one of my most efective refactorings of last week was to replace the connection pool of struts-config.xml with a own connection pooling management class separated from struts. I use
http://www.bitmechanic.com/projects/jdbcpool/ (there might exist better ones. one could even use some object relational mapping tool).
It really helped to keep db access layer separated from struts. So I can put business logic in beans or other
Java classes, let them access the database,
test the business logic and then later build some struts-jsp/servlet stuff which accesses this business logic.
This leads to faster testing, better separation of logical layers, easier debugging if needed and maybe something I am still not aware of.
Any opinions?
..answering not asked questions
[ October 20, 2002: Message edited by: Axel Janssen ]