Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
General <strong>Java</strong> Questions I<br />
Receive our newsletter with new tips! Almost 6,000 subscribers (by June 2001) can not be wrong!<br />
They read our tips every week! To subscribe to The <strong>Java</strong> FAQ Daily send empty e-mail to:<br />
javafaq-tips-subscribe@topica.com or visit at:<br />
http://www.topica.com/lists/javafaq-tips/<br />
General <strong>Java</strong> Questions I<br />
Q: Is <strong>Java</strong>Script the same as <strong>Java</strong>?<br />
Answer: NO! An Amazingly large number of people, including many web designers,<br />
don't understand the difference between <strong>Java</strong> and <strong>Java</strong>Script. Briefly it can be<br />
summed up as follows:<br />
Visit us here and you will find<br />
much more tips!<br />
<strong>Java</strong> was developed by Sun Microsystems. <strong>Java</strong> is a full-fledged object-oriented<br />
programming language. It can be used to create standalone applications and applet.<br />
Applets are downloaded as separate files to your browser alongside an HTML<br />
document, and provide an infinite variety of added functionality to the Web site you<br />
are visiting. The displayed results of applets can appear to be embedded in an HTML<br />
page (e.g., the scrolling banner message that is so common on <strong>Java</strong>-enhanced<br />
sites), but the <strong>Java</strong> code arrives as a separate file.<br />
<strong>Java</strong>Script on the other hand was developed by Netscape, is a smaller and simpler<br />
scripting language that does not create applets or standalone applications. In its most<br />
common form today, <strong>Java</strong>Script resides inside HTML documents, and can provide<br />
levels of interactivity far beyond typically flat HTML pages -- without the need for<br />
server-based CGI (Common Gateway Interface) programs.<br />
Some server software, such as Netscape's SuiteSpot, lets web application<br />
developers write CGI programs in a server-side version of <strong>Java</strong>Script. Both<br />
client-side and server-side <strong>Java</strong>Script share the same core <strong>Java</strong>Script language, but<br />
each side deals with different kinds of objects. Client-side objects are predominantly<br />
the components of an HTML web page (e.g., forms, text boxes, buttons). <strong>Server</strong>-side<br />
objects are those that facilitate the handling of requests that come from clients, as<br />
well as connectivity to databases.<br />
Q: Is <strong>Java</strong> open source as distributed by Sun, i.e., all the modules including<br />
file:///F|/350_t/350_tips/general_java-I.htm (1 of 31) [2002-02-27 21:18:17]