Uses Of RMI
Hello Everyone,
I am new to RMI technique. Can you please brief me about the uses of RMIs. Also, I am in a doubt that RMI is used only when using EJBs.
Thanks!!
Hello Everyone,
I am new to RMI technique. Can you please brief me about the uses of RMIs. Also, I am in a doubt that RMI is used only when using EJBs.
Thanks!!
RMI I believe is a client/server technology
You will be invoking methods on another workstation. It uses the stub and skeleton. First you need to compile the classes, then you generate the stub using rmic.
Needs a lot of patience and time.
Hope this helps
EJB's utilize RMI "under the hood". However, you can certainly write your own RMI application without a J2EE app server or container or whatever. Yes, you can write a client/server application using RMI. The advantage is that you can directly call methods on other machines (i.e. no messy TCP/IP socket programming). Anyway, check out the tutorials and articles to learn more.