1 / 31

OBJECT-ORIENTED CLIENT SERVER (GEMSTONE)

X. OBJECT-ORIENTED CLIENT SERVER (GEMSTONE). 1. very-light intro into Smalltalk. 1000 factorial. 1000 faktorial. 1 + 3. 1 + ’3’. Dialog warn: ’Attention!’. #(7 8 3 2 6) select: [:x | x > 5]. B := [:x | x > 5]. #(7 8 3 2 6) select: B.

denis
Download Presentation

OBJECT-ORIENTED CLIENT SERVER (GEMSTONE)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. X. OBJECT-ORIENTED CLIENT SERVER(GEMSTONE)

  2. 1. very-light introinto Smalltalk

  3. 1000 factorial. 1000 faktorial. 1 + 3. 1 + ’3’. Dialog warn: ’Attention!’. #(7 8 3 2 6) select: [:x | x > 5]. B := [:x | x > 5]. #(7 8 3 2 6) select: B. (A > 3) ifTrue: [Transcript show: ‘X’]. B1 := [Transcript show: ‘X’]. (A > 3) ifTrue: B1.

  4. 1000 zeta.

  5. RESOURCEFINDER CANVAS PALETTE CANVAS TOOL CANVAS

  6. CONCEPTUAL MODELING SOURCE CODE BROWSERS

  7. CHAMELEON VIEW Windows 3.x OS2 WARP Sun Solaris CDE (OSF MOTIF)

  8. METRICS

  9. BENCHMARKING,TUNING

  10. PROFILING

  11. 2. Gemstone features

  12. Gemstone/S - Parameters • maxcca 109objects • maxcca1000 concurrent users • avg 100 transtactions/s • symetric multiprocessing andclusterred systems • support for more processors • 24x7 • distributed server • Sparc/Solaris 2.6+ • AIX 4.2+ • HP-UX 10.20+ • Windows NT 4.0+ • Linux RH5.2+ • Navigant International Northwest Travel~40 plants + ~300 agents, weather info, hotel reservations, restorants, … • VisualWave + GemStone, response < 1s • Florida Power & Light2. major electricity supplier, network topology info, planning • Texas Instruments • IS for semiconductor research and production • OOCL (Orient Overseas Container Line) • ~500 users, ~16 transactions/s • Car insurance systems (South America) • ~500.000.000objects • Fractal Ltd • cca 500 000 extra prices and policies for air tickets • > 2.000object classes, 25.000.000objects, response < 1s • BMW, Opel, Ford, Finnair, JP Morgan, IBM, HP, Sprint, AT&T, … similare areJasmine,O2, ObjectStore,Objectivity, …

  13. Gemstone/S

  14. Gem and Stone client client client application application application GEM link session remote session remote session GEM server usernamepasswd other computer STONE GEM usernamepasswd

  15. GS in VisualWorks Gemstone is fully integrated with VisualWorks/Smalltalk environment.

  16. GS Tools in VisualWorks !@hostname!gemserver61

  17. User Management

  18. Object Creation - GS Class Browser & GS Smalltalk classes methods | sessionParameters session | sessionParameters := GbsSessionParameters new gemStoneName: 'gemserver61'; username: 'DataCurator'; password: 'xyz'. session := sessionParameters login. session at: #ServerData put: ClientData. session commitTransaction. dictionaries method categories

  19. Create/Compile from client to server Create/Compile from server to client

  20. Objects in GS

  21. Queries query path containing collections simera := Date today. cities select: {:aCity | aCity.departingAirTickets.*.validityRanges.*.to = simera}

  22. Migrating Objects

  23. Sharing Objects - Stubs 1. (object replication in GS) client server local copy local copy local copy stub stub

  24. Sharing Objects - Stubs 2. client server local copy local copy local copy stub stub message

  25. Sharing Objects - Stubs 3. client server local copy local copy local copy stub -> local copy stub message local copy local copy when a stub received a message, it is replicated by original object, and the message is performed

  26. Sharing Objects - Forwarders 1. (internal ORB in GS) (stubbing is the default behavior in GS) client server local copy local copy local copy forwarder forwarder

  27. Sharing Objects - Forwarders 2. client server local copy local copy local copy forwarder forwarder message

  28. Sharing Objects - Forwarders 3. client server local copy local copy local copy forwarder forwarder message when a forwarder received a message, the message is „forwarded“ into original message

  29. Objects in Trasactions - Synchronization with the Server

  30. Objects in Trasactions - Concurrency Modes & Reduced Conflict Classes

  31. Topaz - the Command-Line Client for GS

More Related