Results 1 to 4 of 4

Thread: Caching Data in Spring MVC

  1. #1
    Join Date
    Oct 2012
    Location
    Philippines
    Posts
    16

    Default Caching Data in Spring MVC

    Hi,

    Im planning to implement a caching mechanism in my current spring MVC application. Does anyone know how to implement this??

    Scenario is, I have a lookup table which the data is reusable to many pages. So my objective is to create a cache object (one time retrieval of data) that can be used acrossed pages.

    Please help...Thanks

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    Don't invent your own... Please don't...

    If you use an ORM tool use Level2 caching else use springs caching abstraction and simply cache the result of the method call to the backend service.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Oct 2012
    Location
    Philippines
    Posts
    16

    Default

    Do you have a dlcumentation on how to implement this? Spring Caching Abstraction. Thanks

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    The spring framework reference guide...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •