I strongly encourage Java client/server/web technologies. However, scripting languages continue to have a significant place in the market. Will Java be replaced? or will they live happily together?
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
iBATIS Datasource Configuration (plus Spring)
On a project, we originally used iBATIS "raw" and had the prototypical datasource defined like this:
Upon improving our application architecture to use true DAOs, we concurrently upgraded to use Spring DI in our web app and subsequently took advantage of using Spring 'template' wrappers. However, changing the configuration was quite a lesson learned on my part:
Step 1: Remove transactionManager from iBATIS
Step 2: Create new 'datasource' bean using Spring
Step 3: Create new Spring-wrapped SqlMapClient using new 'datasource' bean
Comments