• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to cache Map object of Jar in Spring cache

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

i have a requirement as below:i have an xml file which as has Keys and values (just as properties file), this need to be parsed and stored in Map . This program should be packaged as Jar. I have a spring application, where i need to store the the map object at application level, and i need to access that entries from JSP.

Now, 1) how can my spring application trigger the program in jar and store the returned Map object in Cache.
2) if stored, how to retrieve the Map object values in my JSP.
reply
    Bookmark Topic Watch Topic
  • New Topic