RMI Section Index
I have a problem with the LocateRegistry.createRegistry(int port) method.
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 aga...more
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.
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 ...more
What is the meaning of marshalling and unmarshalling?
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 process of converting the byte-stream beack to...more
Where can I learn (more) about Sun's peer to peer, "Project JXTA"?
Check out the Project JXTA site.
Where can I learn (more) about Java's support for transaction processing?
Check out the jGuru
Transactions FAQ.
Where can I learn (more) about Java's support asynchronous and publish/subscribe messaging using JMS (Java Message Service)?
Check out the jGuru JMS FAQ.
Where can I learn (more) about Sun's Jini network technology?
Check out the jGuru Jini FAQ.
Where can I learn (more) about CORBA (Common Object Request Broker Architecture)?
Check out the jGuru CORBA FAQ.
Where can I learn (more) about Application Servers?
Check out the jGuru AppServer
FAQ.
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?
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 technology that allows java objects to b...more
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.
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?
Sun provides one in their Getting Started with RMI guide.
Why should my remote object extend UnicastRemoteObject?
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 like extending from UnicastRemoteObject, y...more
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 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...more
What is PortableRemoteObject.narrow() method and what is used for? I found somewhere that it is "CORBA compliant". Why?
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 method will return you an Object that needs t...more