Pages

Wednesday, November 17, 2010

Why Spring?

  1. Wiring of components through Dependency Injection – Promotes de-coupling among the parts that make the application.
  2. Design to interfaces – Insulates a user of a functionality from implementation details.
  3. Test-Driven Development (TDD) – POJO classes can be tested without being tied up with the framework.
  4. Declarative programming through AOP – Easily configured aspects, esp. transaction support.
  5. Simplify use of popular technologies
    – Abstractions insulate application from specifics, eliminate redundant code
    – Handle common error conditions
    – Underlying technology specifics still accessible
  6. Conversion of checked exceptions to unchecked.
  7. Not an all-or-nothing solution – Extremely modular and flexible.
  8. Well designed
    – Easy to extend
    – Many reusable classes
  9. Integration with other technologies
    – EJB for J2EE
    – Hibernate, iBates, JDBC (for data access)
    – Velocity (for presentation)
    – Struts and WebWork (For web).

No comments:

Post a Comment