Hello Remote Method Invocation (RMI)

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • Remote Method Invocation comes with JDK and is an easy way to invoke remote objects directly.

Комментарии • 30

  • @SuperKidontheblock
    @SuperKidontheblock 3 года назад +1

    Awesome. I've been reading for a bit and ended up using the old method of rmiregistry [Port##] and then I found your video. Decent.

  • @lucasnardi6847
    @lucasnardi6847 4 года назад +4

    Thank you some much, you helped me more than stack overflow.

  • @bangalorehub1336
    @bangalorehub1336 8 лет назад +1

    Excellent .. your video helped me a lot. thank you thank you ..

  • @WaldemirBotelho
    @WaldemirBotelho 10 лет назад +3

    Thank you, helped me very !!!

  • @xxxJacobsenxxx
    @xxxJacobsenxxx 4 года назад

    You are a legend! Cheers!

  • @nerissaandria
    @nerissaandria 2 года назад

    what the software did you use?

    • @bienadam
      @bienadam  2 года назад

      Java + NetBeans :-)

  • @___A6
    @___A6 4 года назад

    absolute legend

  • @Jeppehartm
    @Jeppehartm 9 лет назад +1

    Very help, yes, nice!

  • @kokimqrs7946
    @kokimqrs7946 7 лет назад

    What is must be changed if it wasn't a localhost?
    my client is a on a virtual machine and my server is on my actual pc.
    I got confused.

    • @EJP286CRSKW
      @EJP286CRSKW 5 лет назад

      koki mqrs You have to change the hostname in the lookup string in the client.

  • @vanduong9602
    @vanduong9602 7 лет назад

    So easy, brief thanks (y)

  • @christianfrangi783
    @christianfrangi783 3 года назад

    thank u so much Sir!

  • @georgetsiklauri
    @georgetsiklauri 5 лет назад +1

    ..however, it doesn't work if the Client and Server are two different applications. I get Exception in thread "main" java.lang.ClassCastException: class com.sun.proxy.$Proxy0 cannot be cast to class com.whateverpackage.RemoteInterface..

    • @EJP286CRSKW
      @EJP286CRSKW 5 лет назад

      Giorgi Tsiklauri Of course it works. Your problem is probably because you changed the package of the interface. Solution: don't.

  • @drallisimo34
    @drallisimo34 5 лет назад

    cool stuff!!!

  • @georgin1102
    @georgin1102 4 года назад +1

    works locally but when i use it on my server it throws:
    ApplicationServer.java:11: error: cannot find symbol
    registry.rebind("hello", new HelloServant());
    ^
    symbol: class HelloServant
    location: class ApplicationServer
    1 error

    • @taillight_ls
      @taillight_ls 4 года назад

      When you run it from client machine with "java" command you should also add -CLASSPATH wich leads to HelloServant class (HelloServant.class should be present on client machine)
      So it will be like this (run from client cmd): java -cp HelloServant;. ApplicationServer

  • @dickynovanto1103
    @dickynovanto1103 6 лет назад

    Thanks a lot :D

  • @hemangnegandhi
    @hemangnegandhi 7 лет назад +2

    Provide the Code Buddy

  • @woocj
    @woocj 6 лет назад

    what is the programme used to do all these?

    • @seanmthembu979
      @seanmthembu979 6 лет назад

      It's an application called Netbeans used primarily for java programming, it works with JDK and it is free to download

    • @woocj
      @woocj 6 лет назад

      @@seanmthembu979 so you using apache netbeans?

    • @seanmthembu979
      @seanmthembu979 6 лет назад

      No just the netbeans, not apache netbeans.org/projects/www/

  • @asterworku2308
    @asterworku2308 3 года назад

    whats ur IDE

  • @adhurimkrasniqi2723
    @adhurimkrasniqi2723 5 лет назад

    thx...