<?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: Anyone using the Alfresco JCR RMI APIs? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174183#M127313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just out of interest, what is it that you don't like about Web Scripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 21:01:04 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-05-26T21:01:04Z</dc:date>
    <item>
      <title>Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174182#M127312</link>
      <description>Hello,Has anyone been using the JCR RMI API of Alfresco to develop a real-world web application (with real world I mean a working application, not just a proof of concept)?I refer to this API:http://wiki.alfresco.com/wiki/Is_JCR-RMI_Right_for_Me%3F#Alfresco_JCR_RMI_ExtentionMy company needs to imple</description>
      <pubDate>Mon, 26 May 2008 17:09:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174182#M127312</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-05-26T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174183#M127313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just out of interest, what is it that you don't like about Web Scripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 21:01:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174183#M127313</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-05-26T21:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174184#M127314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good question…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The point is that our customer would like to stay as close as possible to standards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the key requirements of our project is to have a remotized interface we plan to have a single, shared, Alfresco server and several indipendent web applications talking to the central Alfresco server. So the native in-process APIs of Alfresco are not an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Web Service API is indeed a "remotized API", but we have already been hurted a bit using, since we lost some days of development work because of a bug in the way the Web Service API manages the authentication token. See &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/ALFCOM-1013" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/ALFCOM-1013&lt;/A&gt;&lt;SPAN&gt; for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WebScritps are perceived as being a proprietary API for Alfresco, so we have been looking for something closer to the JSR-170 repository APIs, and the JCR RMI Extention APIs seem a reasonable approach… if they work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 21:33:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174184#M127314</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-05-26T21:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174185#M127315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No responses?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like nobody is using the RMI APIs… too bad, I was really looking for some feedback.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 14:26:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174185#M127315</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-06-04T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174186#M127316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using JCR RMI on Lutece (&lt;/SPAN&gt;&lt;A href="http://dev.lutece.paris.fr/plugins/plugin-jsr170/" rel="nofollow noopener noreferrer"&gt;http://dev.lutece.paris.fr/plugins/plugin-jsr170/&lt;/A&gt;&lt;SPAN&gt;). This is a plugin that provides a JCR browser, it is known to work on Jackrabbit and Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A lot of work has been done to make it work with JCR RMI due to many problems : loss of session, exceptions with some methods (see &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=28&amp;amp;t=5942&amp;amp;start=15" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=28&amp;amp;t=5942&amp;amp;start=15&lt;/A&gt;&lt;SPAN&gt;),…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to work correctly for the moment, but it has not been tested in a production environment yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Géraud&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 14:45:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174186#M127316</guid>
      <dc:creator>geraud</dc:creator>
      <dc:date>2008-06-12T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174187#M127317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Geraud.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's good to know that the JCR RMI APIs can be used for some "real world" apps, even if you faced implementation problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what you say, I understand that the problems were some bugs in the Alfresco JCR APIs, right? Do you know if these bugs have been logged into JIRA, and scheduled for a future fix?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, you were mentioning problem with unexpected session expirations… it's curious, since we found a similar problem while experimenting with the Web Services API. The issue was actually logged as a bug that will probably fixed in 3.0 (see &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/ALFCOM-1013" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/ALFCOM-1013&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Going back to the JCR RMI APIs… would you recommend using them? Did you face performance issues (for instance in performing queries and fetching result sets), or after the troubleshooting you're quite satisfied with these APIs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many other have suggested to use the Web Scripts API since this should be more and more the future "leading API" of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've nothing against Web Scripts, and I've started playing with them a bit… they seem quite simple to implement but I've not yet understood how to implement a number of things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What really concerns me is that Web Scripts are a sort of proprietary API, and I was hoping to be able to use a more standardized interface (even if probably less feature rich than the native Alfresco API). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From an open source company like Alfresco, I was expecting some more support for open standards like JSR-170… this slightly disappointing, in particular since the web site points to technical papers like "The Most Scalable JSR-170 Repository": that's OK, Alfresco has a good and scalable JSR-170 based repository, but accessing it through the JSR-170 API is difficult or cumbersome… I can accept it, but it sounds contradictory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 21:11:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174187#M127317</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-06-12T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174188#M127318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Orbix,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Web Services in a real world application and had problems with the ticket/session, too. However, they are solved: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=11259" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=11259&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ticket works 100%. My problem rather is performance. The alfresco webclient is quite fast and provides good capabilities to get data in batches and stuff (paging in the browser). With web services our application is a little slow. I'm already trying to reduce the number of calls to a minimum by always providing arrays. For some things, however it's necessary to make &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=12847" rel="nofollow noopener noreferrer"&gt;several calls per item you want to have information on&lt;/A&gt;&lt;SPAN&gt;. That takes quite some time then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You did not mention performance as an issue with web services. Would you consider it an issue? Maybe I'm doing something wrong. We are thinking (even planning) of switching to Web Scripts as they don't have the network/XML overhead. The downside is, they reside on the same server, alfreso does, so again performance…?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco in general seems to be quite performance hungry. A QuadCore with 4GB is really busy with only few users browsing (CIFS) on a standard installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you decided yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:07:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174188#M127318</guid>
      <dc:creator>tim-erwin</dc:creator>
      <dc:date>2008-06-24T12:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone using the Alfresco JCR RMI APIs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174189#M127319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Orbix,&lt;BR /&gt;&lt;BR /&gt;I'm using Web Services in a real world application and had problems with the ticket/session, too. However, they are solved: &lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=11259" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=11259&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The ticket works 100%.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, we are aware of the problem and we have asked Alfresco Engineering to escalate an official fix (it was initially slated for 3.0, now it should probably be included in a service pack for 2.x).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem rather is performance. The alfresco webclient is quite fast and provides good capabilities to get data in batches and stuff (paging in the browser). With web services our application is a little slow. I'm already trying to reduce the number of calls to a minimum by always providing arrays. For some things, however it's necessary to make &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=12847" rel="nofollow noopener noreferrer"&gt;several calls per item you want to have information on&lt;/A&gt;&lt;SPAN&gt;. That takes quite some time then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, we have found Web Service performance issues in executing certain queries, but I believe that the problem was actually the query syntax. I should check with the development team to see what is/was wrong in the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The major concern now is that the Web Services seem to show some serious limitations: for instance it seems impossible to execute a query that returns a set of results sorted in an arbitrary way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have the need of sorting results? Did you find a solution/workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You did not mention performance as an issue with web services. Would you consider it an issue? Maybe I'm doing something wrong. We are thinking (even planning) of switching to Web Scripts as they don't have the network/XML overhead. The downside is, they reside on the same server, alfreso does, so again performance…?&lt;BR /&gt;&lt;BR /&gt;Have you decided yet?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;We're thinking to switch to Web Scripts as well… hoping that it will not be another dead-end way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Initially we were thinking about using the JCR-RMI APIs, but it turned out that they're not usable in real world applications (see the note in this page: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JCR-RMI_Extension" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JCR-RMI_Extension&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So we started the implementation using the Web Services, and discovered the ticket expiration tickets and the fact that not all features are exposed through Web Services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next attempt would be Web Scripts (everybody at Alfresco says that this is they way to go…), but what if we'll discover other "surprises" - missing features, reliability problems - in the implementation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far it seems that the only complete and reliable API is the Alfresco Java Foundation API… that is in-process and not remotized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of remotized APIs… it's a bet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:09:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-using-the-alfresco-jcr-rmi-apis/m-p/174189#M127319</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-06-24T13:09:31Z</dc:date>
    </item>
  </channel>
</rss>

