java - How can I use JDBCTemplate from Spring JDBC in a Swing desktop application? -
I use many JDBC codes in my swing desktop application. Now I read from But Spring JDBC needs some XML configuration files for beans Can I use JDBCTemplate without these XML configuration files (for example, with annotation)? Or how can I use this JDBC template in the swing desktop application for database access? You create a Spring @ configuration without a XML by creating aoted Java class and reference To create a configuration, create a Spring Context using the Antenna Conflict AppLogging Contex class See a code sample. JDBCTemplate with Spring in
Spring in Action and it looks like a good API to work with JDBC.
Comments
Post a Comment