Re: Remote shell simulation

Prasad kadbane <[email protected]> Wed, 7 Jan 2009 17:51:26 +0530
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Hi Alan,

         If you want to implement this using Java then RMI is best option
for you. You can start with command design pattern.
Check->>
http://www.exciton.cs.rice.edu/JAvaResources/DesignPatterns/command.htm

First write plain classes which will support all the commands locally, try
to make implementation communication layer independent ie. if in future I
use spring or any other communication layer for communication with remote
machine it should be able to support.
your actual command execution implementation should be independent of
communication layer.

hope I answered your question.

Thanks
Prasad.

On Wed, Jan 7, 2009 at 4:44 PM, mr <[email protected]> wrote:

> Hi All,
>
> I am considering writing what amounts to a terminal emulator I guess,
> however commands entered would be executed by (and on) a remote host
> with the output on the local terminal emulator, pretty much the same
> as telnet or ssh. Would RMI be a good way to implement this? I am
> really going through all the possibilities in my head however this is
> a new are for me so I am not that sure where it is best to start.
>
> Cheers,
>
> Alan
>
> ===========================================================================
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff RMI-USERS".  For general help, send email to
> [email protected] and include in the body of the message "help".
>
> For a list of frequently asked RMI questions please refer to:
> http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html
>
> To view past RMI-USERS postings, please see:
> http://archives.java.sun.com/archives/rmi-users.html
>



-- 
Prasad C. Kadbane.

Software Engineer;
SunGard Offshore Services(India)
Sr.No. 108/8/1 + 2/1, S.B Road, Pune 411 053, India;
Tel +91-20-25606000 Extn. 6117; Fax +91 20 2560  6222;
Mobile No : 9850010620

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html