# saikrishnakudelli/helloworld architecture

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

- Interactive diagram: https://gitdiagram.com/saikrishnakudelli/helloworld
- Repository: https://github.com/saikrishnakudelli/helloworld

## Overview

This is a small Java command-line greeting application, documented as a Maven sample. The workflow starts when a user runs `HelloWorld`; it prints the current local time and then prints the greeting returned by `Greeter`. The source excerpts and index confirm that `HelloWorld` invokes `Greeter`. The README also describes a time-of-day capability and optional Joda Time dependency, though that dependency is not present in the listed source tree. Build and packaging machinery is excluded from this runtime view.

Main entry points: [`src/main/java/hello/HelloWorld.java`](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java) (HelloWorld entry point), [`src/main/java/hello/Greeter.java`](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/Greeter.java) (Greeter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Greeting application"]
  node_hello["HelloWorld entry point<br/>[HelloWorld.java]"]
  node_time["Local time<br/>[HelloWorld.java]"]
  node_greeter["Greeter<br/>[Greeter.java]"]
  node_greeting["Printed output<br/>[HelloWorld.java]"]
end

node_user(("User"))

node_user -->|"runs"| node_hello
node_hello -->|"gets and prints"| node_time
node_hello -->|"invokes"| node_greeter
node_greeter -->|"returns"| node_greeting
node_hello -->|"prints"| node_greeting

click node_hello "https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java"
click node_time "https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java"
click node_greeter "https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/Greeter.java"
click node_greeting "https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.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_hello,node_time,node_greeter,node_greeting,node_user toneBlue
```

## Components

### Greeting application

- [HelloWorld entry point](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java): `src/main/java/hello/HelloWorld.java`
- [Local time](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java): `src/main/java/hello/HelloWorld.java`
- [Greeter](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/Greeter.java): `src/main/java/hello/Greeter.java`
- [Printed output](https://github.com/saikrishnakudelli/helloworld/blob/main/src/main/java/hello/HelloWorld.java): `src/main/java/hello/HelloWorld.java`

### Other components

- **User**

## Connections

- User → HelloWorld entry point: runs (evidence: `README.md`)
- HelloWorld entry point → Local time: gets and prints (evidence: `src/main/java/hello/HelloWorld.java`)
- HelloWorld entry point → Greeter: invokes (evidence: `src/main/java/hello/HelloWorld.java`)
- Greeter → Printed output: returns (evidence: `src/main/java/hello/Greeter.java`)
- HelloWorld entry point → Printed output: prints (evidence: `src/main/java/hello/HelloWorld.java`)
