Reputation: 22914
I am looking for a dependency injection framework for a Java SE (Swing) application that runs under JDK 1.4. Are there any recommended DI frameworks that I can use? (Guice and other annotation-based frameworks are out, and I don't want to mess with something like Retroweaver.)
Also, is Spring suitable for use in a Java SE application?
edit: this is a legacy application (which is why it's jdk 1.4) - I want to use spring to get some sanity into the ball of mud
Upvotes: 2
Views: 1237
Reputation: 116442
yes, it is. There is even a whole project called Spring Rich Client:
Spring-RCP's mission is to provide an elegant way to build highly-configurable, GUI-standards-following rich-client applications faster by leveraging the Spring Framework, and a rich library of UI factories and support classes.
Upvotes: 3