jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Create durable JCR EventListener in Web Application
Date Wed, 14 Nov 2012 07:36:16 GMT
On Mon, Nov 12, 2012 at 5:30 PM, polofan123 <polofan@web.de> wrote:
>...Currently I have an EJB which creates a Session with Write
> Access. But I think as soon as the transaction is colsed, so is the session.
> Is there a way to keep a session alive during the whole application life
> cycle ?...

A static Session variable should work, I assume there's a cleaner way
to do that in an EJB environment but I'm not familiar with EJB.

-Bertrand

Mime
View raw message