tinystruct-patterns - Develop Java applications with tinystruct patterns
Provides implementation guidance for tinystruct applications, including routing, CLI and HTTP modes, JSON processing, persistence, testing, and web features.
Tags
Updated: 2026-12-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create application modules
- Define routed actions
- Run actions with dispatcher
- Test CLI and HTTP modes
- Serialize and process JSON
- Persist data with AbstractData
- Generate database-mapped POJOs
- Implement server-sent events
- Handle multipart file uploads
- Send outbound HTTP requests
- Configure application properties
- Debug routing and arguments
Inputs
- tinystruct Java project
- tinystruct dependency version
- Application classes
- application.properties
- Database schema or mappings
- CLI arguments
- HTTP requests
- Uploaded multipart data
Outputs
- Generated dispatcher scripts
- CLI action results
- HTTP responses
- Serialized JSON
- Database records
- Generated POJO source files
- Server-sent events
- Uploaded file state
- Outbound HTTP results
- Application and routing status
Requirements
- Java runtime
- tinystruct 1.7.37 dependency
- Application classpath
- Write access to the project directory
- Configured JAVA_HOME on Windows
- Database connectivity for persistence
- HTTP server for HTTP-only actions
