This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes how to cache Map object of Jar in Spring cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how to cache Map object of Jar in Spring cache" Watch "how to cache Map object of Jar in Spring cache" New topic
Author

how to cache Map object of Jar in Spring cache

Venkata krishna rao kvk
Greenhorn

Joined: Feb 14, 2013
Posts: 4
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.
 
 
subject: how to cache Map object of Jar in Spring cache
 
Similar Threads
Need Help in Encryption
retrieving map object that is being returned by Jar file in JSP.
ModelAndView Object is getting null
how to append the values retrieved from the database to the hashmap
accessing Map object of Jar in JSP