1. Download Oracle Coherence 3.5 for Java Version from http://www.oracle.com/technology/software/products/ias/htdocs/coherence.html
2. Unzip the download into D:\ directory
3. Rename the coherence-java-v3.5b459 to coherence
4. Open Command Window [window1] and and navigate to the coherence directory (renamed above)
5. Type, cd coherence
6. Type, java -cp lib\coherence.jar com.tangosol.net.CacheFactory
7. Open another command window [window 2] and follow setps 4-6
8. On window1, type “cache MyCache”
9. On window1, type put 1 HelloWorld!
10. On window2, type “cache MyCache”
11. On window2, type get 1
12. It should return HelloWorld!
13. Now read the document at http://coherence.oracle.com/display/COH33UG/Creating+and+Using+Coherence+Caches and follow the section “Setting up your test environment”
No comments:
Post a Comment