need sample ssm usage example for spring boot

24 views
Skip to first unread message

Pankaj Kumar

unread,
Aug 13, 2018, 3:38:58 PM8/13/18
to simple-spring-memecached
Hi All,

Could someone please help me getting the simple ssm implementation work with spring boot.
Please find the attached zip maven project. I have a democontroller in which I have a function for whose output I am trying to cache.

Thanks in anticipation
Pankaj
ssm-demo.zip

Jakub Białek

unread,
Aug 13, 2018, 3:59:50 PM8/13/18
to simple-spring-memecached
Hi Pankaj,

Thank you for using SSM. As regards to you code I see one issue. Method self invocation is not intercepted by Spring (this.cacheme()) so caching is not performed. To make it work move cacheme method to a separate bean and invoke it from your controller.

Best regards,
Ragnor

--
You received this message because you are subscribed to the Google Groups "simple-spring-memecached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-spring-memecached+unsub...@googlegroups.com.
To post to this group, send email to simple-spring-memecached@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-spring-memecached.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages