<?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: Client-Server Relationship in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194789#M1375188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing with the above scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider an example, there are 3 objects. Object 1, object 2 and object 3. Each belonging to different classes.&lt;/P&gt;&lt;P&gt;Now what will be the case when Object 1 of class 1 requests some services from Object 2 of class 2 and in turn object 2 requests services from object 1(instance of class 1)?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please provide your comments...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2009 09:20:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-15T09:20:09Z</dc:date>
    <item>
      <title>Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194783#M1375182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we are laready aware, there is a client - server relationship between the objects.&lt;/P&gt;&lt;P&gt;And in principle, objects can perform both roles simultaneously: They can offer&lt;/P&gt;&lt;P&gt;services to other objects while requesting services at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider an example, there are 3 objects. Object 1, object 2 and object 3.&lt;/P&gt;&lt;P&gt;Object 1 requests some services from object 2 and in turn object 2 request some services from object 3.&lt;/P&gt;&lt;P&gt;So in this case object 2 is playing the role of server and client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Query:&lt;/P&gt;&lt;P&gt;Is it possible that object 2 is requesting some services from object 1?&lt;/P&gt;&lt;P&gt;If so, it will create a 'deadlock' situation. How can we avoid this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 02:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194783#M1375182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T02:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194784#M1375183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible and it does not produce a deadlock. The run-time control flow can "come back" to an object which has invoked another method. As in classical ABAP programming, all method calls are placed on the call stack. If an object 1 calls a method of object 2 and within the method of object 2 a method of object 1 is called, this is no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same can happen with the subroutines of different programs: Program A can call a subroutine of program B. Within this routine of program B, another (or even the same) subroutine of program A can be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194784#M1375183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T22:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194785#M1375184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly thanks for your reply...:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide me the link from where I can get more information regarding this ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again for your assistance here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 02:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194785#M1375184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T02:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194786#M1375185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no "links" because it isn't an issue.  Deadlocks occur when you have communicating processes running in seperate threads.  In the situation you describe everything is in sequence in the same thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard ABAP Objects is single threaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what reason are you concerned about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 05:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194786#M1375185</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-10-15T05:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194787#M1375186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through the abap objects document and this came to my mind.&lt;/P&gt;&lt;P&gt;I was unaware that these are single threaded. Thanks for that...:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 05:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194787#M1375186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T05:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194788#M1375187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another query..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 09:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194788#M1375187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T09:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194789#M1375188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing with the above scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider an example, there are 3 objects. Object 1, object 2 and object 3. Each belonging to different classes.&lt;/P&gt;&lt;P&gt;Now what will be the case when Object 1 of class 1 requests some services from Object 2 of class 2 and in turn object 2 requests services from object 1(instance of class 1)?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please provide your comments...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 09:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194789#M1375188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T09:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194790#M1375189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as Matt already said: ABAP is single-threaded, so also in this case there is no problem. Each procedure call is placed at the top of the call stack which is processed top-down. There is no danger of deadlocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also remember that an object can call its own methods and especially can make recursive calls to the same method... all these method calls do not produce a deadlock (however, an infinite loop is possible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your doubts,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 13:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194790#M1375189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Objects: Client-Server Relationship</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194791#M1375190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David/Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the response..it cleared all the doubts..:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s.a.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 02:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-client-server-relationship/m-p/6194791#M1375190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T02:44:00Z</dc:date>
    </item>
  </channel>
</rss>

