Re: Keeping hessian servlet session active with a rop client

2010-09-14 Thread emanuele
I'll look into a dummy query to replace getEntityResolver Thanks for the suggestion > Nothing that is built in for this purpose, and IIRC that > 'getEntityResolver' approach may no longer work, as we are caching it now > on the client. You can issue a simple query instead I guess. Something > tha

Re: Keeping hessian servlet session active with a rop client

2010-09-14 Thread Andrus Adamchik
Nothing that is built in for this purpose, and IIRC that 'getEntityResolver' approach may no longer work, as we are caching it now on the client. You can issue a simple query instead I guess. Something that executes quickly and doesn't bring back any data. It may even end up having better perfor

Keeping hessian servlet session active with a rop client

2010-09-14 Thread emanuele
I've a swing application using cayenne ROP, i had problem with session timeout of the hessian servlet, so far in order to avoid long session timeout, i implemented a thread preforming the following: DataChannel channel; public void run() { for(;;) {