i am looking for samples or tutorials of using Spring in a standalone (desktop/swing) application, i searched a lot but couldn’t get to something useful, all the examples and tutorials are for web applications, please advise.
i am looking for samples or tutorials of using Spring in a standalone (desktop/swing)
Share
Create the standalone application with maven, as pointed here:
Create a standalone application with Maven
Put the applicationContext in classpath, and load it in the main class as follows:
See full article here:
http://www.devdaily.com/blog/post/java/load-spring-application-context-file-java-swing-application