🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8973

Re: NT Service

#8973
From: John P. McGrath
Date: Tue, 20 Jun 2000 00:00
20 lines
1306 bytes
On Mon, 19 Jun 2000 09:16:31 -0700, Pete Haidinyak wrote:

> I also believe that there is a utility in the NT Resource Kit
> that allows you to load an application as a service (Java or
> not).

I presume you are referring to the SRVANY program.  Yes, it will run a 
Java program, so it will allow you to have a Java program run as an NT 
service.  But that will not help to communicate with a service.  There is 
a special Windows API for doing this, so native code will be needed.

I guess that if you run your Java program as a service, and then 
communicate with it using some standard Java mechanism, then you would be 
communicating with a service, but I do not think that is what he was 
asking for.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.13b8aaff6bacebb9899da@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <394A9CDF.7E4C7FED@ucbcba.edu.bo> <MPG.13b4cac362790b939899d6@forums.borland.com> <394E475F.66FAA855@home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,50b3a5958d89aec1
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: NT Service
Date: 2000/06/20
Message-ID: <MPG.13b8aaff6bacebb9899da@forums.borland.com>
X-Deja-AN: 636641024
References: <394A9CDF.7E4C7FED@ucbcba.edu.bo> <MPG.13b4cac362790b939899d6@forums.borland.com> <394E475F.66FAA855@home.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing