<?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: Objects and Shared memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299161#M1833701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have one instance in memory accessible by everyone, and one sets the title to "Free Pills" and the other sets it to "Download Warez", then one will win and the other will lose. You'll have no control over it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you say there's no updating, so the only issue I can see is that shared memory is shared &lt;EM&gt;per application server&lt;/EM&gt;. You have to make sure you instantiate on all app servers, or set up some communication mechanism so that it's instantiated on one server, and all other servers pass the request to that one server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Apr 2014 15:09:09 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2014-04-26T15:09:09Z</dc:date>
    <item>
      <title>Objects and Shared memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299160#M1833700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;So I can put a class object into shared memory like the create email class&lt;BR /&gt;cl_bcs.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; I'm trying to find out what happens if I have 100 people try and access the methods of this single class instance&lt;BR /&gt;now in memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 100 programs calling the object, it is not getting locked because I'm not reading, changing or updating data. I have one copy of the class to&lt;BR /&gt;generate email. What kind of problems am I likely to have since there is no locking and no instantiating of a "unique" object? Will user&lt;BR /&gt;destinations or email attachments be over written?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;P&gt; Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2014 13:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299160#M1833700</guid>
      <dc:creator>former_member461380</dc:creator>
      <dc:date>2014-04-26T13:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Objects and Shared memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299161#M1833701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have one instance in memory accessible by everyone, and one sets the title to "Free Pills" and the other sets it to "Download Warez", then one will win and the other will lose. You'll have no control over it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you say there's no updating, so the only issue I can see is that shared memory is shared &lt;EM&gt;per application server&lt;/EM&gt;. You have to make sure you instantiate on all app servers, or set up some communication mechanism so that it's instantiated on one server, and all other servers pass the request to that one server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2014 15:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299161#M1833701</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-04-26T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Objects and Shared memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299162#M1833702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;Many thanks for the quick response. If I created a class and called a BAPI in that class would the BAPI have locking properties if that class was in SM?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 19:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299162#M1833702</guid>
      <dc:creator>former_member461380</dc:creator>
      <dc:date>2014-04-30T19:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Objects and Shared memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299163#M1833703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I just don't know. Never tried it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 06:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-and-shared-memory/m-p/10299163#M1833703</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-05-01T06:38:36Z</dc:date>
    </item>
  </channel>
</rss>

