<?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 Re: Content store in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6562#M1506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just went throught the source code of Alfresco. It seems that the content service is wired with some other part of Alfresco. I don't want to rewrite my code each time you upgrade Alfresco.&amp;nbsp;&amp;nbsp; :cry: Is there a way to totally seperate content service from the other implementation of Alfresco? Moreover, is it possible for the user to choose either service from a configuration file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2005 18:15:52 GMT</pubDate>
    <dc:creator>olive</dc:creator>
    <dc:date>2005-10-27T18:15:52Z</dc:date>
    <item>
      <title>Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6559#M1503</link>
      <description>Now I found that all contents are stored in the file system. Is it possible for me to store contents in a database without the need to modify the core of alfresco?</description>
      <pubDate>Tue, 25 Oct 2005 19:41:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6559#M1503</guid>
      <dc:creator>olive</dc:creator>
      <dc:date>2005-10-25T19:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6560#M1504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;More specifically, if I use a xml database such as Exist, do I need to write the content service for the new content store? I didnot find the documents on how the content store is manipulated by the content service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2005 19:56:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6560#M1504</guid>
      <dc:creator>olive</dc:creator>
      <dc:date>2005-10-26T19:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6561#M1505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes out the box Alfresco stores content in files. It is possible to plug-in a different implementation of any of the Alfresco services, including the Content Store, which means you could write to any database you choose, including an XML database. However at present we only have one implementation of the ContentService - so you would need to modify Alfresco to create a new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 09:22:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6561#M1505</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2005-10-27T09:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6562#M1506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just went throught the source code of Alfresco. It seems that the content service is wired with some other part of Alfresco. I don't want to rewrite my code each time you upgrade Alfresco.&amp;nbsp;&amp;nbsp; :cry: Is there a way to totally seperate content service from the other implementation of Alfresco? Moreover, is it possible for the user to choose either service from a configuration file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 18:15:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6562#M1506</guid>
      <dc:creator>olive</dc:creator>
      <dc:date>2005-10-27T18:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6563#M1507</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 abstraction is at the &lt;/SPAN&gt;&lt;STRONG&gt;ContentStore&lt;/STRONG&gt;&lt;SPAN&gt; level, not at the service level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, we have the &lt;/SPAN&gt;&lt;STRONG&gt;FileContentStore&lt;/STRONG&gt;&lt;SPAN&gt; and I am busy with a &lt;/SPAN&gt;&lt;STRONG&gt;DbContentStore&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; We had a MemoryContentStore but there didn't seem to be much point in supporting it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend using &lt;/SPAN&gt;&lt;STRONG&gt;org.alfresco.repo.content.filestore&lt;/STRONG&gt;&lt;SPAN&gt; as a template.&amp;nbsp; Essentially, you have to write the &lt;/SPAN&gt;&lt;STRONG&gt;ContentWriter&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;ContentReader&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;ContentStore&lt;/STRONG&gt;&lt;SPAN&gt; implementations.&amp;nbsp; Hopefully the abstract classes and base tests will mean that you can concentrate on the nitty gritty that makes your store different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, to switch to your store, inject an instance of it into the &lt;/SPAN&gt;&lt;STRONG&gt;ContentService&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="xmlContentStore" class="org.alfresco.repo.content.xml.XmlContentStore"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="…"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;…&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="contentService" class="org.alfresco.repo.content.RoutingContentService" init-method="init"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="store"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="xmlContentStore" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend using the &lt;/SPAN&gt;&lt;STRONG&gt;AbstractContentReadWriteTest&lt;/STRONG&gt;&lt;SPAN&gt; in the same way that the &lt;/SPAN&gt;&lt;STRONG&gt;FileContentStoreTest&lt;/STRONG&gt;&lt;SPAN&gt; does.&amp;nbsp; This should ensure that the &lt;/SPAN&gt;&lt;STRONG&gt;ContentStore&lt;/STRONG&gt;&lt;SPAN&gt; can reliably use the new store.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note, the the &lt;/SPAN&gt;&lt;STRONG&gt;FileContentReader&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;FileContentWriter&lt;/STRONG&gt;&lt;SPAN&gt; implement the optional random-access-enabling interface.&amp;nbsp; This is required if you wish to use CIFS, FTP, etc.&amp;nbsp; There are ways to solve this with existing components; but we can go into that if required.&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, 28 Oct 2005 09:05:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6563#M1507</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2005-10-28T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6564#M1508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;STRONG&gt;DbContentStore&lt;/STRONG&gt;.&amp;nbsp; We had a MemoryContentStore but there didn't seem to be much point in supporting it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I'm not sure. A 64 bit address space I think will change the way we look at in-memory data. The MySQL 5.0 cluster architecture is as far as I recall based on a replicated in-memory model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 19:42:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6564#M1508</guid>
      <dc:creator>paulkeogh</dc:creator>
      <dc:date>2005-10-28T19:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6565#M1509</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;You are right about the MySQL clustering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I can't think of a use case where the content would be written to memory without being replicated, in-transaction, to some other kind of persistent store.&amp;nbsp; This might be useful if the persistent store didn't support random access and the file store was too slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 10:33:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6565#M1509</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2005-10-31T10:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Content store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6566#M1510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the response. Seems I do need to use FTP. But first I wiil try to implement the XML Content store according to your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 21:20:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-store/m-p/6566#M1510</guid>
      <dc:creator>olive</dc:creator>
      <dc:date>2005-10-31T21:20:21Z</dc:date>
    </item>
  </channel>
</rss>

