JAVA, JAVA Applets, and JavaScript

Slides:



Advertisements
Similar presentations
In Review JAVA C++ GUIs - Windows Webopedia.com.
Advertisements

Introduction to JavaScript
CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
James Tam Introduction to CPSC 233 CPSC 233: Introduction to Computers II Object-oriented programming The "nuts and bolts" of programming Object-oriented.
got ? Research Project – April 1998 Hang Xia, Mark Wang, Richard S. Chang Updated: R Norman, August 1999.
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Introduction to Java Kiyeol Ryu Java Programming Language.
HTML Recall that HTML is static in that it describes how a page is to be displayed, but it doesn’t provide for interaction or animation. A page created.
Multiple Tiers in Action
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Chapter 1 Coding Introduction.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Sadegh Aliakbary Sharif University of Technology Spring 2011.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
1. 2 is high level programming language like C++, Visual Basic, developed by James Gosling and Patrick Naughton at Sun Microsystems in 1991.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
High-level Languages.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Java Lecture 16: Dolores Zage. WWW n Was a method for distributing passive information n added forms and image maps n interaction was only a new way to.
What is Java Script? An extension to HTML. An extension to HTML. Allows authors to incorporate some functionality in their web pages. (without using CGI.
Working with scripts. HTTP Was too limited Not dynamic.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
JAVA Java is a programming language and computing platform first released by Sun Microsystems in It was first developed by James Gosling at Sun Microsystems,
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Getting started with Programming using IDE. JAVA JAVA IS A PROGRAMMING LANGUAGE AND A PLATFORM. IT CAN BE USED TO DELIVER AND RUN HIGHLY INTERACTIVE DYNAMIC.
JavaScript Syntax, how to use it in a HTML document
An Introduction to JavaScript By: John Coliton Tuesday, November 10, 1998 Center for Teaching and Learning.
CS 614: Theory and Construction of Compilers Lecture 7 Fall 2002 Department of Computer Science University of Alabama Joel Jones.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
JavaScript Defined JavaScript Basics Definitions JavaScript is an object-oriented programming language designed for the world wide web. JavaScript code.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Java Basics 1 Brief History of Java and Overview of Langauge.
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
Today… “Hello World” ritual. Brief History of Java & How Java Works. Introduction to Java class structure. But first, next slide shows Java is No. 1 programming.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
JavaScript Dynamic Active Web Pages Client Side Scripting.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Java Script. What is JavaScript ? It is an scripting language, developed by Netscape Navigator. It can be used to replace CGI scripts for client-side.
1 Introduction Read D&D Sec 1.8; Sec 1.13 THE Java tutorial -
Introduction to JAVA Programming
James Tam Java History Background information about Java and how it affected it’s development.
VertexPlus Softwares Pvt. Ltd. WEB TECHNOLOGIES BEFORE CHOOSING WEBSITE DEVELOPMENT SERVICES FOR WEBSITE vertexplus.com.
Chapter 1 Coding Introduction.
Applications Active Web Documents Active Web Documents.
Object Oriented Programming in
JavaScripts.
Java™ 2 Platform Getting Started.
CIS 388 Internet Programming
Java History Background information about Java and how the background affected it’s development 1.
UCSC All rights reserved
PROGRAMMING IN JAVA. INTRODUCTION TO JAVA  Java is a general purpose computer programming language that is concurrent, class-based, object- oriented.
Chapter 1 Coding Introduction.
Advanced Programming Fall 2017.
Unit 6 part 3 Test Javascript Test.
CISC124 From Thursday: Course Web Site:
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Information Retrieval and Web Design
Presentation transcript:

JAVA, JAVA Applets, and JavaScript Prof. Hele Mai Haav: CIUE, Fall*2000 JAVA, JAVA Applets, and JavaScript

Java, Java Applets The Java programming language is developed by Sun Microsystems. Bill Joy planted the seeds of Java in 1990. Main features: Network based Platform independent Syntax is based on C++ ( C++ minus minus as said by James Gosling)

Java virtual Machine environment Source Code Byte Code Unix PC Mac

A Java applet is a compiled Java program, composed of classes just like any Java program. The Java compiler does not directly translate the Java source code into binary code but into so called Java byte code. This byte code is platform independent and can be executed without modification on all platforms that support Java. A Java interpreter developed for a particular platform is used to execute the byte-code on the target platform. A so-called Java Virtual Machine is used to execute the Java byte-code on the target platform.

Java applications and applets Java Virtual Machine Windows Intel Sparc PowerPC NetworkC Solaris MacOS JavaOS

The basic principle of Java WWW Server Java enabled WWW browser HTML page Java Byte-code Java Compiler Java Source code Java Virtual Machine Byte code interpreter Network HTML data HTML Applet Java Applet

JavaScript JavaScript is Netscape's cross-platform, object-based scripting language for client and server applications. Using JavaScript you can create dynamic Web pages. Java is not JavaScript!

JavaScript HTML tags for JavaScript An example: <SCRIPT> function update (Form) { alert ("form being updated" } </SCRIPT>

JavaScript To learn more about JavaScript see http://javascript.internet.com or http://javascriptsource.com Find there free resource of "Cut&Paste" examples of Java scripts for your web pages. You find JavaScript Guide at http://developer.netscape.com/docs/manuals/communicator/jsguide4/