create window service

Posted on 2014-09-05
Last Modified: 2014-09-17

I have a jar file and need to create a installer (exe) when this exe is run it should configure  as a window service?
AS we have a setup (exe) for apache web server and when we run this exe a apache service is installed in the windows?
Question by:Rocking
  • 4
  • 2
LVL 86

Expert Comment

ID: 40306656
Where should the service run - on the same machine as Apache?

Author Comment

ID: 40307136
this is just an example
As we have a setup (exe) for apache web server and when we run this exe a apache service is installed in the windows?

same behaviour (make setup file from jar jar which will run as window service) , i need to create for my jar file whose functioning is to monitor a directory.

I am stuck how to create a window service of that jar file which can run on all windows machine xp,2000,win 7,8
LVL 86

Expert Comment

ID: 40307321
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.


Author Comment

ID: 40307814
@CEHJ Does not work as window service..

Features/Framework      YAJSW      JSW      ACD      L4J
License      LGPL                           GPL/Commercial      Apache      BSD/MIT
Run as Windows Service                 X      X      X
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 40314038 Does not work as window service..
Sorry - i'm not with you. The support table states the opposite ...
LVL 86

Expert Comment

ID: 40327452

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to implement Singleton Design Pattern in Java.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now