Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating persistent app

 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • 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.
 
Pete Harris
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic