This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Creating persistent app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating persistent app" Watch "Creating persistent app" New topic
Author

Creating persistent app

igwe kalu kalu ogba
Ranch Hand

Joined: Feb 03, 2005
Posts: 133
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

Joined: Feb 03, 2005
Posts: 133
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

Joined: Jan 29, 2003
Posts: 8791
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.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Pete Harris
Ranch Hand

Joined: Feb 05, 2003
Posts: 39
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating persistent app
 
Similar Threads
How to alter Classpath in the WebSphere Admin Console..
Importing a user-defined class
Web file association problem
Mac GUI fails 30 percent of the time, debugging, and swing Vs AWT
Task Scheduler