design patterns and component frameworks presentation
DESCRIPTION
Design Patterns and Component Frameworks Presentation. Nathan Conklin Spring 2002 CS 6704. Course Context. Design Patterns (Strategy, Visitor, UML) Component Frameworks (JavaBeans, COM+, .NET, CORBA) Midterm Enabling Technologies (EJB, RMI, OAA, XML, CCA, JINI, WO) - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/1.jpg)
Nathan Conklin
Spring 2002
CS 6704
Design Patterns and Component Frameworks
Presentation
![Page 2: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/2.jpg)
Course Context
• Design Patterns (Strategy, Visitor, UML)
• Component Frameworks (JavaBeans, COM+, .NET, CORBA)
• Midterm
• Enabling Technologies (EJB, RMI, OAA, XML, CCA, JINI, WO)
• Architectures (Web Services, 2-tier, 3-tier)
• Education & Development (Patterns in Education, XP)
• End-User Component Programming (AVS, Khoros, Visual Prog.)
• Architecture & Component Framework (P2P, STL)
• Final
![Page 3: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/3.jpg)
Nathan Conklin, Yonqun HeQinwei Zhu, Jiunwei Chen
Spring 2002CS 6704
End-User Component Programming
![Page 4: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/4.jpg)
Component Programming Tools
apE (Animation Production Environment)
Sieve
PV-Wave
(IBM’s Data Explorer)
![Page 5: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/5.jpg)
Data Flow Model
• Data input
• Computational Components– Filters
– Mappers
• Data output
Data Data Reader
StatisticalModule
OutputWriter
![Page 6: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/6.jpg)
Further Information
• AVS – http://www.avs.com/• Khoros – http://www.khoral.com/
• PV-Wave – http://www.vni.com/• IRIS Explorer – http://www.nag.co.uk/Welcome_IEC.html• OpenDX – http://www.opendx.org/• DataSplash (Tioga) – http://datasplash.cs.berkeley.edu/• apE – Dyer, D., "A dataflow toolkit for visualization," IEEE
Computer Graphics and Applications 10(4), pp. 60--69, 1990.
• Sieve – http://simon.cs.vt.edu/sieve/
![Page 7: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/7.jpg)
Nathan Conklin
Spring 2002
CS 6704
![Page 8: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/8.jpg)
Overview & History
• Application Visualization System– 1989 IEEE Computer Graphics and Applications
– Scientific Visualization
• Products– AVS/5, AVS/Express
– Gsharp, Toolmaster
– MUSE, OpenViz, VizWorks
![Page 9: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/9.jpg)
Data Flow Example
• AVS Network • Modules• Ports
• Image Viewer
![Page 10: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/10.jpg)
Modules and Ports
• Data Inputs– Some optional
– AVS data type
– Types checked as built
– Shows possible connections
• Input Parameters– How processed
– Interactively changed
• Data Outputs
![Page 11: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/11.jpg)
Subsystems
• Network Editor
• Control Panel
• Image Viewer
• Graph Viewer
• Geometry Viewer
![Page 12: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/12.jpg)
• Network Editor• CLI
• Module Library
• Workspace• Network
– Modules– Ports– Connections
![Page 13: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/13.jpg)
Example Network
#!/usr/bin/avs –networkversion 5.02 (50.65 sg2)module "read field.user.0" -xy 398,22 -ex $Path/avs_library/mongomodule "volume bounds.user.1" -xy 408,172 -ex $Path/avs_library/mongomodule "geometry viewer.user.3" -xy 328,262port_connect "read field.user.0":0 "volume bounds.user.1":0port_connect "volume bounds.user.1":0 "geometry viewer.user.3":0panel "read field.user.0" -w panel -p "Top Level Stack" -xy 0,108 -wh 256,324panel "volume bounds.user.1" -w panel -p "Top Level Stack" -xy 0,108 -wh 138,196panel "geometry viewer.user.3!display" -w container -p ui -xy 732,469 -wh 542,515manipulator "read field.user.0:Read Field Browser" -w browser -p "read field.user.0"
-xy 10,10 -wh 236,194manipulator "volume bounds.user.1:Colored Bounds" -w toggle -p "volume
bounds.user.1" -xy 10,164 -wh 118,22manipulator "geometry viewer.user.3":"Update Always" -w nonemanipulator "geometry viewer.user.3":"Update Image" -w none
![Page 14: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/14.jpg)
Control Panel
![Page 15: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/15.jpg)
Image Viewer
![Page 16: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/16.jpg)
Graph Viewer
![Page 17: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/17.jpg)
Geometry Viewer
![Page 18: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/18.jpg)
Custom Modules
• International AVS Centre– http://www.iavsc.org/– AVS Community
• Documentation
• News
– Module Repository• Source
• Documentation
![Page 19: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/19.jpg)
Module Generator
• Generates Skeleton Modules– Source in C or FORTRAN– User can customize the module interface– Reserved areas for user-supplied code
• Subroutine Modules– Module initialized and process sleeps– AVS Flow Executive wakes module– Module computes and returns output data
• Coroutine Modules– Active, autonomous modules– Continually processing and passing data– Typically used for simulations
![Page 20: Design Patterns and Component Frameworks Presentation](https://reader036.vdocuments.site/reader036/viewer/2022081514/56812e66550346895d940b70/html5/thumbnails/20.jpg)
Further Information
• Center for Scientific Visualization and Animation
• Director - Ron Kriz ([email protected])
• Sun Workstations– pluto.sv.vt.edu– venus.sv.vt.edu
• ESM 4714