Title: UMass%20Lowell%20Computer%20Science%2091.460%20Java%20and%20Distributed%20Computing%20Prof.%20Karen%20Daniels%20Fall,%202000
1UMass Lowell Computer Science 91.460 Java and
Distributed Computing Prof. Karen Daniels Fall,
2000
- Lecture 1
- Introduction/Overview
- Wed. 9/6/00
2Web Page
Web Page
http//www.cs.uml.edu/kdaniels/courses/java2000.
html
3Nature of the Course
New!
- Leading-edge technology
- Advanced undergraduate level
- CS elective
- Highly interactive lectures
- Lots of Java programming
4Prerequisites
- Computing I (91.101)
- Computing II (91.102)
- Strong C skills
- preferably from Computing III (91.201)
- Helpful experience
- Operating Systems
- Distributed Computing
5Course Structure 3 Parts
- Java fundamentals
- applets, applications, data types, control
structures, OO programming, files - Advanced Java concepts Java support for
distributed computing - GUI/events, graphics, exceptions, advanced data
structures, threads/ multithreading, RMI - Distributed computing using a sample Java-based
environment - Jini
6Textbooks
- Required
- Java How to Program, Third Edition by Deitel and
Deitel, Prentice-Hall, 1999. - Core Jini by W. Keith Edwards, Prentice-Hall PTR,
1999. - Optional
- Java 2 The Complete Reference, Third Edition, by
Naughton and Schildt, McGraw-Hill, 1999.
Available in UML bookstore
7Syllabus
Part 1
8Syllabus (continued)
Part 2
9Syllabus (continued)
Part 3
10Important Dates
- Exam 1 Friday, 10/6
- Exam 2 Friday, 11/10
- Exam 3 TBA
11Grading
- Homework 40
- Exam 1 15 (closed book)
- Exam 2 20 (open book, notes )
- Exam 3 25 (open book, notes)
12Computing Environment
- Java 2 platform Java 2 SDK v. 1.2.2
- http//www.javasoft.com/products/jdk/1.2
- Jini v. 1.1
- http//www.javasoft.com/products/jini
- UML CS UNIX environment
- Optional
- PC environment (code must also run on UNIX)
- Experiment with jdk1.3 if you like
- Java integrated development environment
- 2 are on disk with Deitel textbook (NetBeans
caveat)
13What 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
14A Typical Java Environment
Deitel 99
15What 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
16Eight Fallacies of Distributed Computing
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 doesnt change
- There is one administrator
- Transport cost is zero
- The network is homogeneous
- The network is reliable
- Latency is zero
- Bandwidth is infinite
- The network is secure
17Why 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
18Our Distributed Computing GoalManaging A
Complex Enterprise
Telecommunications
19Enterprise Characteristics
- Many participants
- hardware, software
- varied communication
- Highly distributed
- Frequent changes
- mobile clients
- service availability
20What 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
21Background on Jini Technology
Assumes Java and network
Consists of Java classes Works at application
level
proxy manages service interaction
22Homework
HW Assigned Due Content
- 1 Wed, 9/6 Fri, 9/8 Read Ch 1 (Deitel)
First written programming assignment will be
handed out this Friday.