DOC PREVIEW
MSU CSE 870 - Posterboard Presentation

This preview shows page 1-2-3-4 out of 11 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

An Aspect-Oriented Approach to Dynamic AdaptationWhat is Dynamic Adaptation?Dynamic AdaptationExample of tangled codeAspectsCode in aspectJHow does AOP apply to Dynamic Adaptation?AOP applied to Dynamic AdaptationConclusionsReferencesAcknowledgementsAn Aspect-Oriented Approach to Dynamic AdaptationAugust 8, 2002Presented by: Sherri GoingsAdvisors: Dr. Dillon, Dr. Cheng, Dr. StirewaltSENS Lab www.cse.msu.edu/sensWhat is Dynamic Adaptation?•Traditional programs –defined at compile time, –code cannot be changed at run-time•Dynamically adaptive programs –Code may change at run-time–Changes are triggered by environmental conditionsDynamic Adaptation•Concerns that warrant dynamic adaptation include–Quality of Service (QoS)–Security–Error Logging•Such concerns are cross-cutting in nature–Code is scattered throughout program–Difficult to read, understand, debug, and modifyExample of tangled code•Code in red pertains to Error Logging–Spread throughout the programAspects•Mechanisms used to collect and extract scattered but related code•Aspect can be woven into existing code at compile time–Code in Aspect is automatically scattered•This enables extension of existing programs functionality to handle a new concern–No need to modify original codeCode in aspectJ•Code for Error Logging has been pulled out into its own classHow does AOP apply to Dynamic Adaptation?•Start with a traditional program –Core program•Use aspects to–Make program ready for adaptation•Adapt-ready program–Define the dynamic adaptations•E.g. add security, improve QoS •At run-time the program adapts to changes in environmental conditionsAOP applied to Dynamic AdaptationConclusions•Using aspects to achieve dynamic-adaptation allows–Separation of application code from adaptation code–Run-time changes in functionality of original program without modifying core programReferences•Tzilla Elrad, Robert E. Filman, and Atef Bader. Aspect-oriented programming. In Communications of the ACM, October 2001-Volume 44, Number 10, pp29-32.•Gregor Kiczales, Erik Hilsdale, Jim Hugunin, Mik Kersten, Jeffrey Palm, and William G. Griswold. Getting started with aspectJ. In Communications of the ACM, October 2001-Volume 44, Number 10, pp59-65.•Z. Yang, B.H.C. Cheng, R.E.K. Stirewalt, J. Sowell, S.M. Sadjadi, and P.K. McKinley. An Aspect-Oriented Approach to Dynamic Adaptation. SENS lab, CSE dept., MSU•http://aspectj.org/Acknowledgements•Special thanks to–Masoud Sadjadi–Zhenxiao Yang–Jesse Sowell•Supported by–MSU College of Engineering–National Science Foundation Grant•For further info please visit


View Full Document

MSU CSE 870 - Posterboard Presentation

Documents in this Course
HW2

HW2

3 pages

splc1

splc1

21 pages

Lessons

Lessons

3 pages

revision

revision

13 pages

ft1

ft1

12 pages

john.dsn

john.dsn

21 pages

Survey

Survey

2 pages

revision

revision

38 pages

Load more
Download Posterboard Presentation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Posterboard Presentation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Posterboard Presentation 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?