.:An Endless Journey:.
open source and me
  • Immutable Page
  • Info
  • Attachments

Why SpringFramework?

This topic can be slightly different answer when discuss with different context.

#. Using Spring in light weighted model.

  • - MVC tier + DAO + Annemic Domain Model - MVC tier + POJO and DDD style design

#. Using Spring in multi-tier architecture

#. Bean container provide DI, bean management, with following features:

  • - AOP - Injection preprocessing (custom annotation behavior) - Bean can be singleton, prototype, and customly defined scope
    • Compared with purely Session Bean model, this allow more flexible design
    - Configurability

#. Promoting 'Design to Interface'

  • - General (non-spring specific) design / engineering technique - Promote testability, loose coupling - Using Spring will promote this mentality.

#. Reduce coding

#. The maturity and propularity of Spring brings additional advantages

  • - Different framework, library provide Spring integration out of the box

#. Other commonly raised adv:

  • - Built-in integration for Web Services / various remoting technology - Built-in integration for JMX, Portlet

PrivateInfo/Draft/SpringAdv (last edited 2008-04-24 18:49:08 by ZarickLau)