<?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 Options seeing Alfresco repository from an external webapp in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133814#M93955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've deployed Alfresco 2.0 and Liferay 4.2.1 (both in the same Tomcat instance), and I expect to show a list of stored documents in a portlet, so I need to access the Alfresco repository from Liferay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to retrieve the spring context bean manually (as it's explained in the Wiki's example), but it seems that Liferay cannot access Alfresco's context this way. So I need a different manner to connect both apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I consider te following ones (to tell the truth, I'm not sure if any of them is incorrect):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1Ã‚Âº Try to put Alfresco's context as a cross-context (it can be checked in server.xml I think), and retrieve it from within the portlet next.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2Ã‚Âº Access the repository via Alfresco JCR-RMI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The point is that as I can see, in both solutions I have to perform some changes in the previous Alfresco / Liferay installation; and that's a little mess cause I had to make those changes in near 50 pcs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, does anybody know if there's any other way of accessing the repository, in which I only have to work within the portlet that I have to create? If not, which of the previous solutions do you recommend me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JoaquÃƒÂ­n&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2007 11:07:38 GMT</pubDate>
    <dc:creator>erennion</dc:creator>
    <dc:date>2007-10-31T11:07:38Z</dc:date>
    <item>
      <title>Options seeing Alfresco repository from an external webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133814#M93955</link>
      <description>Hi everyone:I've deployed Alfresco 2.0 and Liferay 4.2.1 (both in the same Tomcat instance), and I expect to show a list of stored documents in a portlet, so I need to access the Alfresco repository from Liferay.I tried to retrieve the spring context bean manually (as it's explained in the Wiki's ex</description>
      <pubDate>Wed, 31 Oct 2007 11:07:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133814#M93955</guid>
      <dc:creator>erennion</dc:creator>
      <dc:date>2007-10-31T11:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Options seeing Alfresco repository from an external webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133815#M93956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The simplest will be to create your own service interface for the high-level functionality that you require.&amp;nbsp; The current HEAD code has a simple standalone application that calls Alfresco using RMI-exported services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the build environment, run &lt;/SPAN&gt;&lt;STRONG&gt;ant -f continuous.xml distribute-bm-remote&lt;/STRONG&gt;&lt;SPAN&gt; to build the application.&amp;nbsp; You can look at the target and the classes involved.&amp;nbsp; The services are exported by an extension config file &lt;/SPAN&gt;&lt;STRONG&gt;bm-remote-loader-context.xml.sample&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea is simple.&amp;nbsp; You write a high-level service class that does the type of things your remote application needs and then export that service over RMI.&amp;nbsp; You'll need a service interface, an implementation class and a config file to Spring it all up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 00:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133815#M93956</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2007-11-02T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Options seeing Alfresco repository from an external webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133816#M93957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another way would be to use WebScripts and access list of documents etc. via HTTP API (even thought it's the same server, that's fine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 16:18:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/options-seeing-alfresco-repository-from-an-external-webapp/m-p/133816#M93957</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-11-09T16:18:02Z</dc:date>
    </item>
  </channel>
</rss>

