<?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 Singleton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757770#M1461149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;singleton Concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am planning to use Singleton class. But i am unclear about few things. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Instance created by one user by logining into the application(SAP) will be used by a different user(if the second user tries to get the instance) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Is the Singleton Class instance will be user login session specific. Meaning only 1 class instance for 1 user ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 15:42:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T15:42:05Z</dc:date>
    <item>
      <title>Singleton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757770#M1461149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;singleton Concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am planning to use Singleton class. But i am unclear about few things. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Instance created by one user by logining into the application(SAP) will be used by a different user(if the second user tries to get the instance) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Is the Singleton Class instance will be user login session specific. Meaning only 1 class instance for 1 user ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 15:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757770#M1461149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T15:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Singleton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757771#M1461150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Singleton object's visibility is only to that SESSION. If the same user starts a new session for the same application, he would get a new Singleton Object. Singleton object uses the same properties of the STATICS variable because to achieve the Singleton we need to use the STATIC attribute of that class. You may check this: [ABAP Objects Design Patterns - Singleton|http://help-abap.blogspot.com/2008/09/abap-object-design-patterns-singleton.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 15:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757771#M1461150</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-03-25T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Singleton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757772#M1461151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RJ, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naimesh describe exactly the point of the Singleton concept. &lt;/P&gt;&lt;P&gt;Further more your have the chance by using shared objects. There you can "save" a object through different programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/en/14/dafc3e9d3b6927e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/14/dafc3e9d3b6927e10000000a114084/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards &lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 09:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757772#M1461151</guid>
      <dc:creator>christian_breitenbach2</dc:creator>
      <dc:date>2010-03-26T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Singleton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757773#M1461152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Remo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact your doubt is not related to the singleton design patter but the sap architecture. &lt;/P&gt;&lt;P&gt;When a user runs a report, it (the report) is assigned to a empty &lt;STRONG&gt;work process&lt;/STRONG&gt; in the &lt;U&gt;application layer&lt;/U&gt;. The work processes which are responsible to do this kind of task (run programs) are "self independent" (they even know the existence of other work processes of the same kind).&lt;/P&gt;&lt;P&gt;Program's variables (including instances) are stored in memory areas reserved for each work process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it's not necessary to worry about this. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 16:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton/m-p/6757773#M1461152</guid>
      <dc:creator>FabioPagoti</dc:creator>
      <dc:date>2010-03-29T16:01:26Z</dc:date>
    </item>
  </channel>
</rss>

