[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-693089-105":3,"doc-detail-693089-en":81,"detail-sidebar-cat-0-en-105":111,"doc-similar-693089":158},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","tutorial-4-introduction-to-aws-lambda-with-the-serverless-application-analytics-framework-saaf","Tutorial 4 - Introduction to AWS Lambda with the Serverless Application Analytics Framework (SAAF)","","Tutorial 4 introduces creating Function-as-a-Service functions on AWS Lambda and building a simple two-service application controlled by the client. It explains how the Serverless Application Analytics Framework (SAAF) helps identify the underlying cloud infrastructure for Lambda, including profiling performance and resource utilization. The tutorial guides students through downloading SAAF, cloning the repository with git, setting up Ubuntu packages, installing Maven, and using a Java Maven template to explore Hello World example classes and their request/response handling.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/tutorial-4-introduction-to-aws-lambda-with-the-serverless-application-analytics-framework-saaf/693089/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/tutorial-4-introduction-to-aws-lambda-with-the-serverless-application-analytics-framework-saaf/693089.png","ImageObject",300,407,{"name":42,"@type":43},"Stanley","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-24","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the purpose of this AWS Lambda tutorial?","Question",{"text":63,"@type":64},"The tutorial introduces creating Function-as-a-Service functions on AWS Lambda and building a simple two-service application with client-managed flow control.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does SAAF help when working with AWS Lambda functions?",{"text":68,"@type":64},"SAAF identifies the cloud infrastructure hosting the functions, supports profiling performance and resource utilization, and helps distinguish COLD vs. WARM infrastructure to understand serverless Freeze-Thaw implications.",{"name":70,"@type":61,"acceptedAnswer":71},"What Java template does the tutorial use for the Hello World function?",{"text":72,"@type":64},"It uses the SAAF-provided AWS Lambda Java function template as a Maven project, including example classes such as Hello.java, HelloPOJO.java, and HelloMain.java to demonstrate request and response handling.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},693089,1794249655,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":86,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":87,"file_id":88,"file_url":89,"file_type":90,"file_size":91,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":92,"language":93,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":94,"faqs":95,"seo_title":96,"seo_description":12,"update_tm":80,"read_time":97,"preview_page_count":30,"preview_urls":98},2336477405376,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",6,"TCSS 562: Software Engineering School of Engineering and Technology  \nfor Cloud Computing University of Washington – Tacoma  \nFall 2019  \n[http://faculty.washington.edu/wlloyd/courses/tcss562](http://faculty.washington.edu/wlloyd/courses/tcss562)  \nTutorial 4 – Introduction to AWS Lambda with the Serverless Application Analytics Framework (SAAF)  \nDisclaimer: Subject to updates as corrections are found  \nVersion 0.17  \nScoring: 40 pts maximum  \nThe purpose of this tutorial is to introduce creating Function-as-a-Service functions on the AWS Lambda FaaS platform, and then to create a simple two-service application where the application flow control is managed by the client:  \nThis tutorial will focus on developing Lambda functions in Java using the Serverless Application Analytics Framework (SAAF) . SAAF enables identification of the underlying cloud infrastructure used to host FaaS functions while supporting profiling performance and resource utilization of functions. SAAF helps identify infrastructure state to determine COLD vs. WARM infrastructure to help track and understand performance implications resulting from the serverless Freeze-Thaw infrastructure lifecycle .  \n1. Download SAAF  \nTo begin, using git, clone SAAF.  \nIf you do not already have git installed, plus do so.  \nOn ubuntu see the official documentation:  \n[https://help.ubuntu.com/lts/serverguide/git.html.en](https://help.ubuntu.com/lts/serverguide/git.html.en)  \nFor a full tutorial on the use of git, here is an old tutorial for TCSS 360:  \n[http://faculty.washington.edu/wlloyd/courses/tcss360/assignments/TCSS360_w2017_Tutorial_1.pdf](http://faculty.washington.edu/wlloyd/courses/tcss360/assignments/TCSS360_w2017_Tutorial_1.pdf)  \n[If you prefer using a GUI-based tool](If you prefer using a GUI-based tool), on Windows/Mac check out the GitHub Desktop: [https://desktop.github.com/](https://desktop.github.com/)  \nOnce having access to a git client, clone the source repository:  \ngit clone [https://github.com/wlloyduw/SAAF.git](https://github.com/wlloyduw/SAAF.git)  \nFor tutorial \\#1, we will focus on using the SAAF provided AWS Lambda Java function template provided as a maven project. If you’re familiar with Maven as a build environment, you can simply edit your Java Lambda function code using any text editor such as vi, emacs, pico/nano. However, working with an IDE tends to be easier, and many Java IDEs will open maven projects directly.  \nNext update your apt repository and local Ubuntu packages:  \nsudo apt update  \nsudo apt upgrade  \nTo install maven on Ubuntu:  \nsudo apt install maven  \n2. Build the SAAF Lambda function Hello World template  \nIf you have a favorite Java IDE with maven support, feel free to try to open and work with the maven project directly. This is confirmed to work in Apace Netbeans 11 LTS. Other popular Java IDEs include Eclipse and IntelliJ.  \nDownload Netbeans 11.0  \n[https://netbeans.apache.org/download/nb110/nb110. html](https://netbeans.apache.org/download/nb110/nb110. html)  \nOnce you’ve downloaded Netbeans, you’ll be able to open the project directly.  \nSelect “File | Open Project”.  \nThen locate your clone git project, and drill down: SAAF → java_template  \nThen on the left-hand side, expand the “Source Packages” folder.  \nYou’ll see a “java_template” folder.  \nExpand this.  \nThis contains a Hello World Lambda function as a starter template.  \nThere are three class files.  \n[Hello.java](Hello.java) Provides an example implementation of a Java AWS Lambda Function.  \nThe handleRequest() method is called by Lambda as the entry point of your Lambda FaaS function. You’ll see where in this function template your code should be [inserted. Hello.java](inserted. Hello.java) uses a HashMap for the request and response JSON objects. The incoming response JSON is“serialized” into a hashmap automatically by Lambda. The outgoing response JSON is created based on the HashMap that is returned.  \n[HelloPOJO.java](HelloPOJO.java) [HelloPOJO.java](","cbCaiuPRdzQV3r7l","https://ap.wps.com/l/cbCaiuPRdzQV3r7l","pdf",621591,23,"English","# Tutorial Overview\n## Purpose and SAAF Capabilities\n## Download and Clone SAAF\n## Build the SAAF Lambda Hello World Template\n## Explore Template Java Classes and Data Flow","[{\"question\":\"What is the purpose of this AWS Lambda tutorial?\",\"answer\":\"The tutorial introduces creating Function-as-a-Service functions on AWS Lambda and building a simple two-service application with client-managed flow control.\"},{\"question\":\"How does SAAF help when working with AWS Lambda functions?\",\"answer\":\"SAAF identifies the cloud infrastructure hosting the functions, supports profiling performance and resource utilization, and helps distinguish COLD vs. WARM infrastructure to understand serverless Freeze-Thaw implications.\"},{\"question\":\"What Java template does the tutorial use for the Hello World function?\",\"answer\":\"It uses the SAAF-provided AWS Lambda Java function template as a Maven project, including example classes such as Hello.java, HelloPOJO.java, and HelloMain.java to demonstrate request and response handling.\"}]","Tutorial 4 - Introduction to AWS Lambda with the Serverless Application Analytics Framework (SAAF) | PDF",58,[99,103,107],{"page_no":22,"url":100,"width":101,"height":102},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a8f723901b3c78be99418062222c4892.webp",983,1272,{"page_no":26,"url":104,"width":105,"height":106},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4ae67ee35e253d07db8080958b4faa0e.webp",982,1270,{"page_no":30,"url":108,"width":109,"height":110},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/30dfa59477cac5938d186adeaefbb481.webp",981,1269,{"code":4,"msg":82,"data":112},[113,117,121,125,129,132,137,142,147,150,154],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":114,"show_sort_weight":115,"slug":116},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":118,"show_sort_weight":119,"slug":120},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":122,"show_sort_weight":123,"slug":124},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":126,"show_sort_weight":127,"slug":128},"Comic",60,"comic",{"id":86,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":130,"slug":131},50,"technology",{"id":133,"doc_module":4,"doc_module_name":25,"category_name":134,"show_sort_weight":135,"slug":136},7,"Healthcare",40,"healthcare",{"id":138,"doc_module":4,"doc_module_name":25,"category_name":139,"show_sort_weight":140,"slug":141},8,"Research & Report",30,"research-report",{"id":143,"doc_module":4,"doc_module_name":25,"category_name":144,"show_sort_weight":145,"slug":146},9,"Religion & Spirituality",20,"religion-spirituality",{"id":145,"doc_module":4,"doc_module_name":25,"category_name":148,"show_sort_weight":145,"slug":149},"World Cup","world-cup",{"id":151,"doc_module":4,"doc_module_name":25,"category_name":152,"show_sort_weight":151,"slug":153},10,"Lifestyle","lifestyle",{"id":155,"doc_module":4,"doc_module_name":25,"category_name":156,"show_sort_weight":55,"slug":157},19,"General","general",{"list":159,"token":11},[160,166,172,178,184,190,197,203,209,216],{"doc_id":161,"doc_title":162,"file_type":90,"home_preview_img_url":163,"slug":164,"view_count":33,"category_name":29,"create_tm":165},693091,"AWS Lambda Tutorial - Serverless Compute Overview - Audience, Prerequisites, Setup, and Function Building","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005085131/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=zeQHanAMky%2FnMqXU4dXWZKpe7oM%3D","aws-lambda-tutorial-serverless-compute-overview-audience-prerequisites-setup-and-function-building",1794249657,{"doc_id":167,"doc_title":168,"file_type":90,"home_preview_img_url":169,"slug":170,"view_count":33,"category_name":29,"create_tm":171},703206,"Serverless Architectures with AWS Lambda - Overview and Best Practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013458039/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=r8GGgajl8ex8czhPHKAmgEDX6Es%3D","serverless-architectures-with-aws-lambda-overview-and-best-practices",1794563074,{"doc_id":173,"doc_title":174,"file_type":90,"home_preview_img_url":175,"slug":176,"view_count":30,"category_name":29,"create_tm":177},693093,"TCSS 562 - Tutorial 8 - Introduction to Lambda IV - AWS Step Functions, AWS SQS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005085171/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=yclFLmGBkC15KGLEKnv5aX%2FmaoY%3D","tcss-562-tutorial-8-introduction-to-lambda-iv-aws-step-functions-aws-sqs",1794249665,{"doc_id":179,"doc_title":180,"file_type":90,"home_preview_img_url":181,"slug":182,"view_count":133,"category_name":29,"create_tm":183},703209,"AWS SDK for Java 2.0 Developer Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012266874/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=vo6C1%2FZEwrUGwhNfcXZmjTTLVoY%3D","aws-sdk-for-java-20-developer-guide",1794563089,{"doc_id":185,"doc_title":186,"file_type":90,"home_preview_img_url":187,"slug":188,"view_count":55,"category_name":29,"create_tm":189},682305,"Ramp-Up Guide - Serverless - AWS training and certification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998481184/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=snysGXYSxqvhceO6%2FlsZHlsiQl4%3D","ramp-up-guide-serverless-aws-training-and-certification",1793965633,{"doc_id":191,"doc_title":192,"file_type":90,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},673518,"Installation Guide - 2022 MS SQL Server on Ubuntu Linux (20.4)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990906935/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Y%2FUg0Rjyb%2Fi7rf72vdOsasPYknM%3D","installation-guide-2022-ms-sql-server-on-ubuntu-linux-204",13,1793647486,{"doc_id":198,"doc_title":199,"file_type":90,"home_preview_img_url":200,"slug":201,"view_count":55,"category_name":29,"create_tm":202},693094,"Developing Serverless Applications on AWS - Course Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005085149/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=t26bF5q9mwcEViH%2BTsJCvyZ5gyU%3D","developing-serverless-applications-on-aws-course-description",1794249666,{"doc_id":204,"doc_title":205,"file_type":90,"home_preview_img_url":206,"slug":207,"view_count":22,"category_name":29,"create_tm":208},760731,"Introduction to Git & GitHub - Course Preparation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249626/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=HufuwQO4XQ7XQmIWVeMfGWwB0dg%3D","introduction-to-git-github-course-preparation",1795908756,{"doc_id":210,"doc_title":211,"file_type":90,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":29,"create_tm":215},391868,"JMSTechOps - DevOps course curriculum - Offline Course Timings - Foundation-DevOps Principles","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917408978/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=rzo1cP1n0gQU2LXW5oJ5HJmtQjw%3D","jmstechops-devops-course-curriculum-offline-course-timings-foundation-devops-principles",18,1790359549,{"doc_id":217,"doc_title":218,"file_type":90,"home_preview_img_url":219,"slug":220,"view_count":151,"category_name":29,"create_tm":221},693047,"Beginner’s Guide to using Git","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055448/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=hNaiir35jNtaF2VeGzpq%2BVYgY6c%3D","beginners-guide-to-using-git",1794246579]