1 / 35

Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu

Service Context Management for Exertion-oriented Programming. Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu.edu. Overall Presentation Goal or Primary Purpose. Create a life-cycle for context management in Exertion-Oriented Programming. Beginning.

fallon
Download Presentation

Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu

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. Service Context Management for Exertion-oriented Programming Greg McChesney Thesis Defense Presentation Computer Science, TTU greg.mcchesney@ttu.edu

  2. Overall Presentation Goal or Primary Purpose • Create a life-cycle for context management in Exertion-Oriented Programming Greg McChesney Beginning

  3. 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 Greg McChesney Beginning

  4. 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 Greg McChesney Beginning

  5. Did you know? There is no network-centric methodology for creating service contexts in the SORCER environment. Greg McChesney Beginning

  6. 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 Greg McChesney Beginning

  7. 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 McChesney

  8. 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 McChesney

  9. Sample Context Image courtesy of Dr. Sobolewski Greg McChesney

  10. Need for a Life-Cycle • Two roles • Provider-some introduction • Request-some introduction Greg McChesney

  11. 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 McChesney

  12. 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 McChesney

  13. 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 McChesney

  14. 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 McChesney

  15. Activity Diagram Greg McChesney

  16. Different Components Need to Update Greg McChesney

  17. Use Case Diagram Context Browser Greg McChesney

  18. Component Diagram Context Browser Greg McChesney

  19. Context Browser UI Component Diagram Greg McChesney

  20. Context Browser Sequence- Viewer Greg McChesney

  21. Context Browser Sequence- Admin Greg McChesney

  22. Context Browser-Class Diagram Greg McChesney

  23. 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 Greg McChesney Middle

  24. 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 McChesney

  25. Exertion Editor-Use Case Greg McChesney

  26. Exertion Editor-Component Diagram Greg McChesney

  27. Exertion Editor UI-Component Diagram Greg McChesney

  28. Exertion Editor-Sequence Creator Greg McChesney

  29. Exertion Editor- Sequence Submitter Greg McChesney

  30. Exertion Editor-Class Diagram Greg McChesney

  31. Sargent Circle GroovyShell Greg McChesney

  32. 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 McChesney

  33. 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 Greg McChesney End

  34. Greg McChesney

  35. Greg McChesney

More Related