You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by ke...@yahoo.fr on 2006/11/14 13:43:06 UTC

jackrabbit Stateless mode

hi, 

I would like use jackrabbit with a stateless mode. 
I am develloping  a webservice application and i need 
a state less request when i call my service. I have
got several machine behind a load balancing. 
How to desactivate cache system ?

Cordially,

Grégoire


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com

Re: jackrabbit Stateless mode

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 11/14/06, keogaa-jackrabbbit@yahoo.fr <ke...@yahoo.fr> wrote:
> I would like use jackrabbit with a stateless mode.
> I am develloping  a webservice application and i need
> a state less request when i call my service. I have
> got several machine behind a load balancing.
> How to desactivate cache system ?

I assume you mean that you don't want to keep a JCR Session around
across multiple requests. The easiest way to achieve this is simply to
login and logout per each request. Using a session pool might also be
appropriate if you are mostly doing reads without built-in access
controls.

Note that even though there is an experimental clustering feature in
the Jackrabbit SVN trunk, it's probably not yet ready for production
use so you'll need to place the Jackrabbit repository on one server
machine and use RMI or some other remoting mechanism to access it from
other servers.

BR,

Jukka Zitting