Systems Integration
Tier 1
Application Center Topology
FirewallFirewall& Cache& Cache
WebWeb BusinessBusinessLogicLogic
StorageStorage
.COMs.COMs
Intranet/ITIntranet/IT
Hosting/ASPsHosting/ASPs
Web ServicesWeb 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
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
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
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
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
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
Network Load-Balancing (NLB)
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?
Use Case Diagram
Class diagram
Sequence Diagram
Collaboration diagram
Activity Diagram