wood burning stoves*
The moose likes Websphere and the fly likes RMI -- rmic -- rmiregistry -- How to use In WSAD5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "RMI -- rmic -- rmiregistry -- How to use In WSAD5" Watch "RMI -- rmic -- rmiregistry -- How to use In WSAD5" New topic
Author

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

Peter Yunguang Qiu
Ranch Hand

Joined: Nov 22, 2003
Posts: 99
Hi,
I am new to WSAD, How to use RMI with WSAD5.0?
How to do rmic, and rmiregistry?
Thanks for help.
Peter
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
WSAD does not support RMI directly. There are no wizards and no direct connection into RMIC or way of starting the RMI registry.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Peter Yunguang Qiu
Ranch Hand

Joined: Nov 22, 2003
Posts: 99
Thanks Kyle:
But How to run rmi program with WSAD indirectly? Or I have to export the program?
Peter
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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

Joined: Nov 22, 2003
Posts: 99
Hi, Kyle:
Thank you very much. Do you know the reason that WSAD does not support rmi directly?
Peter
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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

Joined: Nov 22, 2003
Posts: 99
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
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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

Joined: Nov 22, 2003
Posts: 99
Thank you very much, Kyle.
Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI -- rmic -- rmiregistry -- How to use In WSAD5
 
Similar Threads
Head First Java RMI Universal Service Browser Question
What is rmiregistry, rmic, rmid and the rest ?
Need Unix/Solaris Syntax help
Why my RMI connection throw exceptions?
Netbeans 5.5 RMI