Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > how call Windows Service from java application ?

Reply
Thread Tools

how call Windows Service from java application ?

 
 
senior
Guest
Posts: n/a
 
      03-27-2007
i want to call Windows service from my application

any suggestions ?

 
Reply With Quote
 
 
 
 
Brandon McCombs
Guest
Posts: n/a
 
      03-27-2007
senior wrote:
> i want to call Windows service from my application
>
> any suggestions ?
>


A Windows service is just a binary so figure out the binary
corresponding to the service and execute it like any other command.

Look here
http://forum.java.sun.com/thread.jsp...ssageID=707019
to see the Java method used.

Most services should be started upon the machine booting up and if they
are not started automatically the Computer Management snap-in can be
used to start them. Is there something your app is providing that can't
already be done through the default Windows tools?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Error Consuming Web Service from WIndows application when WebService is using Custom Service Account ( Create an Application Pool with a Custom Identity) DNB ASP .Net Security 1 01-22-2008 09:08 PM
Error Consuming Web Service from WIndows application when WebService is using Custom Service Account ( Create an Application Pool with a Custom Identity) DNB ASP .Net Web Services 1 01-20-2008 01:47 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
help: need to call call web service from java bill sandner Java 1 07-01-2004 02:57 PM



Advertisments