jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaco Prinsloo <jacoli...@gmail.com>
Subject Re: Jackrabbit Session inside Stateless Session EJB
Date Wed, 14 Oct 2009 18:40:17 GMT
Hi Guo,

Sorry, I don't understand what you mean. Would you mind to elaborate?

Thank you,
Jaco

On Wed, Oct 14, 2009 at 1:14 PM, Guo Du <mrduguo@gmail.com> wrote:

> On Wed, Oct 14, 2009 at 11:11 AM, Jaco Prinsloo <jacolists@gmail.com>
> wrote:
> > Hi Experts,
> >
> > What is the "correct" way to access a Jackrabbit session from within a
> > stateless session EJB:
> >
> > 1) Every request (method) opens a session, performs the work and then
> closes
> > the session again.
> > 2) There is one session per SLSB which is opened in PostConstruct and
> closed
> > in PreDestroy.
> >
> > Are there any advantages/disadvantages to these two approaches?
>
> They are different topic for "these two approaches".
>
> Point 1 is the session management strategy.
> Point 2 is the actual implementation in your EJB environment.
>
> -Guo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message