
NCache provides 100% native Java API support for Java applications. You can use NCache from any of Java applications including JSP Servlet, web services, Grid Computing applications, and any other server-type applications with high transactions.
NCache Java client uses the same proprietary socket-level protocol to talk to the cache server that the .NET client does. So, the performance and scalability of Java client is the same as .NET client. Below is a sample Java program using NCache.
import com.alachisoft.ncache.web.caching.NCache;
import com.alachisoft.ncache.web.caching.Cache;
import com.alachisoft.ncache.web.caching.CacheItemPriority;
public class BasicAPI Test
{
public static void main(String[] args)
{
Cache cache = NCache.initializeCache("mycache");
Customer cust = cache.get("Cust:ID:1000");
if (cust == null) cust = CustomerFactory.loadFromDb("1000");
cache.insert("Cust:ID:1000", cust, null, Cache.NoAbsoluteExpiration,
Cache.NoSlidingExpiration,
CacheItemPriority.Default);
cache.dispose();
}
}

NCache allows you to store your JSP Servlet sessions in an extremely fast in-memory cache with intelligent replication. And, you can do that without making any code changes to your JSP application. You can do this because NCache has implemented a JSP Servlet Filter that dynamiclly intercepts requests and responses and handles session persistence behind the scenes.
Storing JSP Servlet sessions in NCache is a much better option than storing them in the storage provided by Apache Tomcat, WebLogic, WebSphere, or JBoss. NCache is much faster, more scalable, and intelligently replicates your sessions to multiple servers so there is no loss of session data in case any server goes down.

NCache fully supports Windows and Unix platforms for your applications. You can run your Java applications either on Windows or any of the leading flavors of Unix (Linux, Solaris, etc.) and still access NCache seamlessly. This is because NCache client API is 100% native Java and runs on any platform where Java runs.
The server portion of NCache that hosts the cache runs on a Windows Server but the clients can be on either Windows or Unix. You can download either a Windows installer or a Unix installation program for NCache clients.

NCache fully supports Java SE and the leading Java EE environments includign Oracle WebLogic, IBM WebSphere, JBoss, and Apache Tomcat. This means that you can use NCache from pretty much any Java environment you want.
You can either use NCache for object caching (meaning making API calls to NCache) or automaticlaly store JSP Servlet sessions in NCache from any of the Java SE and Java EE environments.

According to Wikipedia, Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database.
And, The Spring Framework is an open source application framework for the Java comprising of several modules that provide a range of services.
Both Hibernate and Spring Framework are very popular in the Java community. Therefore, NCache provides support for both of these to allow you to use caching with them without changing any code in your application.