tinystruct-patterns - Develop applications with tinystruct patterns
Provides implementation guidance for tinystruct Java applications covering CLI/HTTP actions, routing, JSON, persistence, SSE, uploads, and outbound HTTP.
Tags
Updated: 2026-12-05Capabilities
What this skill does
- Create Application modules
- Define routes with @Action
- Execute CLI actions
- Start embedded HTTP servers
- Test transport-specific actions
- Serialize data as JSON
- Persist data with AbstractData
- Generate POJOs from tables
- Implement server-sent events
- Handle multipart uploads
- Send outbound HTTP requests
- Configure application properties
Inputs
- tinystruct Java project
- tinystruct JAR dependency
- Application classes
- application.properties configuration
- Database schema or connection
- CLI arguments or HTTP requests
- Runtime operating system
Outputs
- Dispatcher scripts
- Application and action source code
- CLI or HTTP responses
- Unit test results
- Generated POJO classes
- Database records
- Server-sent event streams
- Uploaded files
- Outbound HTTP results
Requirements
- Java runtime
- tinystruct JAR on the classpath
- Maven for dependency resolution
- JAVA_HOME on Windows
- Database access for persistence
