<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JCR use from outside Alfresco.war in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48189#M27502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm somewhat new to JCR but have been using Java for a few years.&amp;nbsp; I am having trouble finding information that will help me make use of the JCR interface and was hoping someone could point me in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically what I want to do is access Alfresco using JSP pages from outside the alfresco.war application.&amp;nbsp; I intend on deploying, to the same server and the same JBoss instance, a second web application with a different context path.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So let's say I have alfresco.war under the context /alfresco and I have mywebapp.war under the context /mywebapp.&amp;nbsp; I was looking for the documentation that details how I can create a JSP as /mywebapp/index.jsp and having that JSP display content from Alfresco using the Alfresco content repository tag library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've read the following forum post: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=907&amp;amp;highlight=context" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=907&amp;amp;highlight=context&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however it seemed to go somewhat unanswered.&amp;nbsp; I've also read the documentation at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API&lt;/A&gt;&lt;SPAN&gt; but it seems to document the process of access the repository when a JSP file is created from within the Alfresco web application (i.e., the JSP would be /alfresco/faces/jsp/mypage.jsp instead of /mywebapp/index.jsp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using JCR outside the Alfresco web context, do I have to use JCR-RMI/Web Services or can I use the standard JCR?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2006 19:52:46 GMT</pubDate>
    <dc:creator>jlspies1</dc:creator>
    <dc:date>2006-11-07T19:52:46Z</dc:date>
    <item>
      <title>JCR use from outside Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48189#M27502</link>
      <description>Hello all,I'm somewhat new to JCR but have been using Java for a few years.&amp;nbsp; I am having trouble finding information that will help me make use of the JCR interface and was hoping someone could point me in the right direction.Basically what I want to do is access Alfresco using JSP pages from outsid</description>
      <pubDate>Tue, 07 Nov 2006 19:52:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48189#M27502</guid>
      <dc:creator>jlspies1</dc:creator>
      <dc:date>2006-11-07T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: JCR use from outside Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48190#M27503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For now, you have to use JCR-RMI or Web Services for remote access.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2006 10:31:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48190#M27503</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-11-08T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: JCR use from outside Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48191#M27504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the prompt answer.&amp;nbsp; So if I understand correctly, I'll need to setup the RMI or WS anytime I wrote code that is not part of the 'alfresco.war' directory (I'm running from an exploded WAR), even if my application resides inside the same JBoss instance, but just in another context?&amp;nbsp; There is no way to make JCR work by setting cross-context to true?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2006 13:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-use-from-outside-alfresco-war/m-p/48191#M27504</guid>
      <dc:creator>jlspies1</dc:creator>
      <dc:date>2006-11-08T13:40:40Z</dc:date>
    </item>
  </channel>
</rss>

