摘要
针对J2EE多层架构应用中的缓存一致性问题,提出一个利用Oracle数据库更改通知(DCN)机制维护缓存一致性的方案,以分销资源计划系统为例,在中间层通过应用Java缓存系统来存储系统中频繁存取的数据库结果集,在数据层利用DCN机制维护缓存一致性,论述了相关实现技术。应用结果表明,该方案是有效和可行的。
To the question of cache consistency problem in J2EE multi-tier application, the mechanism of maintaining cache consistency by using Oracle Data Change Notification(DCN) is proposed. It takes distribution resource planning system as an example, uses Java Caching System(JCS) in middle tier to cache database query results that are frequently accessed, and utilizes DCN in data layer to maintain cache consistency. The implementation technology is discussed. The case proves that the scheme is effective and feasible.
出处
《计算机工程》
CAS
CSCD
北大核心
2008年第22期46-48,共3页
Computer Engineering
关键词
缓存一致性
Java缓存系统
数据库更改通知
cache consistency
Java Caching System(JCS)
Database Change Notification(DCN)