Hi,
if you haven't done it yet you should have a look at WicketStuff data
store projects:
https://github.com/wicketstuff/core/tree/master/datastores-parent
this should give you some good ideas.
On 29/04/20 17:30, Shengche Hsiao wrote:
Thomas, thanks for your opinion, I'll try it
On Wed, Apr 29, 2020 at 2:49 PM Thomas Heigl <[email protected]> wrote:
Hi,
There are two options I'm aware of:
- You can use a session manager in your application server that stores your
session in the database. I.e. Tomcat's JDBC store.
- You can use Spring Session with a JDBC store
I recently implemented Spring Session for Wicket with Redis as a backing
store. There are minor issues with page locking that require some custom
code, but otherwise it works fine.
Best regards,
Thomas
On Wed, Apr 29, 2020 at 5:30 AM ShengChe Hsiao <[email protected]> wrote:
Dear all
I want to implement cross datacenter session replication for my web app,
can I persist session on shared database? If it does, how can I do?
I searched the web, and found org.apache.wicket.protocol.http.
SecondLevelCacheSessionStore.IClusteredPageStore
I have an idea for implement above interface and persist session on
target
database, right?
--------------------------------------------------------------------
----------------------------------->
To boldly go where no man has gone before.
--------------------------------------------------------------------
----------------------------------->
We do this not because it is easy. We do this because it is hard.
-----------------------------------------------------------------
-------------------------------------->
If I have seen further it is by standing on the shoulders of giants.
----------------------------------------------------------
--------------------------------------------->
[email protected]
--------------------------------------------------------------------------------------------->
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]