Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC509 Lecture 11

CSC509 Lecture 11

Software Design
Jakarta Platform
(202311)

Javier Gonzalez-Sanchez

November 13, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 509 Software Engineering II: Modeling and Design Lecture

    11: Jakarta Platform Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    3 § Library § Framework § Platform § API Concepts
  3. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    19 § https://www.liquidweb.com/kb/installing-tomcat-9-on-windows/ § But install version 10 (Jakarta). Identical process Tutorial
  4. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    24 Tutorial request.getQueryString()
  5. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    29 § https://www3.ntu.edu.sg/home/ehchua/programming/howto/Tomcat9_HowTo.html Tutorial
  6. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    31 § Read Java Files from a Local Directory chosen by the user. § For every Java file, count its IN and OUT connections. § Calculate Instability § Calculate Abstractness § List every class as Painful, Useless or OK What we know
  7. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    32 • Instability = Cout (Cin + Cout) Stable Abstraction Principle (SAP)
  8. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    33 Guidelines Can you make a Web Application version of your Code Village (Quiz) project? • Can you reuse classes? • How the UI will look like? • Can you create a new class diagram (particularly for the UI)? • Problems? Solutions?
  9. jgs CSC 509 Software Design Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall

    2023 Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly. They cannot be distributed or used for another purpose.