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 and Middleware Technologies To develop a web enable stock trading and stock price quote system By MSMQ ,Java RMI and ASP, Take advantage of those service in e-commerce 2
Schedule Part 1 The Stock Trading and Quotation System Part 2 Middleware Technology Part 3 Q&A 3
Background Information 4
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 5
AMS/3 A uto M atching S ystem Release at the mid of 2000! 6
AMS/3 Open Gateway 1. My system over here 2. 7
Trading Process 8
In the future From Apple Daily 18-4-2000 IDG Research Result 9
Part 1 Stock Trading & Quote System 10
The Stock Trading System Browsers IIS Server IIS Server IIS Server Active Server <HTML> <HTML> <HTML> Page Script <% <% <% HTTP MSMQ Send MSMQ Send MSMQ Send %> %> %> database </HTML> </HTML> </HTML> MSMQ MSMQ MSMQ API API API Receiving Receiving Receiving Queue Manager Queue Manager Queue Manager Application Application Application Web Browser SellQ BuyQ 11
Login Screen 12
Main Screen 13
Statement 14
Account Summary 15
Personal Info 16
Stock Trading & WatchList 17
Order Success 18
Limit Order 19
Limit Order Success 20
Order Fail 21
Order Status 22
Order Cancel and Change 23
MQ Server 24
Broker 25
Stock Quote System JDBC SQL Server Tier-2 Tier-3 Tier-1 Quote Server Database Client 3-Tier Architecture of Stock Quote System (Chart) 26
Stock Quote by Applet Bar chart 27
Stock Quote By Applet Line Chart 28
Stock Quote by ASP 29
Servers (Java) Quote Server real time random price generation server 30
The Quote Applet Interaction Diagram 31
Part 2 Middleware Technologies 32
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) 33
Location of Middleware Location of middleware in the OSI model Application Application-1 Application-2 Application Application Presentation Presentation Middleware Session Session Transport Transport Data Network Network Transport Data Data Service Physical Physical 34
Spaghetti System Application A Application a Application B Application b Application .. Application .. Application z Application k Application1 Machine B Application 2 Machine A Application .. Application n Machine c 35
Single Communication Bus App. B App. A Middleware ……. App. n App. 1 Middleware or communication bus for distributed applications 36
Different kind of Middleware Message Base Middleware RPC - Procedure Base CORBA/RMI - Object Oriented Middleware in this Project Java RMI MS Message Queue Server 37
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) 38
Example use of MOM Banking workflow programming Health-care DCE Logistic Application Integration Insurance A synchronous Communication 39
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. 40
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! 41
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 42
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 43
Q&A 44
Recommend
More recommend