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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.


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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

735 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