<?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: Alfresco repository access from EJB in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178776#M131906</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 &lt;/SPAN&gt;&lt;STRONG&gt;alfresco SDK package&lt;/STRONG&gt;&lt;SPAN&gt; can immediately show you all the options you'll have to evaluate to best fit your use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Web-scripts may be the best way to integrate alfresco with an EJB application within the context of a shared servlet container, but in my personal experience WS sessions can be very efficiently manipulated in order to reduce the overhead of the remote calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2009 08:02:41 GMT</pubDate>
    <dc:creator>sisao</dc:creator>
    <dc:date>2009-04-14T08:02:41Z</dc:date>
    <item>
      <title>Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178773#M131903</link>
      <description>Hi,In one of our projects, we will using Alfresco ECM.Applications business logic will be in EJB, which will be deployed in a separate EAR.Please suggest mechanisms (and some sample for reference) using which EJB application could be integrated with Alfresco.JCR API seems to be the best choice, but</description>
      <pubDate>Mon, 13 Apr 2009 10:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178773#M131903</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-04-13T10:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178774#M131904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Several options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You build your EJBs to access alfresco via one of the remote interfaces.&amp;nbsp; RMI and Web Service will work but Web Scripts are the recomended way of remotely accessing the repository.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also be able to create Stateless Session Bean Facades that expose Alfresco via EJB but access the Java API locally and this would remove some of the overhead of a remote call.&amp;nbsp;&amp;nbsp;&amp;nbsp; Again you may be able to find a tool to generate your EJBs to expose the service APIs.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The Service APIs are all built to be exposed over SOAP so will easily work over a more capable protocol such as JRMP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 21:29:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178774#M131904</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-04-13T21:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178775#M131905</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;SPAN&gt;Thanks for the prompt response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would really help if you could provide some samples or examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Web services are one of the options, but again I would like to use JCR APIs from my EJB's business logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you suggest some ways of using JCR APIs from EJB's business logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, for the time being, my EJB application and Alfresco would be in the same application server JVM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Varun Bhansaly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 04:18:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178775#M131905</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-04-14T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178776#M131906</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 &lt;/SPAN&gt;&lt;STRONG&gt;alfresco SDK package&lt;/STRONG&gt;&lt;SPAN&gt; can immediately show you all the options you'll have to evaluate to best fit your use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Web-scripts may be the best way to integrate alfresco with an EJB application within the context of a shared servlet container, but in my personal experience WS sessions can be very efficiently manipulated in order to reduce the overhead of the remote calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 08:02:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178776#M131906</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-04-14T08:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178777#M131907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SDK Custom* cannot be used as we are not customizing Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK FirstWebServiceClient works fine in Eclipse IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK &lt;/SPAN&gt;&lt;STRONG&gt;FirstJCRClient&lt;/STRONG&gt;&lt;SPAN&gt; which uses &lt;/SPAN&gt;&lt;STRONG&gt;AlfrescoEmbedded&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine in Eclipse IDE, the question now arises is how would I access AlfrescoEmbedded in J2EE enviornment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More specifically, i am looking for something like in my EJB code &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public void HelloBean implements Hello {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String sayHello() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&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; Repository repository = GetAccessToAlfrescoRepository();&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; Then do some work, like add document, download document, delete document, check-in/ check-out document etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&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; e.printStackTrace();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, in future, we might deploy our application and Alfresco in separate JVMs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 08:35:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178777#M131907</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-04-14T08:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178778#M131908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can try out the web-services approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 12:12:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178778#M131908</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-04-14T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178779#M131909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Web services seem to be expensive way. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any lesser expensive mechanism ? Just as the pseudo code I had posted earlier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 13:02:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178779#M131909</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-04-14T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178780#M131910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what do you mean with "expansive"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The pseudo code you've provided implicitly use calls to a middleware…check the wiki for all the APIs that let you retrieve contents from and provide contents to the alfresco repository…they all introduce a minum system overhead imo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can go the web-scripts way for a light solution. Or just use the web-service if you decide you can afford the price&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use web-services to interact with alfresco with high performances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Furthermore, JCR does not fit best your case tbh….even though you can achieve the result with all the options really.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 17:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178780#M131910</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2009-04-14T17:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178781#M131911</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;SPAN&gt;Thanks so much for your replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Expensive" could be defined as - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Webservices come with the overhead of remote calls. - I have kept this option open, the only disadvantage with this could be like porting the application to another ECM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Further, if the ECM is JCR compliant, and if I am using JCR for repository access then, I could easily port the application with minimal changes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Varun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 00:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178781#M131911</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-04-15T00:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178782#M131912</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;Varun have you resolved the access to Alfresco transactional operations from EJB. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to access to the Alfresco API from an EJB, could somebody guide me or put any example code to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Juanjo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 12:46:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178782#M131912</guid>
      <dc:creator>juanjohdez</dc:creator>
      <dc:date>2009-06-12T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178783#M131913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally I am&amp;nbsp; using webservices from our EJB code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 14:11:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178783#M131913</guid>
      <dc:creator>vbhansaly</dc:creator>
      <dc:date>2009-06-12T14:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco repository access from EJB</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178784#M131914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Varun,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you put some sample code here? I am newbie with EJB and Alfresco, and would be very helpful to see some code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Juanjo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 08:14:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-repository-access-from-ejb/m-p/178784#M131914</guid>
      <dc:creator>juanjohdez</dc:creator>
      <dc:date>2009-06-15T08:14:48Z</dc:date>
    </item>
  </channel>
</rss>

