TAILIEUCHUNG - Lecture Software engineering: Lecture 20 - Ivan Marsic

Lecture 20: Distributed computing (Broker and middleware). The main contents of this chapter include all of the following: Middleware, broker design pattern, java remote method invocation (RMI). | Ivan Marsic Rutgers University LECTURE 20: Distributed Computing Broker and Middleware Topics Middleware Broker Design Pattern Java Remote Method Invocation (RMI) Object Messaging via Middleware Serialization / Marshalling From software objects to a sequence of bits for network transmission List Sorter Client List Middleware Middleware Network Computer A Computer B 010110011 Middleware Middleware is a collection of objects that offer a set of services related to object communication, so that extraneous functionality is offloaded to the middleware To reduce the number of object’s responsibilities In general, middleware is software used to make diverse applications work together smoothly Middleware Object A Object B Middleware Object A Object B' Object A' Object B (a) (b) Broker Pattern (a) (b) Broker Class Diagram (c) Client-Server RMI/RPC Java RMI Example Practical Issues Do not design for patterns first Reaching any solution is the priority; solution optimization should be secondary Refactor the solution to patterns ., to reduce the complexity of the program’s conditional logic Uncritical use of patterns may yield worse solutions!

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.