I like to know what is rmic in RMI and how does it create proxies for me..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To answer your question,
rmic[Solaris, Windows] is the Java RMI compiler and it generates stubs, skeletons, ties for remote objects using either the JRMP or IIOP protocols. Also generates OMG IDL. Regarding the how, your question is a bit vague but the answer might be something like it complies to the JRMP protocol or IIOP protocol or CORBA IDL specification.Have look at the provided link(s) for a description of these various concepts. If this sounds like Chinese to you, you should probably look at the RMI tutorial. The first chapter of the tutorial covers RMI concepts.
Also note that (from the tutorial):
So if your RMI server doesn’t have to support clients running on pre-5.0 VMs, you actually don’t need to worry about
rmic.Another good resource to get started is… Getting Started Using Java RMI, a Hello World sample for RMI.
If you want to get more information, check out the Remote Method Invocation spec.