(1) What is the best practice of cache design?
Specifically, what are the cons and pros of using: ResultSet, entity object, or any other middle tier object, for example, jdom object.
(2) What is the good policy to assign cache scope?
Global, application, session, request, conversation.....
(3) How to promote and in what senarios to promote cache scope?
(4) What is the best trategy to let cache to be update-aware? When data is updated in backend databse, the cache will be refreshed. timestamps?
(5) What is the best solution to assign unique ID to various cache in differnt scope domain? How does the event handler be aware of the ID and pick up the right cache?
先问这些.....java, .net 技术不限. 谢谢.
Specifically, what are the cons and pros of using: ResultSet, entity object, or any other middle tier object, for example, jdom object.
(2) What is the good policy to assign cache scope?
Global, application, session, request, conversation.....
(3) How to promote and in what senarios to promote cache scope?
(4) What is the best trategy to let cache to be update-aware? When data is updated in backend databse, the cache will be refreshed. timestamps?
(5) What is the best solution to assign unique ID to various cache in differnt scope domain? How does the event handler be aware of the ID and pick up the right cache?
先问这些.....java, .net 技术不限. 谢谢.