jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phukan, Anit" <Anit_Phu...@intuit.com>
Subject Jackrabbit with a web service project
Date Thu, 15 Oct 2009 01:00:01 GMT
Hi,

I am having problems reading from my repository.xml file when I try to
call a web service for a jackrabbit operation from a client project. 

I am not sure if it is due to the location of the repository.xml not
being correct because it tries to read the db conn parameters of the
default repository.

My assumption would be that the class loader should load the
repository.xml file if it is in the classpath.

Please let me know if anyone has any suggestions.

Thanks
Anit

-----Original Message-----
From: Guo Du [mailto:mrduguo@gmail.com] 
Sent: Wednesday, October 14, 2009 2:04 PM
To: users@jackrabbit.apache.org
Subject: Re: Jackrabbit Session inside Stateless Session EJB

On Wed, Oct 14, 2009 at 11:11 AM, Jaco Prinsloo <jacolists@gmail.com>
wrote:
> 1) Every request (method) opens a session, performs the work and then
closes
> the session again.
In general, we have a session open to process the request, works like
jdbc data source. It doesn't matter what environment you are using,
servlet container, ejb or standalone application.

> 2) There is one session per SLSB which is opened in PostConstruct and
closed
> in PreDestroy.
This is how you actual implement the session management in EJB
container.

> Are there any advantages/disadvantages to these two approaches?

I couldn't see the difference in your approaches.

-Guo

Mime
View raw message