Run .Java as a Windows-service?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bas

    #1

    Run .Java as a Windows-service?

    Hi Guru's,

    Does anyone know how to 'convert' a .java-program to a Windows XP Service?

    Someone wrote a Java application to copy records from an external database
    to a MySQL database running on the local machine. This program is started
    with a batchfile with the command "JAVA PROGRAM.JAVA". This batchfile runs
    automatically at login (it's in the startup-folder). The problem is you
    always have to log on to start the program. I'd rather would like to have it
    running as a service.

    As an additional problem; the application generates output wich is important
    to see.


    Thanks, Bas.


  • Ian Shef

    #2
    Re: Run .Java as a Windows-service?

    "Bas" <nospam> wrote in news:44352bb0$0 $2022$ba620dc5@ text.nova.plane t.nl:
    [color=blue]
    > Hi Guru's,
    >
    > Does anyone know how to 'convert' a .java-program to a Windows XP
    > Service?[/color]

    I have seen programs available on the web to do this. I don't recall their
    names, but Google and AltaVista are your friends.

    A search on AltaVista requiring all three words java, windows and service
    returned many hits, with several of the first 50 hits being free software to
    provide this service.

    --
    Ian Shef 805/F6 * These are my personal opinions
    Raytheon Company * and not those of my employer.
    PO Box 11337 *
    Tucson, AZ 85734-1337 *

    Comment

    • Herman Jurjus

      #3
      Re: Run .Java as a Windows-service?

      Bas wrote:[color=blue]
      > Hi Guru's,
      >
      > Does anyone know how to 'convert' a .java-program to a Windows XP Service?[/color]

      There are several free tools for this. I've had good experiences so far
      with http://jslwin.sourceforge.net/

      --
      Cheers,
      Herman Jurjus


      Comment

      • Domagoj Klepac

        #4
        Re: Run .Java as a Windows-service?

        On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.jurjus@hetne t.nl>
        wrote:[color=blue]
        >Bas wrote:[color=green]
        >> Hi Guru's,
        >>
        >> Does anyone know how to 'convert' a .java-program to a Windows XP Service?[/color]
        >
        >There are several free tools for this. I've had good experiences so far
        >with http://jslwin.sourceforge.net/[/color]

        I can highly recommend Java Service Wrapper. Supports running both as
        Windows service, or as UNIX daemon.



        Domchi

        --
        Ouroboros ltd. - http://www.ouroboros.hr
        Antispam: to reply, remove extra monkey from reply-to address.

        Comment

        • William Cai

          #5
          Re: Run .Java as a Windows-service?

          Domagoj Klepac wrote:
          On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.jurjus@hetne t.nl>
          wrote:
          >Bas wrote:
          >>Hi Guru's,
          >>>
          >>Does anyone know how to 'convert' a .java-program to a Windows XP Service?
          >There are several free tools for this. I've had good experiences so far
          >with http://jslwin.sourceforge.net/
          >
          I can highly recommend Java Service Wrapper. Supports running both as
          Windows service, or as UNIX daemon.
          >

          >
          Domchi
          >
          We are using Java Service Wrapper in the product. It works well except
          that there are a few issues with BEA JRockit.

          -William

          Comment

          Working...