Java Einfhrung - PowerPoint PPT Presentation

1 / 47
About This Presentation
Title:

Java Einfhrung

Description:

Organisation of Networks. Lecture IKR Universit t Stuttgart ... Fig. 3-3 Communication within a system - Symbian OS Client-Server Framework. User. Privileges ... – PowerPoint PPT presentation

Number of Views:212
Avg rating:3.0/5.0
Slides: 48
Provided by: Stepha46
Category:

less

Transcript and Presenter's Notes

Title: Java Einfhrung


1
Lecture IKR Universität Stuttgart Telecommunicatio
n Software Engineering
Organisation of Networks
May 22, 2006 Stephan Rupp
2
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
3
Fig. 3-1 Distribution of functions - direct
control vs. remote control
Case 1 Direct Control Procedure Calls and
Context definition within the system
Case 2 Remote Control Communication and Context
need to be defined in both systems
4
Fig. 3-2 Communication by exchange of messages
Sender
Receiver
System A
System B
Communication by exchange of messages
Context ?
5
Fig. 3-3 Communication within a system - Symbian
OS Client-Server Framework
Server-Thread
Client-Thread
Context ?
Response
Request
Server
User Privileges
Message
Kernel Privileges
Kernel
6
Fig. 3-4 Example Client calls server function
Server
Client
x f1(a,b,c)
Request
ServiceL(aMessage)
aMessage.Complete(x)
Response
Context message type for a procedure call on the
server
7
Fig. 3-5 Example Client call including data
transfer
Server
Client
y f2(p,q,r)
Request
ServiceL(aMessage)
q
aMessage.ReadL()
aMessage.WriteL()
r
aMessage.Complete(x)
Response
Context exchange pointers to read and write data
between threads
8
Fig. 3-6 Example Context includes framework API
for client-server relations
Server
Client
RMessage Function() Complete() ReadL() WriteL()
CServer
CSession ServiceL()
1..n
DSession
Note
Kernel
has a
Context Framework API
9
Fig. 3-7 Distribution of functions between
different systems
Client, User Agent
Server, User Agent
Systems contain software for distributed
computing, such as clients, servers or user agents
System B
10
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
11
Fig. 3-8 Overlay networks by groups of user agents
Logical networks
User agent
User agent
Physical networks
12
Fig. 3-9 The anatomy of a user agent
UA_ID
User Agent
13
Fig. 3-10 Discovery Updates and Relations
Local User Agent
14
Fig. 3-11 Establish a communication link
local user agent
remote user agent
in
15
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
16
Fig. 3-12 JXTA Protocols
Local Peer
Remote Peer
Standard Services
Core Protocols
17
Fig. 3-13 The discovery phase in JXTA
Local Peer
Rendezvous Peer
Router Peer
Local Peer
Methods getConnectedPeers()
getConnectedRdvPeers()
Firewall/NAT
Relay Peer
Local Peer (Edge Peer)
18
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
19
Fig. 3-14 Bluetooth Service Discovery by SDP
Service Discovery Application
Client Application
Server Application
Service Record
SDP Client
SDP Server
SDP Service Discovery Protocol UUID
Universally Uniform Identifier (used as Service
Attributes)
20
Fig. 3-15 Bluetooth Service Records
Service Record (List of Service
Attributes) ServiceRecordHandle ServiceClassIDList
ServiceRecordState ServiceID ProtocolDescriptionL
ist BrowseGroupList LanguageBasedAttributeIDList S
erviceInfoTimeToLive ServiceAvailability Bluetooth
ProfileDescriptorList DocumentationURL ClientExecu
tionURL IconURL ServiceName ServiceDescription Pro
viderName
...
...
...
E.g. Value or Value list of UUIDs (Typ Data
Element Sequence)
21
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth Java RMI JINI J2ME CORBA Web
Services Universal Plug Play
22
Fig. 3-16 Java-RMI (Remote Method Invocation)
Client Java interface
Server implements Client Java interface
Application Software
23
Fig. 3-17 JINI - discovery and download of client
proxies
24
Multicast Request Protocol
Lookup Service
Lookup Service
Discovering Entity
Lookup Service
25
Multicast announcement protocol
Discovering Entity
Discovering Entity
Lookup Service
Discovering Entity
26
Unicast discovery protocol
Lookup Service
Discovering Entity
Service
27
Join
Discovery
Service Provider
Lookup Service
Join
Service Proxy
Service
Service-Item
28
Lookup
29
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
30
Fig. 3-18 The structure of J2ME
Mobile Device
CLDC
31
Fig. 3-19 The J2ME CLDC Generic Connection
Framework
Connection
StreamConnectionNotifier
InputConnection
StreamConnection
OutputConnection
ContentConnection
DatagramConnection
32
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
33
Fig. 3-20 Evolution of Computer Programming
34
Fig. 3-21 Distributed Computing
35
Fig. 3-22 CORBA
36
Fig. 3-22 CORBA
37
Fig. 3-23 Reconstruction of the client from
context description
Context-Definition
38
Fig. 3-24 Relations of Web Services Components
Gives a reference to the description of the
service
39
Fig. 3-25 The Principle of UDDI
White PagesGeneral information about the
organisation offering the service
Yellow PagesInformation sorted by certain
criteria
A Web Service is characterized by a URL
pointing to its WDSL description.
Green PagesMethods and Parameters valid for the
service
40
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
41
Universal Plug Play Devices and Services
42
Universal Plug Play Architecture
43
A challenge for Plug Play Home Networks
44
How to organise Home Networks
45
Use of domain models and meta-information
46
A framework for the organisaion of networks
47
Organisation of Networks
1 Basic Principles Communication and
Context Service Discovery and organisation of
networks 2 Some Concepts in Practice JXTA Blueto
oth RMI JINI J2ME CORBA Web
Services Universal Plug Play
The END
Write a Comment
User Comments (0)
About PowerShow.com