Anda di halaman 1dari 21

SOA Concepts

605.702 Service Oriented Architecture Johns-Hopkins University Montgomery County Center, Spring 2009 Session 1: January 28, 2009 Instructor: T. Pole

Session #1 Todays Agenda

Reading

Text: Service Oriented Architecture: Concepts, Technology and Design, Thomas Erl, Edition 05 To have been completed before todays lecture

Erl Chap. 1: Introduction (to book) Erl Chap. 2: Case Studies Erl Chap. 3: Introducing SOA Todays Presentation

Overview of the course

Goals Required Resources Required work from students and grading Instructor's contact information

Introduction to the Book and Software Lecture: Introduction to Service Oriented Architecture (SOA) Introduction to our programming environment:

Windows XP Pro, IIS, and Visual Studio Pro/C#

Book

Service-Oriented Architecture : Concepts, Technology, and Design


By Thomas Erl ISBN-10: 0131858580 2005

Software

Microsoft Visual Studio 2008 Professional


No cost to registered JHU students Download from DreamSpark

https://www.dreamspark.com/ Sign in Windows Live ID required, sign up if needed Validate against JHU

Must register before download

Download and install VS 2008 Prof. Edition Speak to the instructor before the end of class today if you do not already have access to this software platform (Windows XP or Vista, VS 2008, IIS) for exercises and projects

Overview of the Course 1 of 2

Goals of the Course, that students will:

Understand what an SOA is, and how it differs from other architectures Know what Web Services are and their difference from and relationship to SOA Be able to build simple Web Services Be able to analyze and design example SOA systems, and implement them using basic Web Services

Overview of the Course 2 of 2

Required Work and Grading


Reading assignments prior to class Class homework and exercises (30% of grade) Mid Term Exam (20% of grade) on theoretical foundations of course Final Project/Paper (30% of grade) Final Exam (20% of grade) on application of course and advance concepts
Thomas Pole: prof@hisdomain.net Office/consultation hours: by appointment only

Instructors Contact Information


Overview of the Course #3: What This Course Covers

Building Systems that Employ a Service Oriented Architecture

Yes we will build our SOA examples using web services No, this is not a course in building Web Services But we will cover Web Service basics

Enough of the basics of building SOAP based, C# and .Net Framework implemented Web Services so that you can implement the SOAs you design as part of the class exercises. Time permitting, we will also look at some other implementation options.

Introduction to the Books and Software

Service Oriented Architecture: Concepts, Technology and Design

One of the most popular books on the subject, one of several written by Erl on OSA Covers the core of the course material The most popular development tool for Web Service Development, free to students.

Microsoft Visual Studio Professional 2008

Lecture: Introduction to Service Oriented Architecture (SOA)

Introduction to the Erl Book

Erl Chapter 1: Why this book is important


Erl Chapter 2: Case Studies Erl Chapter 3: Introducing SOA

Introduction to Erl books case studies

Introduction to SOA

Introduction to Erls Text, Erl Chapter 1: Why this book is important

Goals:

Understand SOA, service orientation and Web Services Learn how to build SOA with Web Services
The value of SOA to the industry may be over sold in the text. The authors presentation of SOA is no less valuable because of his excitement about it.

Warning, your author is a true believer

Chapter 1: More Points to Remember

The Number One Mistake

SOA benefits are attainable simply by investing more in Web services.


A universal model in which automation logic and even business logic conform to a vision in which resources are cleanly partitioned and consistently represented.

Ideal SOA

The real SOA

Based on an understanding of service-orientation, how it shapes technical architecture into SOA, and concrete step by step processes for realizing SOA.

Chapter 1: More Points to Remember

Objectives of book

Understanding SOA, service orientation and Web services Primitive and contemporary SOA Fundamental web services WS-*specs Building SOA with Web Services

Introduction to Erl books, Chapter 2: Case Studies

Case Studies

Purpose: Give real world context to what the book covers


RailCo Ltd

Case Study Businesses

Small business (40 staff) IT immature Both efficiency (implied) and opportunity (explicit) reasons for adopting SOA

Efficiency improvements for outdated business processes and IT infrastructure Opportunity to participate in existing service oriented B2B networks

Chapter 2: More Points to Remember

Transit Lines Systems Inc

Medium size firm (staff of 1800) Relatively mature IT infrastructure

Already adopting Services, primitive SOA, 200 staff IT department Both efficiency (implied) and opportunity (explicit) reasons for adopting SOA Existing service oriented B2B partners Integration of legacy systems from multiple acquired and/or closely partnered organizations.

Introduction to SOA: Erl Chapter 3: Introducing SOA

Fundamental SOA

Service oriented: services are independently managed and employed by multiple consumers. Analogy of small businesses as service oriented

Web Services: The Preferred but Not the only SOA Implementation Technology

Consuming a SOAP based Web Service

Amazon Associate Web Service


A simple ASP.Net based Web Service Building a consumer of our new Web Service

Building a SOAP based Web Service


Introduction to Our Programming Environment

Operating System:

Windows XP Pro Optionally (for Service installs only) Windows 2003 Server
Microsoft Internet Information Server (IIS) SOAP over HTTP WS-* extensions (much more on this later) Visual Studio 2008 Pro, and the C# Programming Language

Web and Application Server

Web Service Protocols


Programming IDE

Operating System & SOAP App Server

If you wish, you may use Windows 2003 Server for deploying Web Services, but XP Pro or Vista (may be version dependent) is sufficient for all our class needs. Supports the full functionality of all software produced by Visual Studio (XP Home does not support Web Service development) Supports running Internet Information Service (IIS) which is our Web Server and Application Server platform for this class

(optional) Internet Information Server (IIS)


Free download/install from Windows distribution media. Full function web server and web service application server. Some IIS services (which we dont need for this class) are not available when running on XP Pro. Very easy to install, configure and manage in the context of what we need to do for this class.

Web Service Protocols

SOAP over HTTP

Simple Object Access Protocol


Lightweight Web Service Protocol Supported by Visual Studio and IIS Can run over multiple communication protocols (e.g. NNTP) but almost always runs over HTTP in commercial systems Language and operating platform agnostic.

SW-* Extensions (optionally)

A set of extensions to Web Services

This will be covered in later class sessions

Programming Integrated Development Environment (IDE)

Microsoft Visual Studio 2008 Pro Edition

Integrated set of design, development, debugging and testing tools


A programming language based on C++, and the .Net framework, a ECMA sponsored standard language which is CLI compliant.

Visual C# 2008

.Net Framework 3.5

Framework for software development which supports CLI development on the Microsoft Windows platform.

Anda mungkin juga menyukai