The org.apache.geode.cache.server package provides APIs used for the server side of client/server caching.

A {@link org.apache.geode.cache.server.CacheServer cache server} can be declared using the cache-server element described in the cache6_5.dtd.

Or it can be created by calling {@link org.apache.geode.cache.Cache#addCacheServer}.

Another option is to use the cacheserver executable which can be found in the GemFire bin directory.

To obtain an instance of CacheServer that has already been created use {@link org.apache.geode.cache.Cache#getCacheServers}.

See the client package for information on how to create clients that will connect to and access the cache in your cache server.