<?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: integrate alfresco to existing java application in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57051#M20566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q1) what are the different wetween REST API and webscript and which is the best method&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;See the &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;web scripts tutorial&lt;/A&gt; for more info on web scripts. The REST API should be the first API to try to use. If you cannot find what you need there (unlikely) then you can look for out-of-the-box web scripts that are marked "public" or "draft public".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Web scripts are used to implement a RESTful API. Alfresco has more than 400 out-of-the-box and you can add your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new REST API is where a lot of development is happening right now and it is always preferable to use what Alfresco is distributing versus develop your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q2) Is there an advantage to use only server alfresco without the front side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You'll likely need some sort of front-end to help with administrative tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q3) is there some links presenting the same architecture and how install and to tune ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="http://docs.alfresco.com" rel="nofollow noopener noreferrer"&gt;Read the docs&lt;/A&gt; and then let us know if you are still stumped. In our discussion on ecmarchitect.com I described the architecture to you, so you should be able to diagram that yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;Q4) is the &lt;/SPAN&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://api-explorer.alfresco.com/api-explorer/&lt;/A&gt;&lt;SPAN&gt; enough to manage doc (because I did't find for example upload pr retrieve doc) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes, you can use that API to create, update, and delete nodes, set permissions, perform searches, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q5) Which of the features described above are part of the server side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Server-side: Upload, retrieve docs, search docs, versioning, archiving, notification, OCR.&lt;/P&gt;&lt;P&gt;Client-side: Open doc in office, edit in real-time (you'll need an app that facilitates this), designing a process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q6) Is bpm workflow part of front side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes and no. BPM processes are typically designed on your workstation using a BPMN diagramming tool. However, there are web-based tools that also allow you to design BPM processes. Standalone Activiti allows you to do this, for example. Once you are done diagramming your process you'll deploy it to the server and it will run there inside the BPM engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q7) I will use jbpm to manage workflow steps for contracts/products, but docs follow also the same workflow, with alfresco it is a must to use it's bpm (activity module), how can choose my bpm ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Alfresco ships with Activiti, which was created by the same team that created jBPM. In older versions of Alfresco the engine was jBPM but in modern versions it is Activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have developed a custom app. If your custom app uses jBPM you can continue to use it in your custom app. There are a lot of ways you could implement workflow under this scenario. Without knowing what you need to do it is impossible to select the best. For example, your app could be entirely responsible for all workflows, even for docs stored in Alfresco. Your app (and your instance of jBPM) would just track node references or some other identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you could implement Activiti workflows within Alfresco and have your jBPM workflows kick those off. That might be a preferred option if you want your end-users to manage tasks within Alfresco instead of your custom app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want your users to only use your custom app for all interactions with documents, then conceptually you should just treat Alfresco like a back-end "document database" and do as much as you can in your own application. Under this scenario I would use your jBPM for workflow and ignore Alfresco's workflow capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q8) Is ocr of alfresco part of front side or server side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;OCR is not included in Alfresco. But that is a server-side function. As I mentioned in our discussion on ecmarchitect.com you could find an OCR add-on for Alfresco. Then your scanner could store scanned images in Alfresco (or your custom app could store them in Alfresco) and the add-on would convert the images to machine-readable text which would also be stored in Alfresco and your application could retrieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q9) Is there a solution to integrate front alfresco with my own front ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could do some simple Alfresco Share Dashlets that communicate with your custom application. You could also write a custom front-end to Alfresco using Alfresco ADF. Your custom ADF front-end would have custom components that talk to your custom application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q10) is there the necessity to remake from scratch my own work with alfresco to &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;homogeneous developement ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;No, absolutely not. That's the beauty of integrating with Alfresco via HTTP. Your app does not care that Alfresco is written in Java. Alfresco does not care that your app is written in whatever it is written in. The two communicate using a language they both understand, HTTP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2018 19:02:34 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2018-05-24T19:02:34Z</dc:date>
    <item>
      <title>integrate alfresco to existing java application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57048#M20563</link>
      <description>I have an application for customer/contract/product management developped by angularJS/Rest ws/Spring/ hibernate and postrgreSql, this app is called ERM Now I need to integrate doc management related to contracts and products The differents operation on docs&amp;nbsp; are :&amp;nbsp;&amp;nbsp; a) Upload, retreave docs -&amp;nbsp; b) S</description>
      <pubDate>Thu, 24 May 2018 18:17:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57048#M20563</guid>
      <dc:creator>ayoub</dc:creator>
      <dc:date>2018-05-24T18:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: integrate alfresco to existing java application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57049#M20564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For context, I have already provided some advice to Ayoub via a comment thread &lt;A href="https://ecmarchitect.com/alfresco-developer-series" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 18:43:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57049#M20564</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-24T18:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: integrate alfresco to existing java application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57050#M20565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest raising this question in the ECM forum &lt;A __default_attr="2004" __jive_macro_name="community" _jive_internal="true" class="jive_macro_community jive_macro link-titled" href="https://community.alfresco.com/community/ecm" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; as it is not related to ADF. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 18:54:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57050#M20565</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2018-05-24T18:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: integrate alfresco to existing java application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57051#M20566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q1) what are the different wetween REST API and webscript and which is the best method&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;See the &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;web scripts tutorial&lt;/A&gt; for more info on web scripts. The REST API should be the first API to try to use. If you cannot find what you need there (unlikely) then you can look for out-of-the-box web scripts that are marked "public" or "draft public".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Web scripts are used to implement a RESTful API. Alfresco has more than 400 out-of-the-box and you can add your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new REST API is where a lot of development is happening right now and it is always preferable to use what Alfresco is distributing versus develop your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q2) Is there an advantage to use only server alfresco without the front side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You'll likely need some sort of front-end to help with administrative tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q3) is there some links presenting the same architecture and how install and to tune ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="http://docs.alfresco.com" rel="nofollow noopener noreferrer"&gt;Read the docs&lt;/A&gt; and then let us know if you are still stumped. In our discussion on ecmarchitect.com I described the architecture to you, so you should be able to diagram that yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;Q4) is the &lt;/SPAN&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://api-explorer.alfresco.com/api-explorer/&lt;/A&gt;&lt;SPAN&gt; enough to manage doc (because I did't find for example upload pr retrieve doc) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes, you can use that API to create, update, and delete nodes, set permissions, perform searches, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q5) Which of the features described above are part of the server side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Server-side: Upload, retrieve docs, search docs, versioning, archiving, notification, OCR.&lt;/P&gt;&lt;P&gt;Client-side: Open doc in office, edit in real-time (you'll need an app that facilitates this), designing a process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q6) Is bpm workflow part of front side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes and no. BPM processes are typically designed on your workstation using a BPMN diagramming tool. However, there are web-based tools that also allow you to design BPM processes. Standalone Activiti allows you to do this, for example. Once you are done diagramming your process you'll deploy it to the server and it will run there inside the BPM engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q7) I will use jbpm to manage workflow steps for contracts/products, but docs follow also the same workflow, with alfresco it is a must to use it's bpm (activity module), how can choose my bpm ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Alfresco ships with Activiti, which was created by the same team that created jBPM. In older versions of Alfresco the engine was jBPM but in modern versions it is Activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have developed a custom app. If your custom app uses jBPM you can continue to use it in your custom app. There are a lot of ways you could implement workflow under this scenario. Without knowing what you need to do it is impossible to select the best. For example, your app could be entirely responsible for all workflows, even for docs stored in Alfresco. Your app (and your instance of jBPM) would just track node references or some other identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you could implement Activiti workflows within Alfresco and have your jBPM workflows kick those off. That might be a preferred option if you want your end-users to manage tasks within Alfresco instead of your custom app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want your users to only use your custom app for all interactions with documents, then conceptually you should just treat Alfresco like a back-end "document database" and do as much as you can in your own application. Under this scenario I would use your jBPM for workflow and ignore Alfresco's workflow capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q8) Is ocr of alfresco part of front side or server side ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;OCR is not included in Alfresco. But that is a server-side function. As I mentioned in our discussion on ecmarchitect.com you could find an OCR add-on for Alfresco. Then your scanner could store scanned images in Alfresco (or your custom app could store them in Alfresco) and the add-on would convert the images to machine-readable text which would also be stored in Alfresco and your application could retrieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q9) Is there a solution to integrate front alfresco with my own front ?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could do some simple Alfresco Share Dashlets that communicate with your custom application. You could also write a custom front-end to Alfresco using Alfresco ADF. Your custom ADF front-end would have custom components that talk to your custom application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Q10) is there the necessity to remake from scratch my own work with alfresco to &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;homogeneous developement ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;No, absolutely not. That's the beauty of integrating with Alfresco via HTTP. Your app does not care that Alfresco is written in Java. Alfresco does not care that your app is written in whatever it is written in. The two communicate using a language they both understand, HTTP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 19:02:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57051#M20566</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-24T19:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: integrate alfresco to existing java application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57052#M20567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moved it, thanks. Didn't realize it was in the process services forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 19:05:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-alfresco-to-existing-java-application/m-p/57052#M20567</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-24T19:05:03Z</dc:date>
    </item>
  </channel>
</rss>

