DocumentCode :
3231217
Title :
The research of Hibernate cache technique and application of EhCache component
Author :
Jing, Wang ; Fan, Rui
Author_Institution :
Inf. Sch., Guangdong Ocean Univ., Zhanjiang, China
fYear :
2011
fDate :
27-29 May 2011
Firstpage :
160
Lastpage :
162
Abstract :
The author has studied Hibernate cache technique. Hibernate cache technique has the primary cache, the secondary cache, the query cache, etc., which are for different applications. The primary cache is built inside Hibernate framework. It cannot be deleted. It comes or goes with Hibernate Session. The secondary cache is a pluggable and configurable component provided by a third party. It caches the data once accessed. The query cache is a special secondary cache that focuses on HQL query results. The author used a third-party cache component "EhCache" to cache the data with the secondary cache and the query cache during the development of her project. The research has shown that for Hibernate Criteria component, the improvement of query efficiency with the secondery cache decreases with the increase of the data quantity in the database table. If the query data quantity is relatively large, the secondary cache can play a negative impact on the application programs.
Keywords :
Java; cache storage; EhCache component; HQL query; Hibernate cache technique; Hibernate criteria component; Hibernate session; configurable component; pluggable component; primary cache; query cache; secondary cache; third-party cache component; Educational institutions; Typhoons; EhCache cache component; Hibernate cache technique; query cache; secondary cache;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Communication Software and Networks (ICCSN), 2011 IEEE 3rd International Conference on
Conference_Location :
Xi´an
Print_ISBN :
978-1-61284-485-5
Type :
conf
DOI :
10.1109/ICCSN.2011.6014241
Filename :
6014241
Link To Document :
بازگشت