Monday, October 15, 2012

Design Patterns used in Spring ( in IOC, AOP and MVC)


Spring is a collection of best-practice API patterns. Having said that, there are many of these which are used by Spring to provide different module/functionality. To categorize them:

Spring DI/IOC:
  •  Strategy
  •  Singleton
  •  Factory

Spring MVC:
  •              Model View Controller
  •       View resolver
  •        Front Controller
  •              View Helper

Spring AOP and Remoting:

  •       Proxy
  •            Remote Proxy


BeanFactory and Context

  •       Singleton
  •        Factory
  •        Observer-Observable


PS: This list may not be complete/exhaustive/precise. However, the listed patterns are correct as per author’s knowledge.

Experts comment are welcome! :)

2 comments:

  1. Hi there would you mind sharing which blog platform you're using?
    I'm looking to start my own blog soon but I'm having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different
    then most blogs and I'm looking for something completely unique.
    P.S Apologies for being off-topic but I had to ask!

    my blog: tworzenie stron internetowych

    ReplyDelete
  2. Hi,

    I use blogger, by google.you can visit www.blogger.com for more details.
    I have not used wordpress as yet, but have got a lot of recommendation for the same. So, you can try that as well.

    Good luck and happy blogging :)




    ReplyDelete

Prototype

Prototype is another creation pattern. Intent:  - Intent is to create objects by cloning existing instance  - Specify the kinds of obj...