Client Server - Select ‘B1’, model, protocol from B1DB...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Operate in a heterogeneous environment, which consists of multi vendor hardware & software Communications between client and server is message –based via a well-defined API . Goals: usability, flexibility, interoperability, and scalability Read SYSTEM OF SYSTEMS (will be on FINALS ) Client Server Request() (1) receives Process (2) Return (3) Do with answers (4) Side effect – Client does not use its resources properly because context is lost. Use rollback to resolve the issues 2-tier architecture is more expensive to maintain as time increases. N tier architecture is less expensive to maintain as time goes by. Time(x) vs Cost (y)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0 5 10 15 20 25 30 35 n-tier 2-tier Select * from Buses, Disks where Buses.protocol = Disks.protocol; Global as view Mediator B1DB B2DB B3DB D1DB D2DB (model, protocol)-Local view
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Select ‘B1’, model, protocol from B1DB UNION Select ‘B2’, model, protocol from B2DB UNION Select B3(or manf), model, protocol from B3DB PreparedStatement psmt1 = conn.prepareStatement(“SELECT ‘D1’, model, protocol from D1DB where protocol = ?”) While(rs.next()){ String prot = Rs.getString(“protocol”); Psmt1.setString(1,prot); ResultSet rs2 = psmt.executeQuery(); Ex1 V1(c,p) <- par(c,p) V2(c,g) <- par(c,p) AND par(p,g) Ex2 ggp(c,x) <- par(c,u) AND par(u,v) AND par(v,x) Sol1(c.x) V1(c,u) AND V1(u,v) AND V1(v,x) Sol2(c,x) V2(c,g) AND V1(g,x) Sol3(c,x) V1(c,u) AND V2(u,x) SELF JOIN Select R1.c, R3.p from V1 as R1, V1 as R2, V1 as R3 Where R1.p = R2.c and R2.p = R3.c;...
View Full Document

This note was uploaded on 03/13/2010 for the course GCCIS 400248401 taught by Professor Qiyu during the Spring '10 term at Rochester.

Page1 / 3

Client Server - Select ‘B1’, model, protocol from B1DB...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online