UMass Lowell Computer Science 91.460 Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 2 Introduction/Overview Fri. 9/8/00.

Slides:



Advertisements
Similar presentations
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
Advertisements

CSci 1130 Intro to Computer Programming in Java
In Review JAVA C++ GUIs - Windows Webopedia.com.
CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
THE JINI TECHNOLOGY Alessio Zumbo
The road to reliable, autonomous distributed systems
Visual and Internet Programming using JAVA
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 1 Introduction/Overview Wed. 9/6/00.
UMass Lowell Computer Science Foundations of Computer Science Prof. Karen Daniels Fall, 2009 Lecture 1 Introduction/Overview Th. 9/3/2009.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 3 HW#1 Jini Overview C++ Diagnostic Results.
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
For more Lectures and Notes Visit
.NET Mobile Application Development Introduction to Mobile and Distributed Applications.
Session-02. Objective In this session you will learn : What is Class Loader ? What is Byte Code Verifier? JIT & JAVA API Features of Java Java Environment.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Java PAL.  Contains the development kit and the runtime environment ( aka the Java Virtual Machine )  Download Link:
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Java Programming Language Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Applets & Servlets.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Sadegh Aliakbary Sharif University of Technology Spring 2011.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Presented by Mark Miyashita
Sadegh Aliakbary Sharif University of Technology Fall 2010.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
 2003 Prentice Hall, Inc. All rights reserved. 1 Java Training Course Dr. H.E. Dunsmore Purdue University Java – How to Program, Deitel (5 th Edition)
1 IEEE LAN/ MAN Banf 1998 Open Java-Based Intelligent Agent Architecture for Adaptive Networking Devices Tal Lavian, Bay Architecture Lab
Java Introduction Lecture 1. Java Powerful, object-oriented language Free SDK and many resources at
 2005 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and the World Wide Web.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
Jaeki Song ISQS6337 JAVA Lecture 03 Introduction to Java -The First Java Application-
Types of Operating Systems
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
CT1513 Introduction To java © A.AlOsaimi.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
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.
Jini Technology Basics Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University
Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2015.
Jini Architectural Overview Li Ping
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
Java – in context Main Features From Sun Microsystems ‘White Paper’
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
1 Introduction Read D&D Sec 1.8; Sec 1.13 THE Java tutorial -
1 Chapter 1 Java –Originally for intelligent consumer-electronic devices –Then used for creating Web pages with dynamic content –Now also used for: Develop.
Introduction to Programming 1 1 2Introduction to Java.
Introduction to JAVA Programming
Introduction to 1. What is Java ? Sun Microsystems Java is a programming language and computing platform first released by Sun Microsystems in The.
Applications Active Web Documents Active Web Documents.
Object Oriented Programming in
Part II Software When developing software there are several particularities to be aware of: Java is widespread used because of the platform independence.
Introduction to Computers, the Internet and the World Wide Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 1 Introduction to Computers, Programs, and Java
Lecture 1: Introduction to JAVA
Java programming lecture one
Advanced Programming Fall 2017.
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Lecture 2 Introduction/Overview Fri. 9/8/00
Presentation transcript:

UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 2 Introduction/Overview Fri. 9/8/00

Web Page Web Page

Textbooks Required: - - Java: How to Program, Third Edition by Deitel and Deitel, Prentice-Hall, Core Jini by W. Keith Edwards, Prentice-Hall PTR, Optional: - - Java 2 Certification by Jamie Jaworski, New Riders Publishing, Available in UML bookstore

Homework 1 Wed, 9/6 Fri, 9/8 Read Ch 1 (Deitel) HW# Assigned Due Content

Syllabus for Part 1 of the Course Closed book; Worth 15% of grade

What is Java? ä Language developed by Sun Microsystems ä Popular use: World Wide Web ä Platform-independent ä Interpreter: Java Virtual Machine ä Mobile code (Applets): transient, seamless ä Fully Object-Oriented ä Many C++ constructs ä Class library support

A Typical Java Environment Phase 1 Editor Disk Program is created in editor and stored on disk. Phase 2 Compiler Disk Compiler creates bytecodes and stores them on disk. Phase 3 Disk Class Loader PrimaryMemory Class loader puts bytecodes in memory. Phase 4 Bytecode Verifier PrimaryMemory Bytecode verifier confirms all bytecodes are valid & abide by security constraints. Phase 5 Interpreter PrimaryMemory Interpreter (JVM) executes bytecodes by reading & translating into machine language. [Deitel 99]

What is Distributed Computing? ä Distributed system: collection of computing devices that communicate with each other ä Challenges: ä heterogeneous hardware, software ä asynchrony ä limited local knowledge ä failures [Attiya, Welch 99]

Eight Fallacies of Distributed Computing ä The network is reliable ä Latency is zero ä Bandwidth is infinite ä The network is secure “Essentially everyone, when they first build a distributed application, makes the following eight assumptions. All prove to be false in the long run, and all can cause big trouble and painful learning experiences.” - Peter Deutsch ä Topology doesn’t change ä There is one administrator ä Transport cost is zero ä The network is homogeneous

Why Java & Distributed Computing? ä Platform independence helps with heterogeneous hardware, software challenge ä Built-in support for: ä Multithreading: concurrent multiple activities ä Client-Server computing: servlets, JDBC ä Remote Method Invocation (RMI): method calls across network ä Networking: socket-based communication views networking like file I/O

Our Distributed Computing Goal: Managing A Complex Enterprise Telecommunications

Enterprise Characteristics ä Many participants ä hardware, software ä varied communication ä Highly distributed ä Frequent changes ä mobile clients ä service availability

What is Jini? ä Java-based connection framework developed by Sun Microsystems ä Philosophy: ä plug ‘n play network ä blur distinction between hardware and software ä “self-healing” ä Elements: discovery, lookup, leasing, remote events, transactions, JavaSpaces

Background on Jini Technology proxy manages service interaction ClientLookup Service Service Item Proxy Attribute Service Provider Service Item Proxy Attribute Service Item Proxy Attribute Assumes Java and network Consists of Java classes Works at application level

Homework 1 Wed, 9/6 Fri, 9/8 Read Ch 1 (Deitel) 2 Fri, 9/8 Mon, 9/11 Read Ch 1, 2 (Edwards) Fri, 9/15 Read Ch 2, 3 (Deitel) Fri, 9/15 Read Ch 2, 3 (Deitel) Fri, 9/15 Assignment #1, Part 1 Fri, 9/15 Assignment #1, Part 1 short-answer questions short-answer questions Mon, 9/18 Assignment #1, Part 2 “Hello World” programming Mon, 9/18 Assignment #1, Part 2 “Hello World” programming (application and applet) (application and applet) HW# Assigned Due Content Homework is due at the start of lecture on the due date.

Computing Environment ä Java 2 platform: Java 2 SDK v ä ä Jini v. 1.1 ä ä UML CS UNIX environment ä Optional: ä PC environment (code must also run on UNIX) ä Java integrated development environment ä 2 are on disk with Deitel textbook (NetBeans caveat) Make sure you have a UML CS UNIX account

C++ Diagnostic ä ä Assess C++ background ä ä Will not contribute to the course grade ä ä Answers on the way out of class ä ä Name is optional ä ä Provide code snippets, not entire programs ä ä Leave unknowns blank