Using Message-Oriented Middleware to Develop Resilient Web-based - - PowerPoint PPT Presentation

using message oriented middleware to develop resilient
SMART_READER_LITE
LIVE PREVIEW

Using Message-Oriented Middleware to Develop Resilient Web-based - - PowerPoint PPT Presentation

Using Message-Oriented Middleware to Develop Resilient Web-based Applications (HWC-01) Student: Yuen, Chi-Yuen,Jeffrey IT-3 Supervisor: Dr Chun, Andy Assessor: Dr WU, ANGUS 1 Project Aims To investigate the architecture combining Internet


slide-1
SLIDE 1

1

Using Message-Oriented Middleware to Develop Resilient Web-based Applications (HWC-01)

Student: Yuen, Chi-Yuen,Jeffrey IT-3 Supervisor: Dr Chun, Andy Assessor: Dr WU, ANGUS

slide-2
SLIDE 2

2

Project Aims

To investigate the architecture combining Internet and Middleware Technologies To develop a web enable stock trading and stock price quote system By MSMQ ,Java RMI and ASP, Take advantage

  • f those service in e-commerce
slide-3
SLIDE 3

3

Schedule

Part 1 The Stock Trading and Quotation System Part 2 Middleware Technology Part 3 Q&A

slide-4
SLIDE 4

4

Background Information

slide-5
SLIDE 5

5

Existing Stock Trading Services

Stock Trading service I n HK

Cash online Boom.com SHK Online

Free-Quote Service I n HK

e-finet.com Quamnet.com

slide-6
SLIDE 6

6

AMS/3 AutoMatching System

Release at the mid of 2000!

slide-7
SLIDE 7

7

AMS/3 Open Gateway

My system

  • ver here

1. 2.

slide-8
SLIDE 8

8

Trading Process

slide-9
SLIDE 9

9

In the future

From Apple Daily 18-4-2000 IDG Research Result

slide-10
SLIDE 10

10

Part 1 Stock Trading & Quote System

slide-11
SLIDE 11

11

The Stock Trading System

MSMQ MSMQ MSMQ

Queue Manager Queue Manager Queue Manager API API API

Receiving Application Receiving Receiving Application Application IIS Server IIS Server IIS Server

<HTML> <% MSMQ Send %> </HTML> <HTML> <HTML> <% <% MSMQ Send MSMQ Send %> %> </HTML> </HTML>

Active Server Page Script Browsers HTTP

BuyQ SellQ Web Browser database

slide-12
SLIDE 12

12

Login Screen

slide-13
SLIDE 13

13

Main Screen

slide-14
SLIDE 14

14

Statement

slide-15
SLIDE 15

15

Account Summary

slide-16
SLIDE 16

16

Personal Info

slide-17
SLIDE 17

17

Stock Trading & WatchList

slide-18
SLIDE 18

18

Order Success

slide-19
SLIDE 19

19

Limit Order

slide-20
SLIDE 20

20

Limit Order Success

slide-21
SLIDE 21

21

Order Fail

slide-22
SLIDE 22

22

Order Status

slide-23
SLIDE 23

23

Order Cancel and Change

slide-24
SLIDE 24

24

MQ Server

slide-25
SLIDE 25

25

Broker

slide-26
SLIDE 26

26

Stock Quote System

JDBC SQL Server

3-Tier Architecture

  • f Stock Quote System (Chart)

Tier-1 Client Tier-2 Quote Server Tier-3 Database

slide-27
SLIDE 27

27

Stock Quote by Applet Bar chart

slide-28
SLIDE 28

28

Stock Quote By Applet Line Chart

slide-29
SLIDE 29

29

Stock Quote by ASP

slide-30
SLIDE 30

30

Servers (Java)

real time random price generation server Quote Server

slide-31
SLIDE 31

31

The Quote Applet Interaction Diagram

slide-32
SLIDE 32

32

Part 2 Middleware Technologies

slide-33
SLIDE 33

33

What is Middleware?

A layer of application between the OS and application program First goal to solve the problem of software

integration

The concept of unique communication bus(middleware)

slide-34
SLIDE 34

34

Location of Middleware

Application Presentation Session Transport Network Physical Data Application-1 Application Presentation Session Transport Network Physical Data Application-2 Location of middleware in the OSI model Middleware Application Data Transport Service

slide-35
SLIDE 35

35

Spaghetti System

Machine A Machine B Machine c

Application A Application B Application .. Application z Application1 Application a Application b Application 2 Application .. Application .. Application k Application n

slide-36
SLIDE 36

36

Single Communication Bus

Middleware

  • App. A
  • App. B
  • App. 1
  • App. n

……. Middleware or communication bus for distributed applications

slide-37
SLIDE 37

37

Different kind of Middleware

Message Base Middleware RPC - Procedure Base CORBA/RMI - Object Oriented Middleware in this Project Java RMI MS Message Queue Server

slide-38
SLIDE 38

38

Advantages of MOM

Application integration Fault Tolerant (journalized message) load balancing (different Q different order type) Asynchronous Data Communication (Limit Order) Logical communication interface

(send,receive)

slide-39
SLIDE 39

39

Example use of MOM

Banking workflow programming Health-care DCE Logistic Application Integration Insurance Asynchronous Communication

slide-40
SLIDE 40

40

What I Learn!

Technical Skills Integrated different technology to a project Those technical skill can’t learn from lecture Self-learning, learning to learn! Non-technical –Information Research Skill Internet is a most precious resource.

slide-41
SLIDE 41

41

Conclusion

Embed the latest Internet Technology and middleware technology to construct a useable web enable system In e-commerce world ,reliable and complete IT Infrastructure is key to success!

Middleware is one!

It is just the beginning, better world is coming!

slide-42
SLIDE 42

42

Reference:

1. AMS/3 Overview by HKSE 2. Dickman, Alan (1998) Designing Applications with MSMQ, Addison Wesley

3. Francis, Fedorov, Harrison , Homer, Murphy, Sussman and Wood(1999) Professional Active Server Pages 2.0, Wrox

4. Microsoft Message Queuing service White Paper: http://www.mircosoft.com/msmq

5. Martin Fowler , Kendall Scott (1998) UML Distilled Applying the Standard Object Modeling Language, Addison Wesley Press 6. Michael McKelvy (1995) Using Visual Basic 4 , Que Publish 7. Mktview Applet,(1996) Softbear Inc

8. ORS Overview by HKSE 9. Serain, Daniel. (1999) Middleware,Springer

slide-43
SLIDE 43

43

Reference:

10. Thomas Connolly ,Carolyn Begg, Anne Strchan(1998)Database Systems , A Practical Approach to Design, Implementation and Management,

Addison Wesley 11. Weber,Joseph (1999) Using Java2 Platform, Que Publish

12. Microsoft Message Queuing service Scenarios, from

13. http://www.asp101.com 14. http://www.asptoday.com 15. http://www.Dynamicdrive.com 16. http://www.microsoft.com/msmq 17. http://www.boom.com 18. http://www.cash.com.hk 19. http://www.e-finet.com 20. http://www.shkonline.com 21. http://www.microsoft.com 22. http://www.messageq.comh

slide-44
SLIDE 44

44

Q&A