5  Miscellaneous Development Topics 
5.1  Transferring Information between Linux and Windows Systems 
Some developers may wish to use Windows for development, since they are more familiar with 
this environment, or since they already have easy access to a Windows system (e.g. their 
computer at home). Most Open Source products are available for Windows, and since Java, 
Servlets and JavaServer Pages are platform independent technologies, there is no problem with 
developing on a Windows system while deploying the application on a Linux machine. The CVS 
repository, however, is recommended to be installed on a Linux system rather than on 
Windows, if multiple developers are involved. 
This section introduces some of the options that are available in accessing the Linux server 
from a Windows machine, and vice versa. 
5.1.1  Accessing the Linux Server over Telnet 
Most Linux distributions include a telnet server package, which is often enabled by default. With 
a telnet server running on the Linux server, users can remotely login to the machine from any 
other machine over the telnet client application (a telnet client application is included to 
Microsoft Windows by default). 
The telnet protocol server on Linux is called telnetd (for telnet daemon). Once the super server 
application  xinetd receives a request for a telnet connection, the telnet daemon is started 
automatically, and a connection to the remote machine is established. The user can then work 
on the server in a Linux box (if the username and password are accepted). 
To check whether the telnet server is enabled, you may issue the following command to display 
the telnet configuration file. The disable parameter should be set to  no . 
$ more /etc/xinetd.d/telnet
service telnet {
disable = no
flags
= REUSE
socket_type
= stream
wait
= no
user
= root
server
= /usr/sbin/in.telnetd
72 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.