Bài giảng Kiến trúc phần mềm: Middleware - PGS.TS. Trần Minh Triết
Số trang: 46
Loại file: pdf
Dung lượng: 919.99 KB
Lượt xem: 12
Lượt tải: 0
Xem trước 5 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Kiến trúc phần mềm - Middleware trình bày các nội dung: Middleware classification, CORBA code example, basic messaging, MOM transactions, messaging – some thoughts, publish - subscribe with multicast,... Mời các bạn cùng tham khảo nội dung chi tiết.
Nội dung trích xuất từ tài liệu:
Bài giảng Kiến trúc phần mềm: Middleware - PGS.TS. Trần Minh Triết Trường Đại học Khoa Học Tự Nhiên Khoa Công Nghệ Thông Tin Bộ môn Công Nghệ Phần Mềm CTT526 - Kiến trúc phần mềm Middleware PGS.TS. Trần Minh Triết tmtriet@fit.hcmus.edu.vn Version 1.0 CuuDuongThanCong.com https://fb.com/tailieudientucntt Nội dung của bài giảng sử dụng: Session 4: A Guide to Middleware Architectures and Technologies trong bộ slide Software Architecture Essential của GS. Ian Gorton Software Engineering Institute Carnegie Mellon University 2 CuuDuongThanCong.com https://fb.com/tailieudientucntt Introduction Middleware is the plumbing or wiring of IT applications Provides applications with fundamental services for distributed computing Insulates applications from underlying platform (OS, DBMS, etc) APIs Lots of middleware exists Different purposes Different vendors Different standards and proprietary technologies 3 CuuDuongThanCong.com https://fb.com/tailieudientucntt Middleware Classification Business Process Orchestrators BizTalk, TIBCO StaffWare, ActiveBPEL Message Brokers BizTalk, WebSphere Message Broker, SonicMQ Application Servers J2EE, CCM, .NET Transport Message-Oriented Middleware, Distributed Objects Systems 4 CuuDuongThanCong.com https://fb.com/tailieudientucntt Outline CORBA Message-oriented middleware J2EE Message brokers Business process orchestrators 5 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA Venerable distributed object technology Still widely used in telecomms, defense Many different implementations Client Server Object Reference Servant request reply client ORB server ORB Network 6 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA Code Example module ServerExample { CORBA IDL interface MyObject { string isAlive(); }; }; class MyServant extends _MyObjectImplBase Server { public String isAlive() { return '\nLooks like it…\n'; } } ORB orb = ORB.init(args, null); MyServant objRef = new MyServant(); orb.connect(objRef); ORB orb = ORB.init(args, null); // Lookup is a wrapper that actually access the CORBA Naming Client // Service directory – details omitted for simplicity MyServant servantRef = lookup(“Myservant”)String reply = servantRef.isAlive(); 7 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA – Some Thoughts Many associated services, eg Naming Notification Transactions Synchronous technology, client-server relatively tightly coupled Remote calls can/will fail State management in server objects creates „interesting‟ recovery issues 8 CuuDuongThanCong.com https://fb.com/tailieudientucntt Messaging - MOM Basic Message Oriented Middleware (MOM) provides features like: Asynchronous communications between processes, applications and systems Send-and-forget Delivering messages despite failures Transactional Messaging Deliver all messages in a transaction, or none Persistence Messages can be logged at the server and hence survive server failure 9 CuuDuongThanCong.com https://fb.com/tailieudientucntt Basic Messaging Send (queue, message) Put message onto queue Receive (queue, message) Get message from queue No dependency on state of receiving application on message send send receive queue CuuDuongThanCong.com https://fb.com/tailieudientucntt 10 Persistence queue send receive Receipt of message at queue implies message is written to disk log Removal of message from queue deletes message from disk log Trade-off per ...
Nội dung trích xuất từ tài liệu:
Bài giảng Kiến trúc phần mềm: Middleware - PGS.TS. Trần Minh Triết Trường Đại học Khoa Học Tự Nhiên Khoa Công Nghệ Thông Tin Bộ môn Công Nghệ Phần Mềm CTT526 - Kiến trúc phần mềm Middleware PGS.TS. Trần Minh Triết tmtriet@fit.hcmus.edu.vn Version 1.0 CuuDuongThanCong.com https://fb.com/tailieudientucntt Nội dung của bài giảng sử dụng: Session 4: A Guide to Middleware Architectures and Technologies trong bộ slide Software Architecture Essential của GS. Ian Gorton Software Engineering Institute Carnegie Mellon University 2 CuuDuongThanCong.com https://fb.com/tailieudientucntt Introduction Middleware is the plumbing or wiring of IT applications Provides applications with fundamental services for distributed computing Insulates applications from underlying platform (OS, DBMS, etc) APIs Lots of middleware exists Different purposes Different vendors Different standards and proprietary technologies 3 CuuDuongThanCong.com https://fb.com/tailieudientucntt Middleware Classification Business Process Orchestrators BizTalk, TIBCO StaffWare, ActiveBPEL Message Brokers BizTalk, WebSphere Message Broker, SonicMQ Application Servers J2EE, CCM, .NET Transport Message-Oriented Middleware, Distributed Objects Systems 4 CuuDuongThanCong.com https://fb.com/tailieudientucntt Outline CORBA Message-oriented middleware J2EE Message brokers Business process orchestrators 5 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA Venerable distributed object technology Still widely used in telecomms, defense Many different implementations Client Server Object Reference Servant request reply client ORB server ORB Network 6 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA Code Example module ServerExample { CORBA IDL interface MyObject { string isAlive(); }; }; class MyServant extends _MyObjectImplBase Server { public String isAlive() { return '\nLooks like it…\n'; } } ORB orb = ORB.init(args, null); MyServant objRef = new MyServant(); orb.connect(objRef); ORB orb = ORB.init(args, null); // Lookup is a wrapper that actually access the CORBA Naming Client // Service directory – details omitted for simplicity MyServant servantRef = lookup(“Myservant”)String reply = servantRef.isAlive(); 7 CuuDuongThanCong.com https://fb.com/tailieudientucntt CORBA – Some Thoughts Many associated services, eg Naming Notification Transactions Synchronous technology, client-server relatively tightly coupled Remote calls can/will fail State management in server objects creates „interesting‟ recovery issues 8 CuuDuongThanCong.com https://fb.com/tailieudientucntt Messaging - MOM Basic Message Oriented Middleware (MOM) provides features like: Asynchronous communications between processes, applications and systems Send-and-forget Delivering messages despite failures Transactional Messaging Deliver all messages in a transaction, or none Persistence Messages can be logged at the server and hence survive server failure 9 CuuDuongThanCong.com https://fb.com/tailieudientucntt Basic Messaging Send (queue, message) Put message onto queue Receive (queue, message) Get message from queue No dependency on state of receiving application on message send send receive queue CuuDuongThanCong.com https://fb.com/tailieudientucntt 10 Persistence queue send receive Receipt of message at queue implies message is written to disk log Removal of message from queue deletes message from disk log Trade-off per ...
Tìm kiếm theo từ khóa liên quan:
Bài giảng Kiến trúc phần mềm Kiến trúc phần mềm Middleware classification CORBA code example Basic messaging MOM transactionsTài liệu liên quan:
-
Đề cương chi tiết học phần Vi xử lý
12 trang 298 0 0 -
Giáo trình Công nghệ phần mềm nâng cao: Phần 1
151 trang 198 0 0 -
Giáo trình môn học: Cấu trúc máy tính (Trình độ: Trung cấp/cao đẳng)
103 trang 84 0 0 -
Tập bài giảng Kiến trúc máy tính
227 trang 51 0 0 -
Bài giảng Phân tích thiết kế phần mềm: Chương 10 - Trường ĐH Ngoại ngữ - Tin học TP.HCM
8 trang 30 0 0 -
Bài giảng Bộ môn Công nghệ phần mềm - Bài 3: Kiến trúc phần mềm
27 trang 30 0 0 -
Giáo trình Kiến trúc và thiết kế phần mềm: Phần 1
93 trang 29 0 0 -
Hello World: Bộ kiểm thử hiệu năng Rational
36 trang 28 0 0 -
Cài đặt IBM Rational Team Concert Express-C
11 trang 28 0 0 -
Giáo trình Kiến trúc và thiết kế phần mềm: Phần 2
117 trang 27 0 0