# devopsbyraham/jenkins-java-project architecture

> Architecture diagram of the GitHub repository devopsbyraham/jenkins-java-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/devopsbyraham/jenkins-java-project
- Repository: https://github.com/devopsbyraham/jenkins-java-project

## Overview

This is a small Java web calculator. The only sampled implementation provides integer addition, multiplication, and subtraction. The tree also shows a JSP entry page and web deployment configuration, but their contents were not provided, so their runtime connections to the calculator cannot be verified; those links are marked unverified.

Main entry points: [`src/main/webapp/index.jsp`](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/index.jsp) (Calculator page), [`src/main/webapp/WEB-INF/web.xml`](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/WEB-INF/web.xml) (Web configuration), [`src/main/java/in/javahome/myweb/controller/Calculator.java`](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/java/in/javahome/myweb/controller/Calculator.java) (Integer operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_page["Calculator page<br/>[index.jsp]"]
node_deployment["Web configuration<br/>[web.xml]"]
node_calculator["Integer operations<br/>[Calculator.java]"]

node_user -.->|"uses"| node_page
node_page -.->|"invokes"| node_calculator
node_deployment -.->|"serves"| node_page

click node_page "https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/index.jsp"
click node_deployment "https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/WEB-INF/web.xml"
click node_calculator "https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/java/in/javahome/myweb/controller/Calculator.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_page,node_deployment,node_calculator toneTeal
```

## Components

### Other components

- **User**
- [Calculator page](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/index.jsp): `src/main/webapp/index.jsp`
- [Web configuration](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/webapp/WEB-INF/web.xml): `src/main/webapp/WEB-INF/web.xml`
- [Integer operations](https://github.com/devopsbyraham/jenkins-java-project/blob/master/src/main/java/in/javahome/myweb/controller/Calculator.java): `src/main/java/in/javahome/myweb/controller/Calculator.java`

## Connections

- User → Calculator page: uses
- Calculator page → Integer operations: invokes
- Web configuration → Calculator page: serves
