Nitin Nanda

Subscribe to Nitin Nanda: eMailAlertsEmail Alerts
Get Nitin Nanda: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Nitin Nanda

Generally it's desirable to deploy the Java server in such a manner that it automatically starts when the computer does, and stops when the computer shuts down. This could be quickly and easily implemented by writing an NT service that communicates with the Java server. NT services can start before any user logs on the NT machine. After the user logs on, he or she may pause, stop, or restart the service using the Service Control Panel applet. When the user logs off though, the desktop and all processes assigned to the desktop are closed; however, the existing services will keep running. Framework NT services run under a system account so it's not easy to debug them, therefore it's not advisable to deploy the Java server directly as an NT service. A thin layer of the NT service that acts as proxy for the Java server by starting, interrogating, and shutting it down ca... (more)