Home | History | Annotate | Download | only in rmi

Lines Matching full:code

9 on a remote host.  The <code>javassist.tools.rmi</code> package provides

25 code="sample.rmi.CountApplet" width=200 height=200>
32 a socket. The <code>ObjectImporter</code> provided by Javassist deals
80 <p>A <code>Counter</code> object running on a remote host
82 calls <code>getObject()</code> on an <code>ObjectImporter</code>
86 For example, <code>counter.get()</code> and <code>counter.increase()</code>
89 <p>The definition of the <code>Counter</code> class is also
109 <p>Note that the <code>javassist.tools.rmi</code> package does not require
110 the <code>Counter</code> class to be an interface unlike the Java RMI,
111 with which <code>Counter</code> must be an interface and it must be
114 <p>To make the <code>Counter</code> object available from the applet,
115 it must be registered with the web server. A <code>AppletServer</code>
116 object is a simple webserver that can distribute <code>.html</code> files
117 and <code>.class</code> files (Java applets).
132 <p>The <code>exportObject()</code> method registers a remote object
133 with the <code>AppletServer</code> object. In the example above,
134 a <code>Counter</code> object is registered. The applet can access
136 if the <code>run()</code> method is called.
153 The reference object to a remote <code>Foo</code> object is
154 also represented by the class <code>Foo</code>.
157 <code>ProxyFoo</code> or an interface implemented by
158 <code>Foo</code>.
170 On the other hand, the <code>javassist.tools.rmi</code> package does not
179 program must use different versions of the class <code>Counter</code>.
180 The <code>Counter</code> object in the applet must work as a proxy
181 object, which transfers the method invocations to the <code>Counter</code>
185 produced by a special compiler such as <code>rmic</code>.
194 requests to load the <code>Counter</code> class, which is the class
197 transfers the version of <code>Counter</code> that Javassist generates