<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Active Object in the lights of Client-Server framework - Comments</title>
 <link>http://www.newlc.com/en/active-object-lights-client-server-framework</link>
 <description>Comments for &quot;Active Object in the lights of Client-Server framework&quot;</description>
 <language>en</language>
<item>
 <title>Re: Active Object in the lights of Client-Server framework</title>
 <link>http://www.newlc.com/en/active-object-lights-client-server-framework#comment-48530</link>
 <description>&lt;p&gt;Although this article is good for visualizing the use of active object with client server framework. Essentially it does not mean that this is how active objects should be used.&lt;br /&gt;
1. First, active objects are essentially for handling asynchronous requests. This should not be obviously linked to a client server framework just because most of them are asynchronous.&lt;br /&gt;
2. Servers are not only where active object should be used, it all depends on the design of the server. Usually we create server to isolate certain operations from the user&#039;s process space, handle multiple client requests, prevent spoofing(protected servers). So, the decision of creating a client server and that too asynchronous is purely a design decision. &lt;br /&gt;
Basically in the light of this article the strength of active object should not be mis-interpreted/diluted. Active objects give us the beautiful notion of issuing asynchronous request and a framework to perform the completion neatly (RunL). &lt;/p&gt;

&lt;p&gt;gangs.&lt;/p&gt;</description>
 <pubDate>Fri, 12 Sep 2008 07:56:27 +0200</pubDate>
 <dc:creator>gangs</dc:creator>
 <guid isPermaLink="false">comment 48530 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active Object in the lights of Client-Server framework</title>
 <link>http://www.newlc.com/en/active-object-lights-client-server-framework#comment-48057</link>
 <description>&lt;p&gt;Thats what I tried to explain. Actually I found it difficult understanding it through the timer example which are commonly given in books. Those examples hardly decipher the basic idea behind the Active Object framework.. Anyway, your explanation is very good. Hopefully this discussion will be able to remove the haziness that is there around active objects.&lt;/p&gt;</description>
 <pubDate>Wed, 13 Aug 2008 20:53:17 +0200</pubDate>
 <dc:creator>somenath</dc:creator>
 <guid isPermaLink="false">comment 48057 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active Object in the lights of Client-Server framework</title>
 <link>http://www.newlc.com/en/active-object-lights-client-server-framework#comment-48044</link>
 <description>&lt;p&gt;Active Objects gets so much easier to understand when you forget about the strange wide spread idea that they have anything at all to do with threads, or in any way or form is a replacement for them.&lt;/p&gt;

&lt;p&gt;What they are is implementing event driven programming.&lt;/p&gt;

&lt;p&gt;An active object is nothing more then an event observer, that performs some kind of task on the receiving of an event.&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;br /&gt;
Now let me tell you how this is possible in an Windows application. Once I had developed one such application using the Windows asynchronous I/O pattern and windows event mechanism. There the task of reading of the data from the communication port was delegated to a background thread. The background thread used to read the data and when it finishes some specific amount it used to fire an event to the front end UI, which then rendered the data in the front end UI.&lt;br /&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;And this is exactly how it works in symbian too.&lt;br /&gt;
The only difference really is that there is already an OS service available that implements that &quot;background thread&quot;, you don&#039;t have to implement it yourself.&lt;br /&gt;
All you have to do is to create an active object that listnes for the &quot;data available&quot; event, after issuing a request to the server thread to read some data.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 13 Aug 2008 11:08:32 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 48044 at http://www.newlc.com</guid>
</item>
<item>
 <title>Active Object in the lights of Client-Server framework</title>
 <link>http://www.newlc.com/en/active-object-lights-client-server-framework</link>
 <description>&lt;p&gt;When I started understanding Active Object framework in Symbian, it was difficult for me to grasp the idea how the front end UI is not frozen, in the event of long running task, even when we don&#039;t use multiple threads. But when i started understanding the active object framework in conjunction with the client-server architecture of symbian, I got the idea. I would like to share it with you.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/active-object-lights-client-server-framework&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/active-object-lights-client-server-framework#comments</comments>
 <category domain="http://www.newlc.com/en/taxonomy/term/1">Basics</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/37">S60</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/41">Symbian OS</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/55">Nokia</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/297">Active Object</category>
 <category domain="http://www.newlc.com/en/newlc/term/517">Asynchronous Functions</category>
 <category domain="http://www.newlc.com/en/newlc/term/516">Client Server Architecture</category>
 <pubDate>Wed, 13 Aug 2008 10:00:35 +0200</pubDate>
 <dc:creator>somenath</dc:creator>
 <guid isPermaLink="false">21631 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
