Google Answers Logo
View Question
 
Q: JAVA , JAVA SCRIPTS, JAVA APPLETS IN WEBSITE WRITING. ( Answered,   0 Comments )
Question  
Subject: JAVA , JAVA SCRIPTS, JAVA APPLETS IN WEBSITE WRITING.
Category: Computers > Programming
Asked by: torrero-ga
List Price: $25.00
Posted: 04 Jun 2005 09:29 PDT
Expires: 04 Jul 2005 09:29 PDT
Question ID: 529294
WHAT IS JAVA.? WHAT IS IT USED FOR AND HOW IS IT USED.?
WHAT IS JAVA APPLETS.? WHAT IS IT USED FOR AND HOW IS IT USED.?
WHAT IS JAVA SCRIPTS.? WHAT IS IT USED FOR AND HOW IS IT USED.?

HOW ARE THEY LINKED TOGETHER. I MEAN HOW DOES EACH ONE HELPS EACH ONE
ON THE INTERNET. HOW ARE THEY RELATED. WHAT ARE SOME OF THE EXAMPLES
OF JAVA, JAVA APPLETS AND JAVA SCRIPTS.

EXPLAIN TO ME WHAT JAVA IS, JAVA SCRIPTS IS AND JAVA APPLETS IS, HOW
AND WHEN THEY ARE USED.

THANKS
Answer  
Subject: Re: JAVA , JAVA SCRIPTS, JAVA APPLETS IN WEBSITE WRITING.
Answered By: easterangel-ga on 04 Jun 2005 10:42 PDT
 
Hi! Thanks for another question.

Let us first take a look at the different definitions of java, java
applets and java scripts. That would be a good start and then we will
look at their differences.

Java Programming Language ? ?Java is an object-oriented language
similar to C++, but simplified to eliminate language features that
cause common programming errors.?

?Java?
http://www.webopedia.com/TERM/J/Java.html 


Please see the next quote from the website of SUN Microsystems, to get
a better idea of how different Java can be from other programming
languages.

?With most programming languages, you either compile or interpret a
program so that you can run it on your computer. The Java programming
language is unusual in that a program is both compiled and
interpreted. With the compiler, first you translate a program into an
intermediate language called Java bytecodes ?the platform-independent
codes interpreted by the interpreter on the Java platform. The
interpreter parses and runs each Java bytecode instruction on the
computer. Compilation happens just once; interpretation occurs each
time the program is executed. The following figure illustrates how
this works.?

?About the Java Technology?
http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html


----------------------
Java Applets ? ?A Java Applet is a program not intended to run on its
own, but rather is supposed to live at some location in a Web page,
similar to the way a graphic image might.?

?Programming?
http://www.course.com/careers/glossary/programming.cfm#javaapplet 


---------------------
Java Script ? ?A type of programming which can add interactivity and
function to a web site. Some examples include drop down menus
navigation button effects, interactive forms, slide shows, and pop
open windows. There are many applications available to enrich a web
site.?

?Glossary of Web Design Terms?
http://www.101webbuilders.com/web_design_glossary.htm#javascript


---------------------
Based on the definitions above, we can see that Java is fully fledged
program that can develop full scaled applications. Java applets and
scripts meanwhile are fairly different and somewhat only miniature
version of what a java program can be. In fact Java Script is not made
by Sun but by Netscape. Our next link provides the more important
differences between the three.


a. Java vs. ?Java Applet and Java Script?

- ?The main difference is that Java can stand on its own while
JavaScript must be placed inside an HTML document to function.?

- ?Java is a much larger and more complicated language that creates
"standalone" applications.?

- ?A Java "applet" (so-called because it is a little application) is a
fully contained program. JavaScript is text that is fed into a browser
that can read it and then is enacted by the browser.?

- ?Java must be compiled into what is known as a "machine language"
before it can be run on the Web?That smaller language is formatted so
that it is seen by the computer as a set program with definite
beginning and ending points.?


b. Java Applet vs. Java Script

- ?Java applets run independent of the HTML document that is calling
for them?The HTML document calls for the application, it downloads to
the user's cache, and waits to run. JavaScript is wholly reliant on
the browser to understand it and make it come to life.?

?Java vs. JavaScript? By Joe Burns
http://www.htmlgoodies.com/beyond/javascript/article.php/3470971 


Our next link provides additional differences aside from the ones mentioned above.

?Java vs. JavaScript?
http://www.firststep.com.au/education/solid_ground/javadiff.html 


Search strategy used:  
define: java language
define: "java applet"
define: "java script"
difference between java applets scripts

I hope these links would help you in your research. Before rating this
answer, please ask for a clarification if you have a question or if
you would need further information.
                             
Thanks for visiting us.                              
                              
Regards,                              
Easterangel-ga                              
Google Answers Researcher
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy