Solved

Applet vs. Application

Posted on 2001-06-15
5
180 Views
Last Modified: 2013-11-23
Is there an easy way to distribute java applications to client computers or do I have to load the .class files on each machine?  If this is the case, are there any good reasons not to use an applet instead of an application?  If I use signed applets, am I going to run into any major problems writing an intranet database applet that uses stored procedures for the database updates?

Obviously, I am new to Java so any help would be appreciated.
0
Comment
Question by:rossc
5 Comments
 
LVL 3

Accepted Solution

by:
superschlonz earned 50 total points
ID: 6196890
The only problem is that you have to install the public key on every machine
where you want that the applet runs correctly.

Another way is to use a Servlet or a rmi server on the webserver and
communcate only via this middle tier. Then you don't need to sign the
applet.

Java Web Start is also a possible way to do it. It downloads the classes only
if they changed ( http://java.sun.com/products/javawebstart/ ).
0
 
LVL 2

Expert Comment

by:venkat2000120699
ID: 6197139
Have a look at the following question at experts-exchange.

http://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20134997
0
 

Expert Comment

by:rameshnut
ID: 6197605
Hi Rossc

You have asked a very very basic question pertaining to the PHILOSOPY of java programming.
The entire effort of the java developers has been to make it portable to as many operating platforms as possible.In this pursuit, the created a file format...what we call the 'class' files.
These are the files that are supposed to run on any platform having the appropriate JVM.(I mean you could compile a class file on a mac OS and run the same class fine under a Windows platform,with an appropriate JVM.)

Thus the minimum we can do is to distribute them inorder to run them.

Well applets always have limited capabilites than their application peers.
Regarding the signing of applets,that 's in itself a major problem and commercially signing applets is a costly affair mind you!! (besides the technical difficulty involved in installing them onto the client machines!!)

ramesh

0
 
LVL 3

Expert Comment

by:Sendoh
ID: 6200913
hi !
u can try zipp all the java application to a jar files...
the distribute it to the client machine....
think this would be the simplest way...:)

hope it helps...
0
 

Author Comment

by:rossc
ID: 6212406
Java WebStart is the solution I was looking for.  This is a really nice way to distribute applications on an intranet.

Thanks for the help.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
powerN  challenge 3 47
network + 7 73
strDist challenge 35 84
Checkbox and ListView in Android Layout 4 39
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now