简体   繁体   中英

Java: How do you use key/value datastores like memcached with Java property file code?

We are trying to move away from property files as files on the file system and more want to use a server based key/value store.

Does anyone have any code to do this with Java. Are there systems already built to connect to a server like memcached and build a property object with key values?

I want to do this in a struts web based project and a wicket web based project.

看一下commons-configuration ,它提供了很多(几乎)加载和保存配置数据的方式。

内存缓存的Wiki 列出了一些Java客户端

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM