Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 1 Synchrone Methodenausführung.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

LEUCEMIA MIELOIDE AGUDA TIPO 0
PROCESSO DI INVESTIMENTO 1 CASE HISTORY. CASE HISTORY (1/1) 2.
Concurrent Programming Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 1.
Programmiermethodik SS2007 © 2007 Albert Zündorf, University of Kassel 1 GUI Konstruktion: 1. Entwurf mit Papier und Bleistift / Post Ist 2. Eventuell.
Slide 1 Insert your own content. Slide 2 Insert your own content.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 4 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
List and Search Grants Chapter 2. List and Search Grants 2-2 Objectives Understand the option My Grants List Grant Screen Viewing a Grant Understand the.
Coordinate Plane Practice The following presentation provides practice in two skillsThe following presentation provides practice in two skills –Graphing.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING Think Distributive property backwards Work down, Show all steps ax + ay = a(x + y)
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions Numbers and number system Numbers and the number system, fractions, decimals, proportion & probability.
BALANCING 2 AIM: To solve equations with variables on both sides.
ZMQS ZMQS
Photo Composition Study Guide Label each photo with the category that applies to that image.
Richmond House, Liverpool (1) 26 th January 2004.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
ABC Technology Project
1 / / / /. 2 (Object) (Object) –, 10 (Class) (Class) –, –, – (Variables) [ Data member Field Attribute](, ) – (Function) [ Member function Method Operation.
Procedural Programming in C# Chapters Objectives You will be able to: Describe the most important data types available in C#. Read numeric values.
O X Click on Number next to person for a question.
© S Haughton more than 3?
5.9 + = 10 a)3.6 b)4.1 c)5.3 Question 1: Good Answer!! Well Done!! = 10 Question 1:
1 Directed Depth First Search Adjacency Lists A: F G B: A H C: A D D: C F E: C D G F: E: G: : H: B: I: H: F A B C G D E H I.
1 public class Newton { public static double sqrt(double c) { double epsilon = 1E-15; if (c < 0) return Double.NaN; double t = c; while (Math.abs(t - c/t)
Twenty Questions Subject: Twenty Questions
Take from Ten First Subtraction Strategy -9 Click on a number below to go directly to that type of subtraction problems
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Squares and Square Root WALK. Solve each problem REVIEW:
Energy & Green Urbanism Markku Lappalainen Aalto University.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Properties of Exponents
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 First EMRAS II Technical Meeting IAEA Headquarters, Vienna, 19–23 January 2009.
Event 4: Mental Math 7th/8th grade Math Meet ‘11.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Doubles Facts Doubles with Pictures Doubles without Pictures Pictures Only.
11 = This is the fact family. You say: 8+3=11 and 3+8=11
Week 1.
We will resume in: 25 Minutes.
1 Ke – Kitchen Elements Newport Ave. – Lot 13 Bethesda, MD.
1 Unit 1 Kinematics Chapter 1 Day
FIND THE AREA ( ROUND TO THE NEAREST TENTHS) 2.7 in 15 in in.
O X Click on Number next to person for a question.
1 PART 1 ILLUSTRATION OF DOCUMENTS  Brief introduction to the documents contained in the envelope  Detailed clarification of the documents content.
How Cells Obtain Energy from Food
Copyright © 2012 Pearson Education, Inc. Chapter 14: More About Classes.
XML-RPC Cvičení 8 - DS Úvod XML RPC Volání vzdálených podprogramů.
Threads and processes Programmiermethodik SS © 2005 Albert Zündorf, University of Kassel.
Presentation transcript:

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 1 Synchrone Methodenausführung

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 2 UML Sequenzdiagramme

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 3 account1 account2 bank1 bank2

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 4 account1 account2 bank1 bank2

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 5 UML Statecharts (asynchrone Ausführung)

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 6 account1 account2 bank1 bank2

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 7 account1 account2 bank1 bank2

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 8 UML Komponentendiagramme BankSystem Account Bank bs1 :BankSystembs2 :BankSystem Struktur Verhalten Daten

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 9 UML Deploymentdiagramme Struktur Verhalten Daten Server :Server bs1 :BankSystemws1 :Webserver daffy.kassel.de :Server bs2 :BankSystem

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 10

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 11

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 12

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 13 Calling a remote method class Bank { public void remoteTransferToBank2(Account account1, String account2, double amount) { XmlRpcClient xmlrpc = new XmlRpcClient (" Vector params = new Vector (); params.addElement ("account2"); params.addElement (amount); // this method returns a boolean Boolean result = (Boolean) xmlrpc.execute ("remoteTransferFromBank1", params); } …

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 14 Server accepting remote calls class Bank { … public static void main (String [] args) { WebServer webserver = new WebServer (8080); webserver.addHandler ("transfers", new TransferHandler()); … }

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 15 Server accepting remote calls class TransferHandler implements XmlRpcHandler { … Object execute(XmlRpcRequest pRequest) throws XmlRpcException {XmlRpcRequestXmlRpcException switch (pRequest.getMethodName()) { case "remoteTransferFromBank1": localTransferFromBank1 ((String) pRequest.getParameter(0), (double) pRequest.getParameter(1)); break; …. }

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 16

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 17

Programmiermethodik SS2006 © 2005 Albert Zündorf, University of Kassel 18