tags:

views:

40

answers:

2

we a facility in .net called recordset which stores the table data in the cache and can be used as table to fetch data from it which makes data retrival fast

do we have anything like that in java, if so how to cache them, how to retrive them, what is the access time, would it be faster than fetching from database, can anybody help implementing it....

A: 

You may want to check the java.sql package Specially the ResultSet, Rowset classes

naikus
+1  A: 

To cache already fetched data you might be interested in Ehcache

stacker