• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

RMI -- rmic -- rmiregistry -- How to use In WSAD5

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am new to WSAD, How to use RMI with WSAD5.0?
How to do rmic, and rmiregistry?
Thanks for help.
Peter
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WSAD does not support RMI directly. There are no wizards and no direct connection into RMIC or way of starting the RMI registry.
Kyle
 
Peter Yunguang Qiu
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kyle:
But How to run rmi program with WSAD indirectly? Or I have to export the program?
Peter
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can run the program within WSAD just by using the "Run" icon on your main class. But you'll have to start the rmiregistry externally (at the command line), and you'll have to run RMIC externally as well.
Kyle
 
Peter Yunguang Qiu
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Kyle:
Thank you very much. Do you know the reason that WSAD does not support rmi directly?
Peter
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mainly because it's not a J2EE technology (RMI over IIOP is). We support creation of EJB's, which do *everything* that RMI could do, so wjy support the older, less flexible, more insecure version of the technology?
Kyle
 
Peter Yunguang Qiu
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much Kyle.
Many people are taking SCJD exam. To do the assignments, we need to use rmi, gui, stream (for reading/writing files). These seem to be old and not j2ee. Do you think these technologies useful?
Another question: I feel that visual editor doesn't help a lot to create GUI, I prefer to write code to create GUI. Maybe it is because I am not familiar with visual editor. What do you think?
Peter
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the thing is that all of those technologies are VERY useful, even within J2EE, with the exception of RMI. RMI has, to a great extent, been superceded by RMI and RMI-IIOP. It is because of the J2EE focus of WSAD that we do not provide direct support of RMI.
As for the visual editor -- no mere human should ever be responsible for having to master the intricacies of a GridBagLayout. That kind of thing is what the visual editor is good for.
Kyle
 
Peter Yunguang Qiu
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much, Kyle.
Peter
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic