The article from JavaWorld woulda been just fine, if it hadn’t left out some details:
1. Spring DM (neither 1.0.2 nor the latest 1.1.0) doesn’t have spring-jdbc, spring-tx packages in it. They’re available at Spring website and then you can import them just like every other package (Import – Plug-in Development – Plug-ins and Fragments). (page 2)
2. You can use log4j from Spring DM, works for me (page 2).
3. The last page tells us to put “mysql connector” to a ‘JARs folder’ folder, and then add it to classpath in MANIFEST – Runtime. What it doesn’t tell is that you also need to go to MANIFEST – Exported Packages – Add and add com.mysql.jdbc (as well as other packages available) (page 7).