jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
RMI FAQ Home Page

FAQ Manager is guru Govind Seshadri PREMIUM.

Remote Method Invocation (RMI) brings the world of distributed object computing to Java's doorstep. Using RMI, Java objects can invoke the methods of remote objects running under an entirely different JVM, as if they were locally available.

What's New

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...
Java:API:EJB, Java:API:RMI
Nick Maiorano PREMIUM, May 5, 2003
By posing this question, you seem to be comparing RMI and EJB as if they were the same type of technology and they are definately not. RMI is a lower level...
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.
Java:API:RMI
Edward Harned, Feb 16, 2003
Start by reading Dr. Edwards book: http://www.kedwards.com/jini/index.html
Where can I find a complete example of using RMI in applets?
Java:API:RMI, Java:API:Applets
Jason Rosenblum, Mar 19, 2002
Sun provides one in their Getting Started with RMI guide.

Why should my remote object extend UnicastRemoteObject?
Java:API:RMI
gunther van roey, Jan 31, 2002
If you extends this class, your object will be automatically exported for RMI access. If your class is already extending another class, or you just don't...
I have a problem with the LocateRegistry.createRegistry(int port) method. The registry starts of fine with no problem with the first passed port number but later if I try to start the registry again...
Java:API:RMI
gunther van roey, Jan 30, 2002
The problem is that there can be only one RMI registry created in a Vitrual Machine. (this is a limitation to the concept of RMI). Since RMI needs...
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...
Java:API:RMI
Bob Lee, Jan 30, 2002
I wrote a RemoteRuntime server geared at just that. http://crazybob.org/runtime.zip. Edit the "runtime.policy" file to tighten/ease the security restr...
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...
Java:API:RMI
gunther van roey, Jan 30, 2002
In Java, a File Object simply represents a possibly existing file on the file system. If you create a file object like this: File f = new File (...
What is PortableRemoteObject.narrow() method and what is used for? I found somewhere that it is "CORBA compliant". Why?
Java:API:EJB, Java:API:RMI, Distributed computing:CORBA, Java:API:EJB:2.0
Alessandro A. Garbagnati PREMIUM, Jan 25, 2002
Hi, When you execute a lookup to get the home interface of your bean, you normally use the lookup() method of the javax.naming.Context interface. This...
What changes do I have to make to my existing RMI program for it to use IIOP?
Java:API:RMI:Java 2
Govind Seshadri PREMIUM, Dec 28, 2001
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...
Can I use compression to improve RMI performance when transferring large datasets between the client and server?
Java:API:RMI:Custom sockets
Govind Seshadri PREMIUM, Dec 28, 2001
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...
How can i use Generics to improve my Java RMI programs?
Java:API:RMI, Java:Language
Davanum Srinivas PREMIUM, Dec 25, 2001
Generics and Method Objects is an excellent source for information on how to use "Generics" with Java RMI. More information on "Generics" can be found...
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 Registry...
Java:API:RMI
Dave Bucci, Dec 20, 2001
I believe that the call is synchronous because the client must be prepared to receive exceptions back, which may be thrown at any time throughout the server...
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 ResultSet...
Java:API:RMI
Benoit Quintin PREMIUM, Dec 20, 2001
Look, as far as I understand it, a resultset really doesn't make ANY sense once serialized out of the JVM it was created in. You are right, going through...
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...
Java:API:RMI
Edward Harned, Nov 30, 2001
If the threads you created have a reference to the objects used to save data, then those object will never be garbage collected. If the threads you...
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 "lightly"...
Java:API:RMI:Activation
Edward Harned, Nov 30, 2001
Our company uses the activation framework. Each RMI method increments a counter of times used in persistent storage. That is -- not a field within...
I made some changes to my remote interface and recompiled the server. Now, I am getting an : "java.rmi.UnmarshalException: error unmarshalling arguments; " Why?
Java:API:RMI
ryan wexler, Nov 30, 2001
You need to run rmic and recompile those stubs and skeletons every time you add/delete/modify a method within your remote interface.
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 session...
Java:API:RMI
Mikael Jakobsson, Nov 30, 2001
EJBs are (as I am sure you are aware) a framework for distributed components, handling transactions and object pooling and more. RMI is used in this framework...
What is the meaning of marshalling and unmarshalling?
Java:API:EJB, Java:API:RMI
Alessandro A. Garbagnati PREMIUM, Nov 25, 2001
Omar, In few words, "marshalling" refers to the process of converting the data or the objects inbto a byte-stream, and "unmarshalling" is the reverse...
Is it mandatory for me to instantiate a security manager within my RMI server?
Java:API:RMI
Govind Seshadri PREMIUM, Oct 29, 2001
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...
I am suddenly seeing java.lang.ClassMismatchError in my RMI application that was previously running fine. Why?
Java:API:RMI
Govind Seshadri PREMIUM, Oct 29, 2001
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...
« previous beginning next »


Ask A Question



Related Links

RMI Forum

Sun's RMI-USERS mailing list archive

Sun's RMI home page

Wish List
Features
About jGuru
Contact Us

 


internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs