kvarnerexpress
Dec 21 2004, 11:11 PM
Java, developed under the Sun Microsystems brand, is a full-fledged object-oriented programming language. It can be used to create standalone applications and a special type of mini application, called an applet. Applets are downloaded as separate files to your browser alongside an HTML document, and provide an infinite variety of added functionality to the Web site you are visiting. The displayed results of applets can appear to be embedded in an HTML page (e.g., the scrolling banner message that is so common on Java-enhanced sites), but the Java code arrives as a separate file. JavaScript, developed by Netscape, is a smaller language that does not create applets or standalone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity far beyond typically flat HTML pages -- without the need for server-based CGI (Common Gateway Interface) programs. Some server software, such as Netscape's SuiteSpot, lets web application developers write CGI programs in a server-side version of JavaScript. Both client-side and server-side JavaScript share the same core JavaScript language, but each side deals with different kinds of objects. Client-side objects are predominantly the components of an HTML web page (e.g., forms, text boxes, buttons). Server-side objects are those that facilitate the handling of requests that come from clients, as well as connectivity to databases It is important to understand that a Java-enabled browser is not automatically a JavaScript-enabled browser: the two technologies require entirely separate interpreters (licensed from separate companies) to handle the languages. It is unlikely, however, that future browsers will incorporate one but not the other (plus or minus implementation timetables on various platforms). Starting with Netscape Navigator 3.0, HTML authors have been able to use JavaScript to link HTML form elements to Java applets (and plug-ins) or link Java applets to each other--LiveConnect, Netscape calls this technology. Rather than competing with each other, Java and JavaScript are a powerful combination. Much simpler and smaller than the Java vocabulary, JavaScript is within reach of authors who know HTML; writing full-fledged Java, on the other hand, benefits from experience with C and C++. Java and JavaScript share a number of vocabulary and syntax constructions, but the languages are intended for very different purposes. All you need to program in JavaScript is a text editor and a JavaScript-enabled browser, such as Netscape Navigator 2.0 and later or Microsoft Internet Explorer 3 and later.
Comment/Reply (w/o sign-up)
Xedos
Dec 29 2004, 05:53 AM
Not that im insulting you, but didn't we all know this. Its the basics that anyone teachs you before a tutorial. Its the first thing ive seen in any Javascript tutorial, don't know about Java ones though.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : java, javascript, javascript, java
- Javascript Game
Free online dice game called "Greedy" (6)
Re-learning Javascript
(3) As rusty as I was with ActionScript when I started my new job, I'm even rustier at JavaScript.
I'm trying to generate a new div on a webpage, containing an html file that (at the moment)
holds only a simple .gif image. The page looks like this at the moment: function
creatediv(id, html, width, height, left, top) { var newdiv =
document.createElement('div'); newdiv.setAttribute('id', id); if (width)
{ newdiv.style.width = 300; } if (height) { newdiv.style.height = 250; }
if ((left || ....
Java And Jsp On Trap 17
Java and jsp on trap 17 (2) Any one out there set up a web site using jsp technology on trap 17. I am new to trap 17 and am
wondering what your experience of this is? /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" /> clivec....
Need Help With Javascript Drag And Drop Script
Having trouble with javascript drag and drop script. (2) hi, i have been trying to create a drag and drop menu for my new website, so that the navigation
menu can be moved around the site. This is the code i have: CODE Test run - Right click
menu function coordinates(event) { if (event.button==2) { var x=event.x; var y=event.y; }
document.getElementById("element").style.left=x; document.getElementById("element").style.top=y;
document.getElementById("element").style.visibility="visible"; var oldx=x; var oldy=y;
window.onmouseup=end(); window.onmousemove=coordinates(event); } function end() { } #el....
Java Script To Hide The Url In Address Bar
Does any one know about this ? (6) Hello friends , just now i came accross a particular type of script which is capable of masking the
URL which is seen in the Address bar of the webpage , that is by implementing the particular Java
Script when the user visits a page eg. www.mysite.com , then it is possible for the admin of
www.mysite.com to mask this site and display some other website in the viewers address bar. I came
to know that such a script can be written using Java Scripts , Can any one get me the Script ??....
Which Is Good Java Or Dot Net
which is good (5) Hi, I want to know which is going to be a success in future. I've asked this question to
many but all are giving my vague answers. I'm asking this question because i'm going to join
a company where i can choose either dot net or java. Which one should i choose. Wax....
Java And Xml: Links You Must Have
(1) XML and JavaGeneral XML resources * "XML, Java and the Future of the Web," Jon Bosak. The
paper that started it all, at least from a Java programmer's point of view. Definitely worth a
read, even if it's a bit dated. Jon is commonly considered to be the father of XML. Funny how
all of these technologies seem to have paternity
http://metalab.unc.edu/pub/sun-info/standa...hy/xmlapps.html * "Media-Independent
PublishingFour Myths about XML" Jon Bosak
http://metalab.unc.edu/pub/sun-info/standa.../why/4myths.htm * Robin Cover's XML-....
Java Multithreading Issues
(2) So we have a web based application running on JBoss on several clustered servers. The front end of
the application is using jms to communicate with the middleware MDB, which communicates with other
backend application servers. The application runs well when only a few requests are submited.
However, when requests boost to couple thousands, the app starts to crash. The log files shows a
concurrency issue with the ThreadPoolExecutor. When we set the core size pool to one the issue was
solved. Looks like we have concurrent issue of multiple threads accessing same resource s....
How To Implement Single Instance Application On Java
(0) See the next few lines containing Java Code: CODE 1. // imports 2. import
sun.management.ConnectorAddressLink; 3. import sun.jvmstat.monitor.HostIdentifier; 4.
import sun.jvmstat.monitor.Monitor; 5. import sun.jvmstat.monitor.MonitoredHost; 6. import
sun.jvmstat.monitor.MonitoredVm; 7. import sun.jvmstat.monitor.MonitoredVmUtil; 8. import
sun.jvmstat.monitor.MonitorException; 9. import sun.jvmstat.monitor.VmIdentifier; 10.
11. public static void main(String args ) { 12. /* The method ManagementFactory.getRun....
Call Pdf995 From Java
(0) How can i call pdf995 engine from Java to generate Pdf from Doc. This approach from Visual Basic
Application is provided in http://www.pdf995.com/faq_dev.html . How can i approach same from Java?
Can anyone help? ....
Java Game
(2) Hi, I'm interested in game creation on websites. The game should be playable via web browser.
I'm not new in programing, I know C++, C# and OpenGL api. But I'm new on Java. So I have
some questions I want to ask You: Will I'l be able to create simple 2d game with java which
would be playable via web browser? Simple 2d game means: timers, images, animated sprites, in game
font. Will I'l be able to use OpenGL? Or I should use something different? Does Trap17 suports
java graphics features I want? Thank You for Your time and answers.....
Learn Java Programming Language Online Step By Step
(1) I had found this site >> http://learnjava.awardspace.com This website is for people who want
to learn Java Programming Language step by step. This website also includes JAVA lessons from the
beginning to advanced level. So this site appropriates for the beginner of Java programmer language
or non-basic Java Programming Language. The lessons are easy to follow and understand starting
from how to get your PC JAVA ready, the fundamental programming concept and creating the real
application. Moreover, the working examples are also included. Please enjoy the les....
Java Object[][] Help
(2) I'm having some issues with working with objects . I get an index out of bounds ex.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 heres how
I'm using it ---------------------------- Object contestants = new Object {}; contestants
= "test"; any ideas appreciated. Do I need to specify the initial size on creation or something?
It seems I answered my own question I gave it an inital size then I was able to add things. But is
there a way I can add to it on the fly without knowing its require maximum size?....
Document.write & Noscript Questions (javascript)
(2) I am trying to use javascript to include a stylesheet depending on the user's resolution. The
HTML CODE " /> id) { initEditor(); } ?> if
(screen.width>=1050) { document.write(' '); } I'm running into two
problems. 1) The script doesn't seem to be writing anything. Fixed 2) The tags cause all
sorts of validation errors. From what I've read it seems as though the tag is not allowed
within the section -- is this correct? Could the same thing be accomplished just putting the
default style....
Java Or C++
(17) Many having tell me to make my MMORPG in java leads me to agree, But I'm not sure truly is it
not yet easier, but yet the outcome of programming an MMORPG in java will make it fail or succeed
more then one in C+= I've learned a lot of variables in javascript, and I don't think that
java would be too bad either. My true question is, is those who use these languages, which seems
to give better outcome, and which seems to be more in ease. Regards -PCessna....
Java Applet Query
(2) Hey there, I have made an applet that shows images moving about the screen. I have pause/resume
buttons that work. But i've noticed that when the applet is interuppted by something i.e moving
another window over it, it will automatically repaint. My question is how can I stop this? How can
I make it so that the only time that paint is called is when I want it to be called? Thanks in
advance!....
Java Iterator Help
I need help with a method using iterator (3) /** * Remove from the club's collection all members who * joined in the given month,
and return them stored * in a sparate collection object. * @param month The month of the
membership. * @param year The year of the membership. * @return The number of members.
*/ public ArrayList purge(int month, int year) { if(month >= 1 && month
{ Iterator it = members.iterator(); ArrayList purged;
purged = new ArrayList(); int counter = 0; wh....
Helpful Registry Edit For Java Programmers
Command Prompt on right click menu (3) With this registry edit you can easily open the current folder in prompt without going through any
Change Directory commands (cd). This is useful for people like me who are programming in JAVA, and
every time to create class files and test them I have a diificult time just entering the commands in
Prompt. But if you don't want to use this registry edit you can create the directory in C:\
drive like C:\files so you have to navigate very little in prompt. If you are experienced in
regedit you can do it yourself shown below OR download the attachment and apply it. I t....
Jsp Or Java Chat Script Like Mig33
(5) so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
supports jsp so im planing to use it for my application. i was hosted here last year but moved
because i found a better host. now im back just to use the jsp on this server. Im planing to run
chat applictions so if any one wants to help me in my project let me know.....
Best Java Framework For J2ee?
Your Opinion About The Best Java Framework (11) What is the best framework to make enterprise application using Java (J2EE)? Currently I am
learning Spring and it is quite good eventhough it is very complicated in my opinion. Maybe someone
can share which framework that you use What are its advantages and disadvantages? I seek a J2EE
framework that supports JMS and offer quick development process.....
What's The Relationship Between Javascript And Java
are they the same or different (7) I think most of you always confuse about java and javascript .So I make this topic to talk about it.
Javascript and Java ,they have the same first four letter. Java and Javascript is the two language
is very popular in the web world.Java is the general-purpose programming language that you can
create an application or an applet.Javascript is a script language that looks sort of like java;with
it you can do various nifty things in web pages.They are independent languages ,used for different
purposes.If you are interesting in creating a website you should learn how to w....
Adding Rows & Columns In Html Table Using Javascript
(1) I'm trying to create a website with a form that collects some user information to store in MySQL
database. However, I've a problem when I want to dynamically add new rows and columns in the
HTML table so that the user can add more information in the dynamically added textboxes. Here's
what I have: CODE
Quantity
unit(s)
....
Javascript Close Window
Javascript close window (15) Hi does anyone have a code to close the browser window. This code needs to be used to close an
actual full sized window, not a pop-up window.....
How To Create Java Button Or Frame
to be customized (14) hi to all!!!! just like to ask if it would be possible if i could make a custom button or frame in
java. i got tired of using the build infeatures in java. i would like to create my own dessign of
button or frame.. can it be possible!!! /biggrin.gif' border='0' style='vertical-align:middle'
alt='biggrin.gif' /> thank!!!! /laugh.gif' border='0' style='vertical-align:middle'
alt='laugh.gif' /> New Help In! is NOT a descriptive topic title. Next time you decide not to
follow the posting rules, you will be issued a week long ban. ....
File Upload Script In Java
File Upload Script in JAVA (5) Hi, I am developing my personal website in JSP. I need a file upload script written in JAVA. I got a
script that is Upload Bean from javazoom.com but the problem is its working fine on Windows
Operating SYstem but not working on LINUX server. When i pass LINUX path (like
/home/usr/public_html) to bean it gives me error Check UploadBean properties in your JSP. I
think this bean aspecting a windows path. Can anyone provide me JSP Smart Upload script or any
other file upload bean in JAVA. For your information Smart Upload website has been closed. My
email id is ....
Java Mobile Applications
What you wanna have on your phone ? (7) I'm trying to do a Java mobile J2me application... But I don't know what to do... Any
suggestions....? Maybe you guys can say what you would like to have on your mobile phone... ....
[help] Java Script: Window.open
Works with Firefox, not IE (10) CODE var popUpWin=0; function popUpWindow(URLStr) { if(popUpWin) {
if(!popUpWin.closed) popUpWin.close(); } popUpWin = open(URLStr, 'GunBound Tactics:
Screenshots',
'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90'); }
Clips This is a script for opening a new window. It works with Firefox and not
Internet Explorer. IE gives a script error and it references a part of the code that has nothing to
do with the script. Someone please tell me if you can figure out why. Used at this add....
Javascript Slideshow Tutorial
How to make a slideshow in JavaScript (7) JavaScript Slideshow Tutorial I'm going to show you how to make a impressive JavaScript
slideshow. First, you're probably asking: why would I want to make a slideshow in JavaScript?
There are a number of reasons. First, you don't have to build a new HTML page for each picture.
Secondly, the page will load much faster because the of the compactness of the page. Ok let's
get started with this example. First we'll add a tag in the of our HTML document. In that
script tag we will build the following: CODE first = 1; last = 4; ....
Learning Java
By The Book (5) I travel alot so I get a chance to catch up on my reading. I bought a book today about javascripts.
I hope this will help me in creating my site which is currently being worked on. I want my site to
look professional and effective. I am hoping that this will help in creating this. Next I plan on
learning PHP, but since php is harder I will learn this first. I am a fast reader and I hope that I
can learn this fast since having a site down for a long time looks bad on the owner. One reason I
want to learn Javascript is to protect my site. I want to add a username and pa....
Auto Run Java Program
Run Java program on double click (11) Some of the installables in java comes in form of .jar file, one has to just double click or type
"java -jar file.jar", and it starts executing. The reason for this is a line appended in the
MANIFEST.MF file of that jar file. For writing a similar jar file of your own, just write your java
file, then compile the same and create a jar file. Create a MANIFEST.MF file and the content should
have the followings: CODE Manifest-Version: 1.0 Created-By: xyz Main-Class: xyz.MainClass
Here xyz.MainClass is the main class. Now create a jar file with the manifest file y....
Looking for java, javascript, javascript, java
|
Searching Video's for java, javascript, javascript, java
|
advertisement
|
|