Announcement Announcement Module
No announcement yet.
Using spring for standalone apps Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using spring for standalone apps

    I have used spring for J2EE and web apps but now is it reasonable to use spring for standalone apps with no J2EE api involved? Mainly I want to have inversion of control and maybe some AOP and interceptors stuff. What parts of spring are usable in such environment and you thoughts about it?


  • #2
    Absolutely - it can be used outside of a web app.

    Spring is made into 7 separate components and can easily be used for standalone apps. Look at Spring ref. docs section 1.1. Core, Context, AOP, DAO and ORM are all applicable to non-web apps.

    PS - See Spring Rich client project ( if you want a swing GUI.