On 11 Nov 2009, at 12:50:33 PM, Phukan, Anit wrote: > Do I have to initialize the repository in my code in a different way to > include the initialContext/lookup? I am also trying to read the > datasource details from a properties.xml file. > > Till now I was using > > Repository repository = new TransientRepository();
You use the usual context lookup methods. See the following for an example of using both. http://kenai.com/projects/jcrmanager/sources/svn/content/trunk/src/app/com/sptci/jcr/SessionManager.java?rev=40
