RMI Section Index | Page 2

Sun has come up with a fairly good cookbook approach for converting existing RMI programs to use IIOP. See http://java.sun.com/j2se/1.4/docs/guide/rmi-iiop/rmi_iiop_pg.html#Convert. Also, note the...more

Yes, you should be able to use the ZipInputStream and ZipOutputStream classes within a custom socket factory to give you a new socket type that transparently compresses data. For a tutorial on how...more

I started working on RMI recently and this particular concept is not clear to me:
1.When the client invokes a remote method,which is void ,will the Client know this from the stub it gets from Regis...more

I Have a server that access a database via JDBC, and want to return ResultSets VIA RMI back to the Client.
I have read that this can't be done (But it can be got you could go through your ResultSe...more

Every time my remote method is executed, it creates a number of threads
and an equal number of other objects used to save data. However when the remote method returns, the memory allocated for thes...more

I am trying to do something using RMI Activation and I read an article discussing RMI activation in which the author said:
"There is no standard way to measure whether an object is "heavily" or "l...more

What is the case for RMI? I used to do RMI before the EJB era.
Can we not do everything we want to with RMI probably with a
stateless session bean? Why would one use RMI instead of a stateless
se...more

It is not mandatory to set a security manager for the use of Java/RMI. The reason to do this is so that the Java/RMI client can handle serialized objects for which the client does not have a corre...more

The most likely reason is that some of the of the classes may have been modified and recompiled while the RMI application was still running. You might want to restart the client, server and rmireg...more

A client I've written is trying to connect to a server that resides on another machine. The server is an implementation of the interface MyServer, and is called MyServerImpl. During the Naming.look...more

Firstly, you need to configure the call forwarder program running at a specific url (i.e./cgi-bin/java-rmi.cgi). To force http-tunneling you have to create a sun.rmi.transport.proxy.RMIHttpToCGISo...more

Do you mean to pass Swing Components as parameters to remote objects using RMI? If so, you are probably out of luck as most if not all of them are not directly Serializable.
For some Swing & AWT...more

Yes, that's true only with RMI systems prior to JDK 1.3, where you cannot serialize a string greater than 64k. You would have a java.io.UTFDataFormatException thrown if you tried. However, since ...more

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.