tinystruct-patterns - Develop Java applications with tinystruct patterns
Provides implementation guidance for tinystruct applications, including dispatchers, actions, dual CLI/HTTP handling, persistence, JSON, SSE, uploads, and networking.
Tags
Updated: 2026-11-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Generate dispatcher launchers
- Run CLI-compatible actions
- Start the HTTP server
- Define Application modules
- Map routes with @Action
- Handle CLI and HTTP modes
- Manage request context
- Serialize JSON with Builders
- Persist data with AbstractData
- Generate database POJOs
- Implement Server-Sent Events
- Handle file uploads
- Perform outbound HTTP requests
- Create unit tests
- Use ActionRegistry
Inputs
- tinystruct project
- tinystruct version
- Java environment
- Maven dependencies
- Application classes
- application.properties
- XML mapping file
- database tables
- HTTP requests
- CLI arguments
Outputs
- dispatcher launcher scripts
- CLI action results
- HTTP responses
- generated POJO classes
- JSON output
- persisted data
- Server-Sent Events
- uploaded files
- outbound HTTP responses
Requirements
- Java runtime
- Maven or Maven Wrapper
- tinystruct dependency
- Required project libraries
- JAVA_HOME on Windows
- Network access for updates
