been seeing more and more implementations of <a href="http://wicketbyexample.com/api/wicket/1.4.5/org/apache/wicket/protocol/http/SecondLevelCacheSessionStore.IPageStore.html">IPageStore</a> out in the wild for Apache Wicket. The interface basically decides how Wicket will store the <a href="http://cwiki.apache.org/WICKET/page-maps.html">Pagemap</a> for your application. The default that ships with Wicket uses <a href="http://wicketbyexample.com/api/wicket/1.4.6/org/apache/wicket/protocol/http/pagestore/DiskPageStore.html">DiskPageStore</a> which is an implementation that stores the serialized pages grouped in a single file per pagemap. After reading a wonderful blog post on Letsgetdugg a few days ago: <a href="http://letsgetdugg.com/2010/02/07/clustering-wicket-for-fun-and-profit/">Clustering Wicket for fun and profit!</a>, I decided to take a look at writing an implementation using <a href="http://hazelcast.com/">Hazelcast</a> an open source clustering and highly scalable data distribution platform.<br><br>The implementation below borrows heavily from Victor. It basically creates a HazelcastInstance in the constructor and then overrides all the methods necessary from AbstractPageStore. Take a <a href="http://wicketbyexample.com/apache-wicket-clustering-with-multiple-options/">look at the rest of the article</a> to see the code behind a Hazelcast based page store.").substring(0,300); return _diggURL ; } Weve been seeing more and more implementations of IPageStore out in the wild for Apache Wicket. The interface basically decides how Wicket will store the Pagemap for your application. The default that ships with Wicket uses DiskPageStore which is an implementation that stores the serialized pages grouped in a single file per pagemap. After reading a wonderful blog post on Letsgetdugg a few days ago: Clustering Wicket for fun and profit!, I decided to take a look at writing an implementation using Hazelcast an open source clustering and highly scalable data distribution platform.
Click Here to read more...
The implementation below borrows heavily from Victor. It basically creates a HazelcastInstance in the constructor and then overrides all the methods necessary from AbstractPageStore. Take a look at the rest of the article to see the code behind a Hazelcast based page store.
Click Here to read more...
Comments