• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Creating persistent app

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I have created a java application which contacs a web service every hour (using threading) and then displays a small JFrame with a message. This application works within the company intranet. I have 2 classes (one which runs the thread) and another which will display the alert, + a folder containing classes for accessing web services using ksoap.
Here is my problem.

I want to be able to install this program to everyones computer on the LAN (required)
The program has to run as soon as the users computer starts up, it then displays alerts every hour.

So, how do I create my installer, presumably there has to be an exe file? , but I imagine everything else, required classes e.t.c will have to be put into a jar file?

Maybe I'm not so good at explaining, but this is more or les what I am looking for.
Thanks.
 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can I do it with JNLP and JAva web start? is it possible?
Please note that if a user has messages, clicking the view button will open internet explorer to display them. Thanks.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With IE these sound like Windows machines. Look into running your program as a service. I think that would be the most reliable way to get it started at logon. There are a number of free tools available to run Java as a service ... just a Google away. Getting it installed may be trickier than plain Java. My company uses a product called Marimba that can "push" software installs to workstations.
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure if you can do an network install, but you may want to look into Advanced Installer.

It's got a system for installing java programs as windows services and creates windows MSI installer files.

Pete
 
Bras cause cancer. And tiny ads:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic