greg mcchesney thesis defense presentation computer science, ttu greg.mcchesney@ttu
DESCRIPTION
Service Context Management for Exertion-oriented Programming. Greg McChesney Thesis Defense Presentation Computer Science, TTU [email protected]. Overall Presentation Goal or Primary Purpose. Create a life-cycle for context management in Exertion-Oriented Programming. Beginning. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/1.jpg)
Greg McChesneyThesis Defense PresentationComputer Science, [email protected]
Service Context Management for Exertion-oriented Programming
![Page 2: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/2.jpg)
Greg McChesney2
Overall Presentation Goal or Primary Purpose
Beginning
• Create a life-cycle for context management in Exertion-Oriented Programming
![Page 3: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/3.jpg)
Greg McChesney3
Thesis Objectives
• As a result of this presentation, you will be able to:– Understand the purpose of service contexts– Understand why a life-cycle is required– Utilize the life-cycle for your SORCER projects– Create a context in SORCER– Modify a context in SORCER– Execute an exertion in SORCER– View a returned exertion context from the
federation
Beginning
![Page 4: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/4.jpg)
Greg McChesney4
Speaker’s Qualifications
• Greg McChesney is a graduate student at TTU
• Greg McChesney is planning to graduate in May of 2009 with a Master’s in Computer Science
• Completed a related project as a feasibility study in Communication Networks
Beginning
![Page 5: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/5.jpg)
Greg McChesney5
Did you know?
There is no network-centric methodology for creating service contexts in the SORCER environment.
Beginning
![Page 6: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/6.jpg)
Greg McChesney6
Presentation Agenda
• Background knowledge
• What is a service context?
• Discuss why a life-cycle is required
• Overview of life-cycle
• Discuss Context Creation Panel
• Feasibility Study
• Schedule
Beginning
![Page 7: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/7.jpg)
Background Knowledge
• Many different Exertion-Oriented (EO) Systems
• Implementation based on SORCER– Developed by Texas Tech SORCER Lab– Based on Jini network technology– Framework constantly evolving– Interoperability with existing providers a concern
for new development
Greg McChesney7
![Page 8: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/8.jpg)
All About Contexts
• A service context is a basic data structure in SOOA
• Used for communication between provider and requestor (a data exchange contract)
• A service context depends on the provider and the method being executed
• Data specification of hierarchical attributes the method will require
• Stored in a tree like format of path/value
Greg McChesney8
![Page 9: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/9.jpg)
Sample Context
Greg McChesney9 Image courtesy of Dr. Sobolewski
![Page 10: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/10.jpg)
Need for a Life-Cycle
• Two roles– Provider-some introduction– Request-some introduction
Greg McChesney10
![Page 11: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/11.jpg)
Need for a Life-Cycle
• Two roles– Provider
• No methodology to obtain a service context from a provider
• No methodology to interactively create network centric contexts
• No method of updating or removing a context from a provider
Greg McChesney11
![Page 12: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/12.jpg)
Need for a Life-Cycle
– Requestor• Exertion-oriented programming cannot be
network centric without context management• Two new service UIs - Context Browser in
Cataloger Service UI and in Exertion Editor will provide more accessibility
• Need service context editing operations for EO programming
Greg McChesney12
![Page 13: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/13.jpg)
Proposed Life-Cycle
• Implement service context editing operations into provider classes– New operations will be remotely invokeable
• Get- Requestor• Save -Admin• Delete -Admin
• Create Context Browser to utilize the methods
Greg McChesney13
![Page 14: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/14.jpg)
Life-Cycle Explained
• Context must be:– Stored locally by provider– Reloaded on provider restart– Saved on update/create– Return undefined service context on error
• Changes must be– Compliant with existing providers– Provide backup file in case of bad context
Greg McChesney14
![Page 15: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/15.jpg)
Activity Diagram
Greg McChesney15
![Page 16: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/16.jpg)
Different Components
Greg McChesney16
Need to Update
![Page 17: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/17.jpg)
Use Case Diagram Context Browser
Greg McChesney17
![Page 18: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/18.jpg)
Component Diagram Context Browser
Greg McChesney18
![Page 19: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/19.jpg)
Context Browser UI Component Diagram
Greg McChesney19
![Page 20: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/20.jpg)
Context Browser Sequence- Viewer
Greg McChesney20
![Page 21: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/21.jpg)
Context Browser Sequence- Admin
Greg McChesney21
![Page 22: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/22.jpg)
Context Browser-Class Diagram
Greg McChesney22
![Page 23: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/23.jpg)
Greg McChesney23
Need for a Exertion Editor
• No network-centric method for creating context for exertions
• No network-centric method for reusing a context for exertions
• No common interactive method of creating exertions with context directly from providers in SORCER– Each provider must have own GUI interface– Users must learn each providers interface
• Provide easier network-centric development of new services
Middle
![Page 24: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/24.jpg)
Edit the Context?
• Why would we want to edit a service context before we launch the exertion?– The service context can often describe input
variables that are not static, editing it allows us to change them.
– Example: The AccountTester would be useless if you could not specify how much you were depositing or withdrawing.
Greg McChesney24
![Page 25: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/25.jpg)
Exertion Editor-Use Case
Greg McChesney25
![Page 26: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/26.jpg)
Exertion Editor-Component Diagram
Greg McChesney26
![Page 27: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/27.jpg)
Exertion Editor UI-Component Diagram
Greg McChesney27
![Page 28: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/28.jpg)
Exertion Editor-Sequence Creator
Greg McChesney28
![Page 29: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/29.jpg)
Exertion Editor- Sequence Submitter
Greg McChesney29
![Page 30: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/30.jpg)
Exertion Editor-Class Diagram
Greg McChesney30
![Page 31: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/31.jpg)
Sargent Circle
Greg McChesney31
GroovyShell
![Page 32: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/32.jpg)
Feasibility Study
• Create the Context Browser provider to test Life-Cycle methods– Get Context– Add Context– Update Context– Delete Context
• Utilize Arithmetic provider to demonstrate the power of the Exertion Editor.
Greg McChesney32
![Page 33: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/33.jpg)
Greg McChesney33
Summary
• Benefits of Exertion Editor– Simplified user interface– Less work for new provider creators
• In combination with a new Context Editor will provide:– Complete Context Management– Exertion initiation – Ability to use network determine a context
End
![Page 34: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/34.jpg)
Greg McChesney
![Page 35: Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu](https://reader036.vdocuments.site/reader036/viewer/2022062517/56813af8550346895da38642/html5/thumbnails/35.jpg)
Greg McChesney