开发者

How to use memcached on Win32?

开发者 https://www.devze.com 2022-12-20 03:40 出处:网络
I am using Win32 memcached from http://labs.northscale.com/memcached-packages/ And there is a DLL file within the package.

I am using Win32 memcached from http://labs.northscale.com/memcached-packages/ And there is a DLL file within the package.

Now I am trying to write my Java pro开发者_StackOverflow中文版ject to use memcached. Somebody suggested Java -> JNI -> Custom DLL -> standard DLL call -> 3rd Party DLL in order to use the API.

What is the solution?


There are several Java Memcached clients, such as http://code.google.com/p/spymemcached/ and https://github.com/gwhalin/Memcached-Java-Client/wiki Using those is probably easier than re-inventing the wheel...


You run Memcached as a separate program, possibly as a service, and you connect to it through TCP/IP. That's how it works on other platforms too.

You don not load Memcached as a DLL.

0

精彩评论

暂无评论...
验证码 换一张
取 消