1

I am new to spring mvc framework. I have implemented spring web application that is designed in MVC design pattern. Now, I want to implement my own designed metrics for my spring api's. So, I just want to know that whether I should use decorator design pattern for metrics implementation or not.

1 Answers1

0

Yes, "In general" you could easily have a MVC framework that supports the decorator pattern.

For spring in particular, Yes, you 'can' do it (I don't know personally how to) But here is a SO question about it explaining how to fix someone else's implementation of it. (So it 'can' be done)

sitemesh and spring MVC decorator pattern problems

Community
  • 1
  • 1
mawalker
  • 2,072
  • 2
  • 22
  • 34