RMI Section Index | Page 2

What changes do I have to make to my existing RMI program for it to use IIOP?

Can I use compression to improve RMI performance when transferring large datasets between the client and server?

How can i use Generics to improve my Java RMI programs?

I started working on RMI recently and this particular concept is not clear to me:

I Have a server that access a database via JDBC, and want to return ResultSets VIA RMI back to the Client.

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 these objects and threads is not freed. As a result, after executing the same method for a number of times, I get a java.lang.OutOfMemoryError.

I am trying to do something using RMI Activation

I made some changes to my remote interface and recompiled the server.

What is the case for RMI? I used to do RMI before the EJB era.

Is it mandatory for me to instantiate a security manager within my RMI server?

I am suddenly seeing java.lang.ClassMismatchError in my RMI application that was previously running fine. Why?

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.lookup() call in the client I'm getting a ClassCastException:

Is there any way by which I can force RMI invocations to always tunnel via HTTP?

Can I use Swing components within RMI?

Is it true that I cannot send data greater than 64K between an RMI client and server?