hypercube
hypercube

Reputation: 1118

Caching considerations for JDBC and Java

I am having troubles deciding what cache solution should i choose for database objects from a remote db, accesed using JDBC. Since i have limited experience in the field, and a few hours of google search got me into more confusion, i call for your help.

I am interested very much in solutions with : extremely simple implementation and requirements, acceptable documentation and example of how-to-use, fast performer and easy to change the whole solution in the future (if required).

The solution proposed could lack a huge scale applicability (less than 100 users), but should not lack simplicity.

In other words, i am searching for the maximum results with minimal resources/effort.

P.S. I beg your pardon, i could have been a bit unspecific. I need an application/front end cache, and NOT a server/global cache.

Upvotes: 2

Views: 2026

Answers (2)

卢声远 Shengyuan Lu
卢声远 Shengyuan Lu

Reputation: 32004

ORM framework such as Hibernate contains cache functionality.

Upvotes: 0

M99
M99

Reputation: 1907

If I understand correctly, you are trying to cache the data that you get from your database to reduce the network/database calls. Following URL has the list of open source Java caching solutions. You can pick any one of them and integrate easily into your system.

http://java-source.net/open-source/cache-solutions

Upvotes: 1

Related Questions