RMI Section Index

why we use home interface in EJB. In RMI we dont have any concept like home interface.why we particularly go for Home Interface Both RMI and EJB are distributed applications. In EJB we use Home interface which is not avaliable in RMI. There must be several reasons for using Home Interface of EJB. can any one give reason for this?

I want to connect a jini service to a rmi client. Please tell me how to do this as I have to complete my project.

Where can I find a complete example of using RMI in applets?

Why should my remote object extend UnicastRemoteObject?

How do I transfer a text file from server to client? I am trying to transfer a text file from server to client using File objects. but i am not getting success. so how can we transfer a text file without going into the Socket programming and streams.

I am trying to run a server (say a Apache Server or a tomcat servlet engine)on a remote machine using RMI for which I utilize the capabilities provided by the java.lang.Runtime class.When I execute the command I would like to show the results of the process to the user and at the same time I would like to specify whether the server has started successfully.For this I preferred to get the input stream of the process buffer it and read it.The problem now I am facing is ,when I try to read the stream I am unable to come out of the loop,because the input stream of the process has not ended.

I have a problem with the LocateRegistry.createRegistry(int port) method.

What is PortableRemoteObject.narrow() method and what is used for? I found somewhere that it is "CORBA compliant". Why?

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

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

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

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

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

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 made some changes to my remote interface and recompiled the server.

About | Sitemap | Contact