service : Java Glossary

go to home page S words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
service
Server software that sits atop IP, UDP or TCP/IP are called services. There is usually one service per protocol supported. Windows NT/W2K use the term more generally to mean any program that runs invisibly in the background.

There a list of sevices and their associated port names in the following file: services file.

UNIX: /etc/services
Win98: C:\Windows\services
WinNT, W2K, WXP C:\WINNT\system32\drivers\etc\services
The Format is as follows:
service name port num/protocol
ftp 21/tcp
snmp 161/udp
A protocol mentioned in this file is not necessarily running or even supported or your computer, either as server or client. For a list of the most common well-known ports see port. IANA maintains the full list.

Windows Service

Windows has a more general meaning for service. It is a program automatically started whenever windows starts and automatically gracefully shut down whenever Windows shuts down. For example, you might run your MySQL database that way to make sure it is always available. For details see the section on setting up a service in the MySQL manual.

In NT/W2K/XP you can start and stop services and check out how they are configured at Settings ⇒ Control Panel ⇒ administrative tools ⇒ Component Services ⇒ Services (local).

In Vista type Ctrl+Alt+Del and select the Task Manager ⇒ click the services tab ⇒ click services in the bottom right.

Alternatively, in Vista click Start ⇒ Administrative Services ⇒ Services.

ObjectWeb make an opensource tool called JavaService to convert a Java App into a Windows service. It uses JNI to launch a JVM and load the app. Your app must implement a startup, main and shutdown method. Another such tool is Java Service Wrapper.

When you uninstall a package, it should delete the associated services. If it fails to, use regedit to delete the service which will be filed under HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services


CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] The information on this page is for non-military use only.
You are visitor number 8,695. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/service.html J:\mindprod\jgloss\service.html