~ubuntu-branches/ubuntu/oneiric/libjboss-remoting-java/oneiric

« back to all changes in this revision

Viewing changes to docs/guide/html/ch13.html

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head>
2
 
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3
 
   <title>Chapter&nbsp;13.&nbsp;Client programming model</title><link rel="stylesheet" href="css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="JBoss Remoting Guide"><link rel="up" href="index.html" title="JBoss Remoting Guide"><link rel="previous" href="ch12.html" title="Chapter&nbsp;12.&nbsp;How to use it - sample code"><link rel="next" href="ch14.html" title="Chapter&nbsp;14.&nbsp;Compatibility and versioning"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;13.&nbsp;Client programming model</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch12.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch14.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e8253"></a>Chapter&nbsp;13.&nbsp;Client programming model</h2></div></div><div></div></div><p>The approach taken for the programming model on the client side is
4
 
    one based on a session based model. This means that it is expected that
5
 
    once a Client is created for a particular target server, it will be used
6
 
    exclusively to make calls on that server. This expectation dictates some
7
 
    of the behavior of the remoting client.</p><p>For example, if create a Client on the client side to make server
8
 
    invocations, including adding callback listeners, will have to use that
9
 
    same instance of Client to remove the callback listeners. This is because
10
 
    the Client creates a unique session id that it passes within the calls to
11
 
    the server. This id is used as part of the key for registering callback
12
 
    listeners on the server. If create a new Client instance and attempt to
13
 
    remove the callback listeners, a new session id will be passed to the
14
 
    server invoker, who will not recognize the callback listener to be
15
 
    removed.</p><p>See test case
16
 
    <tt class="code">org.jboss.test.remoting.callback.push.MultipleCallbackServersTestCase</tt>
17
 
    .</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch12.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch14.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;12.&nbsp;How to use it - sample code&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;14.&nbsp;Compatibility and versioning</td></tr></table></div></body></html>
 
 
b'\\ No newline at end of file'