systems integration. tier 1 application center topology firewall & cache web businesslogic...

17
Systems Integration

Upload: aron-barrett

Post on 25-Dec-2015

223 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Systems Integration

Page 2: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Tier 1

                                                                                                                                                                         

Page 3: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Application Center Topology

FirewallFirewall& Cache& Cache

WebWeb BusinessBusinessLogicLogic

StorageStorage

.COMs.COMs

Intranet/ITIntranet/IT

Hosting/ASPsHosting/ASPs

Web ServicesWeb Services

Page 4: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Object Oriented Languages

Abstraction - The ability for a program to ignore some aspects of the information that it is manipulating, i.e. the ability to focus on the essential.

Encapsulation - Ensures that users of an object cannot change the internal state of the object in unexpected ways; only the object's own internal methods are allowed to access its state. Each object exposes an interface that specifies how other objects may interact with it.

Polymorphism via message sending. Instead of subroutine calls, object-oriented languages can make message sends; the specific method which responds to a message send depends on what specific object the message is sent to. This gains polymorphism, because a single variable in the program text can hold different kinds of objects as the program runs, and thus the same program text can invoke different methods at different times in the same execution.

Inheritance- Organizes and facilitates polymorphism and encapsulation by permitting objects to be defined and created that are specialized types of already-existing objects - these can share (and extend) their behavior without having to reimplement that behavior.

Object-oriented programming often begins from a written statement of the problem situation. Then by a process of inserting objects or variables for nouns, methods for verbs and attributes for adjectives, a good start is made on a framework for a program that models, and deals with, that situation

Page 5: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services
Page 6: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Calendar

Sun Mon Tue Wed Thu Fri Sat

25 26 27 28 29 30 31

1 2 3 4 5 6 7

8 9 10 11 12 13 14

15 16 17 18 19 20 21

22 23 24 25 26 27 28

29 30 1 2 3 4 5

August

September 2002 October

SelectedDate SelectedDates (selected week or month) SelectionMode VisibleDate

Sub Button1_Click(sender As Object, e As EventArgs)Label1.Text = "Hello " & TextBox1.Text & " welcome to my Killer App! You selected: " & Calendar1.SelectedDateEnd Sub

Page 7: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Cre

dit

au

thS

tock

ch

eck

paym

en

tsh

ipp

ing

Cu

st.

Not.

Cu

st.

Not.

Initial Notification

Check Funds

Check Stock

Stock OK

Take Payment

Ship goods

Ship OK

Final Notification

Order Placed

Confirmation

In Stock

Confirmation

Shipped

Confirmation

OrderProcessor

Page 8: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Order Process Customer Notification- email is sent

notifying customer that process has started Credit Card Authorization – credit card is

checked – total is reserved Stock Check – Supplier is notified and

confirms that good are available Shipping – email is sent to supplier

confirming payment received. Supplier confirms that goods have been shipped

Customer notification - email is sent to the customer notifying them that order is shipped, supplying them shipping number

Page 9: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

UpdateOrderStatus

SUB UpdateOrderStatusDim Command as Sqlcommand = New SqlCommand

(“UpdateOrderStatus”)Command.commantype = commandtype.storedprocedureCommand.parameters.add(“@OrderID”, orderID)Command.parameters.add(“@status”, newStatus)Command.executeNonQuery()OrderStatus = newStatusEnd sub

Each stage in pipeline must call this and update the newstatus variable

Page 10: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Send Mail notification

Try smtpMail.smtpServer = processor.configuration.mailserverDim notificationMail as mailMessge = New MailMessagenotificationMail.to = currentcustomer.emailnotificationMail.from = processor.conmfiguraiton.custServiceemailsmtpMail.send(notificationMail)processor.AddAudit (“Notification of email sent to customer, 20002)processor.UpdateOrderStatus(6)processor.continueNow = trueCatch

ThrowNew OrderProcessorException (“Unable to send email to

customer”, 0)End try

Page 11: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Network Load-Balancing (NLB)

Page 12: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

ASP Session On A Cluster

Hmmm… Am I online? Single-node

cluster? Already

forwarding? FP/DAV enabled? Etc.

state

c

Hmmm… Am I online? etc… Oh, cookie

present, but not for me? …

Who for then? Are they online?

Page 13: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Use Case Diagram

Page 14: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Class diagram

Page 15: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Sequence Diagram

Page 16: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Collaboration diagram

Page 17: Systems Integration. Tier 1 Application Center Topology Firewall & Cache Web BusinessLogic Storage.COMsIntranet/IT Hosting/ASPs Web Services

Activity Diagram