Escolar Documentos
Profissional Documentos
Cultura Documentos
Distributed Applications
Lecture 1!
Introduction!
Why Networked Java?!
Introduction
Robert Brännström!
robert.brannstrom@ltu.se!
Examination!
ISBN-10: 0-596-00721-3!
ISBN-13: 978-0-596-00721-8!
4 assignments !
Lab assistant!
Karan Mitra karan.mitra@ltu.se!
Course materials
http://www.fronter.com/ltu!
Course aim!
This course gives the student knowledge to program applications containing
network communication.!
Course content!
The course covers network communication and discusses basic structures and
functionalities for development of networking applications. In addition,
the course introduces communication models like TCP/IP and its support
protocols, client-server, peer-to-peer, VPN and NAT. The course also
establishes knowledge for programming of parallel events with threads,
timers and counters.!
• Platform independent !
• Security!
Networking = power!
Possibilities to communicate with millions of computers… !
Web services offer access to data formatted in a predefined way. XML files are
often sent via HTTP.!
• Games!
• Chat !
• File sharing!
• WebCollab!
Servers
All types of servers can be written in Java (most types are already implemented)!
- I lab 3 you will construct an game server…!
Java Remote Method Invocation (RMI) => objects on the server can be called
directly from the code in the client (like an local object).!
The Java Servlet API enables adding of new services to the existing server.!
Spiders and Agents
Java 2 Micro Edition (J2ME or Java Mobile) is a subset of the Java 2 API.!
- targets small units like set-top boxes, mobiles, PDAs…!
- no support for java.net classes !
- has instead a Generic Connection Framework !
! ! ! ! ! ! ! !top domains!
! ! ! ! ! ! ! !sub domains!
Next lecture