jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaco Prinsloo <jacoli...@gmail.com>
Subject Jackrabbit Session inside Stateless Session EJB
Date Wed, 14 Oct 2009 10:11:42 GMT
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?


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