WDD_lec_02 - Web Design & Development Lecture 2 Intro to...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Intro to Java
Background image of page 2
Topics We Will Cover Today History of Java Why Java ? Some Sample Java Based Applications Writing a Basic Java Program Java Program Development and Execution Steps
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History Java Based on C and C++ Developed in 1991 for intelligent consumer electronic devices Green Project (According to Gosling, "the goal was . .. to build a system that would let us do a large, distributed, heterogeneous network of consumer electronic devices all talking to each other." ) James Gosling Modified C++ Named Oak then Java
Background image of page 4
History…. Platform independent Interpreted Language Intermediate Code (Byte Code) Reliable Multiple inheritance and Operator overloading removed No Pointers because of security reasons Built in network support
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History… Internet exploded in 1993, saved project Reliability Security Platform Independence Java formally announced in 1995 Now used to create interactive web applications, distributed enterprise application for consumer devices (pagers, cell phones) and much more. .
Background image of page 6
Why Java???
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Motivation Portable WORA!!!!!! Simple “Pure” Object Oriented Language Support for Distributed and Web Applications Rich Libraries Multithreading , Swing , RMI , NET , SQL …. . Automatic Garbage Collection More Robust
Background image of page 8
Portable “Write-Once Run-Anywhere” The Java Virtual Machine becomes the common denominator Bytecodes are common across all platforms JVM hides the complexity of working on a particular platform Difficult to implement a JVM But simpler for the application developer Java does this well
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Java Platform
Background image of page 10
The Java Platform Intel PowerPC SPARC Linux Windows OS X Solaris Linux Java Virtual Machine App1 App2 App3 App4 App5
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Simple Similar to C/C++ in syntax In-fact Java is C++ minus operator overloading direct pointer manipulation or pointer arithmetic
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/01/2010 for the course CS CS506 taught by Professor mr. umair javed during the Spring '10 term at Virtual University of Pakistan.

Page1 / 37

WDD_lec_02 - Web Design & Development Lecture 2 Intro to...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online