File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Deploying a java-based application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Deploying a java-based application?" Watch "Deploying a java-based application?" New topic

Deploying a java-based application?

Ryan Alexander

Joined: May 23, 2001
Posts: 8
I'm writing a three-part java-based webcam viewer suite. I know how to deploy the server and the applet parts. What I'm not sure on is how to take an application that I've written and make it available and runnable on a client computer? In other words, I need to know how to take my java applicaiton and make a nice small bundle that the client can download and install/run with only a few clicks.
Has anyone else done this?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
There are tools out there that can help. I've seen InstallSheild used around here, but there are others. They bundle up all the class files, the runtime JRE, the .bat file to start the application, the icons and any image files, and any property and policy files that you might need and create a self extracting exe out of them.
The user downloads that exe and doubleclicks it, and it takes them through a typical installation routine. Really very slick. I don't know what the costs are though.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Ryan Alexander

Joined: May 23, 2001
Posts: 8
Thanks for the quick reply!
InstallShield will work for Java-based applications?
Has anyone done this themselves and might have some advice for a newbie? Pitfalls, warnings, recommendations?
Thanks again for putting up with the newbie questions! (I'm still getting used to this interface, I'm gonna try a smilie here...)
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

Or you can check out the new Java WebStart technology from Sun.
Supposedly it's another way to deplot application(not applet)
through web, where the client click on the website and it will
check if the most recent application is already installed.
If not it will download it to client's machine and start it,
else it just start it from the client's machine.
Let me know what you find out, since I didn't know the details on
how the WebStart things work.
I agree. Here's the link:
subject: Deploying a java-based application?
It's not a secret anymore!