• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic