RUVIDEO
Поделитесь видео 🙏

How To Implement RMI (Remote Method Invocation) In Java Without Using Any IDE.. смотреть онлайн

In This Video, I Will Explain How To Implement RMI (Remote Method Invocation) In Java Without Using Any IDE Such As Eclipse, NetBeans and so on...

Steps for Implementing RMI :

1. Create a folder with any name..

2. In that folder, create two folders with any name, i.e, one for client and one for server..

3. In the server folder, create three java files, i.e, one for server, one for remote interface and one for the implementation of remote interface
as shown in the video..

4. In the client folder, create a client java file as shown in the video..

5. Now write the code for all the java files as shown..

6. Open command prompt from client folder and server folder..

7. Type " javac *.java " in the command prompt (opened from both client and server folder) to compile all the java files present..

8. In the command prompt (server), type " rmic (name of the java file which contains the implementation of the remote interface) ".
This will generate a stub file. Now copy the .class file of remote interface and stub file and paste those two files in the client folder
as shown in the video..

Then, type " start rmiregistry (any port number mentioned) " or " start rmiregistry " as I have already mentioned the port number.
This command without giving portnumber may work, check this out by yourself...


Type " start java (name of server java file) (any same port number) "or " start java (name of server java file) " as port number mentioned..

Note - You can give any kind of any port number but it should be same in both the client and server site program..

I have mentioned this portion rmi://localhost:1020/add :

Here add - name of rmi client through which the server will find it when it will try to connect remotely. You can give any name for the rmi client but remember server should find it with the same name.. otherwise the rmi won't work..

localhost - since same machine is used for rmi so i kept ip address as localhost. You can keep ip address to use rmi to connect different machines remotely.

9. In the command prompt (client), type " java ( name of the java client file) ". and it's Done..

Note - In the video, I created the remote interface java file in the client folder that is already created in server folder.
This is because in some case keeping .class file at the client side doesn't work. To remain in the safe side, I defined it in the client side too.

-----------------------------------------------------------------------------------------------------------

Thanks for Watching..

Please Do Subscribe, Like and Share..

Do Comment For Any Query..

Use Headphone or Earphone For Better Hearing Of Audio..
--------------------------------------------------------------------------------------

Video Link To Set Path For Java in Windows :
https://youtu.be/QK63UfewfBA

-------------------------------------------------

Follow On :
✅Instagram : https://www.instagram.com/computer_analyst.yt/
✅Google+ : https://plus.google.com/b/116765381444977549634/
✅Twitter : https://twitter.com/yt_c_analyst

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How To Implement RMI (Remote Method Invocation) In Java Without Using Any IDE..» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.