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

CSC305 Lecture 09

CSC305 Lecture 09

Individual Software Design and Development
Maven
(202510)

Javier Gonzalez-Sanchez PRO

October 10, 2025

Transcript

58 slides
  1. Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227

    CSC 305 Individual Software Design and Development Lecture 09. Maven
  2. ✅ GUI + Multithreading ✅ Object-Oriented Programming Week 05 2

    ✅ Clean Code ✅ Object-Oriented Design
  3. Library • A collection of resources (cl a sses) •

    A J a v a Archive, or JAR f ile, cont a ins a ll of the v a rious components th a t m a ke up a self- cont a ined, execut a ble J a v a a pplic a tion or, most commonly, a J a v a libr a ry to which a J a v a Runtime Environment c a n link. 5
  4. • Build m a n a gement tool • M

    a ven a utom a tes dependency m a n a gement by a utom a tic a lly downlo a ding required libr a ries a nd their dependencies, ensuring consistent builds with speci f ied versions. • In contr a st, m a nu a lly downlo a ding JARs is l a bor-intensive a nd error-prone. 7
  5. • The project object model (POM) f ile describes a

    project a nd its dependencies. • A st a nd a rdized directory form a t. • Repositories where third-p a rty softw a re is stored a nd discovered. 8
  6. JFreeChart • https://www.jfree.org/jfreech a rt/ • JFreeCh a rt is

    a libr a ry to displ a y profession a l-qu a lity ch a rts. 20
  7. Jsoup • A J a v a libr a ry

    th a t simpli f ies working with HTML a nd XML. • O ff ers URL fetching, d a t a p a rsing, extr a ction, a nd m a nipul a tion. • https://jsoup.org/ 26
  8. JavaParser • A J a v a libr a ry

    to a n a lyze, tr a nsform, a nd gener a te J a v a code. • https://j a v a p a rser.org/ 36
  9. MariaDB • Open-source a nd cre a ted by MySQL

    origin a l developers • https://m a ri a db.com/downlo a ds/ • For M a c, you c a n use the Homebrew p a ck a ge m a n a ger: > brew install mariadb > mysql.server start 43
  10. Create Tables 47 CREATE TABLE database.students ( ID INT NOT

    NULL, user VARCHAR(8) NOT NULL , password VARCHAR(8) NOT NULL ) INSERT INTO students (ID, user, password) VALUES (1, "javiergs", "qwerty")
  11. Lab

  12. Let’s Work 56 A. Configure Maven B. Add a Dependency

    C. Create a Chart D. Show me your (Java) and POM file
  13. CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D.

    [email protected] Fall 2025 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming