<?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: Newbie question... WCM delivery stack best practices in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174759#M127889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Web Scripts are automatically JSR 168 compliant portlets.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Could you elaborate on this further? I'm familiar with portlet development for WebSphere Portal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I interpret it, there's two potential uses of web scripts in relation to JSR-168 portlets:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 1. Running a web script in a JSR-168 runtime &lt;/SPAN&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;SPAN&gt; a portlet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 2. Running a web script in a servlet runtime and accessing it via HTTP &lt;/SPAN&gt;&lt;STRONG&gt;from&lt;/STRONG&gt;&lt;SPAN&gt; a portlet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these interpretations correct? I'm not clear on whether case 1 includes the use of a "proxy" portlet or not that maps to the web script - I picked that term up somewhere while reading up on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the first case, does that mean Alfresco and the portal of choice (e.g JBP, Liferay) need to be deployed on the same app server, or can they still reside on separate app servers if there's a "proxy" portlet in the picture? I'm looking at deploying an architecture where the portal is merely the content delivery channel, backed by one or more Alfresco Runtime Servers on separate infrastructure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would not be interested in an architecture where Alfresco has to be "embedded" within a portal to use a web script as a portlet. Does this limit my design to the second usage case, or have I misinterpreted how web scripts work as a portlet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2008 11:15:51 GMT</pubDate>
    <dc:creator>goldpelican</dc:creator>
    <dc:date>2008-08-27T11:15:51Z</dc:date>
    <item>
      <title>Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174756#M127886</link>
      <description>Is there a current "best practices" for developing a web application to deliver content from Alfresco WCM?I've been doing a bit of reading, but haven't had much of a chance to play with the technology yet… but my understanding is that Web Scripts should be used to expose web services against the Alf</description>
      <pubDate>Sun, 24 Aug 2008 23:39:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174756#M127886</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-08-24T23:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174757#M127887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like you are getting it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two main ways to deploy sites - to Alfresco runtime (ASR), in which case you'll have your site interact with web scripts, and deploy to file system, in which case alfresco deploys xml, and other files, and it's up to your site to know how to interpret that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;web scripts - is it a highly scalable and an efficient means of accessing the repository?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&amp;nbsp; Each ASR contains its own copy of all content and DB.&amp;nbsp; They are not dependent on each other at all, which means you can deploy your site on 20 servers, giving very good ability to scale. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can Web Scripts be used to populate content into the repository? i.e. allow users to create content without using Alfresco WCM directly, but a from custom web application.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Think of Web Scripts as stored procedures on top of Alfresco that may in some cases generate UI, so they can support all CRUD operations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm considering an architecture using JBoss Portal as a front end for a website, and would like to evaluate Alfresco WCM as the web content repository - has anyone done this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I know people got the two to work and to talk.&amp;nbsp; Web Scripts are automatically JSR 168 compliant portlets.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 05:34:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174757#M127887</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-08-26T05:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174758#M127888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! Very useful information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:10:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174758#M127888</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-08-26T12:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174759#M127889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Web Scripts are automatically JSR 168 compliant portlets.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Could you elaborate on this further? I'm familiar with portlet development for WebSphere Portal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I interpret it, there's two potential uses of web scripts in relation to JSR-168 portlets:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 1. Running a web script in a JSR-168 runtime &lt;/SPAN&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;SPAN&gt; a portlet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 2. Running a web script in a servlet runtime and accessing it via HTTP &lt;/SPAN&gt;&lt;STRONG&gt;from&lt;/STRONG&gt;&lt;SPAN&gt; a portlet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these interpretations correct? I'm not clear on whether case 1 includes the use of a "proxy" portlet or not that maps to the web script - I picked that term up somewhere while reading up on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the first case, does that mean Alfresco and the portal of choice (e.g JBP, Liferay) need to be deployed on the same app server, or can they still reside on separate app servers if there's a "proxy" portlet in the picture? I'm looking at deploying an architecture where the portal is merely the content delivery channel, backed by one or more Alfresco Runtime Servers on separate infrastructure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would not be interested in an architecture where Alfresco has to be "embedded" within a portal to use a web script as a portlet. Does this limit my design to the second usage case, or have I misinterpreted how web scripts work as a portlet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 11:15:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174759#M127889</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-08-27T11:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174760#M127890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Case 1. Running a web script in a JSR-168 runtime as a portlet&lt;BR /&gt;Case 2. Running a web script in a servlet runtime and accessing it via HTTP from a portlet&lt;BR /&gt;&lt;BR /&gt;Are these interpretations correct? I'm not clear on whether case 1 includes the use of a "proxy" portlet or not that maps to the web script - I picked that term up somewhere while reading up on this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right in both cases.&amp;nbsp;&amp;nbsp; Web Scripts are automatically portlets - they have a special channel which defines proper authentication, you can find it in web.xml, just like you can view a portlet at /alfresco/service/, you can call it as a portlet at /168service/.&amp;nbsp; There are instructions on the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Deploying_2.1WAR_Liferay4.3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You do need to be on the same server as the portal container. . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would not be interested in an architecture where Alfresco has to be "embedded" within a portal to use a web script as a portlet. Does this limit my design to the second usage case, or have I misinterpreted how web scripts work as a portlet?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;For Case 2 you described, which is also perfectly valid, you can be on two different systems, since you are just making http calls.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So yes, overall if you want to NOT embed alfresco, this is the way to do it.&amp;nbsp; this is on 2.X code branches.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was just told that with 3.0 / SURF, you can house portlets within the portal container which connect to a remote alfresco repository.&amp;nbsp; so you'll need surf runtime together with portlet container, but then you can have alfresco elsewhere on a different server.&amp;nbsp;&amp;nbsp; Surf layer is pretty light weight and is just responsible for the UI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 13:53:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174760#M127890</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-08-27T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question... WCM delivery stack best practices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174761#M127891</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;Sorry to cut into this thread, but on the topic of the following…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was just told that with 3.0 / SURF, you can house portlets within the portal container which connect to a remote alfresco repository.&amp;nbsp; so you'll need surf runtime together with portlet container, but then you can have alfresco elsewhere on a different server.&amp;nbsp;&amp;nbsp; Surf layer is pretty light weight and is just responsible for the UI.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;In this use case scenario, would it still be possible/good practice in using WCM to manage the SURF platform layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 01:16:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-question-wcm-delivery-stack-best-practices/m-p/174761#M127891</guid>
      <dc:creator>eli_lindner</dc:creator>
      <dc:date>2008-09-02T01:16:26Z</dc:date>
    </item>
  </channel>
</rss>

