?
Solved

Applet vs. Application

Posted on 2001-06-15
5
Medium Priority
?
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
superschlonz earned 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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