"How many are your works, O LORD! In wisdom you made them all; the earth is full of your creatures."
Psalms 104:24
tinystruct is a simple yet powerful framework for Java development. It embraces simple thinking and better design principles, making it easy to use while delivering excellent performance.
- Lightweight Architecture: Minimal overhead with maximum flexibility
- Dual-Mode Support: Build both web applications and CLI tools
- Simple Configuration: Easy to set up and customize
- High Performance: Optimized for efficient execution
- Database Integration: Built-in support for multiple databases
- RESTful Support: Easy API development
- Command Line Tools: Powerful CLI capabilities
Add the dependency to your pom.xml:
<dependency>
<groupId>org.tinystruct</groupId>
<artifactId>tinystruct</artifactId>
<version>1.6.6</version>
<classifier>jar-with-dependencies</classifier>
</dependency>
package tinystruct.examples;
import org.tinystruct.AbstractApplication;
import org.tinystruct.ApplicationException;
import org.tinystruct.system.annotation.Action;
public class Example extends AbstractApplication {
@Override
public void init() {
// Initialization code
}
@Action("praise")
public String praise() {
return "Praise the Lord!";
}
@Action("say")
public String say(String words) {
return words;
}
}
- Getting Started
- Core Concepts
- Web Applications
- CLI Applications
- Configuration
- Database Integration
- Advanced Features
- Best Practices
- API Reference
- GitHub Repository: https://github.com/tinystruct/tinystruct
- Issue Tracker: https://github.com/tinystruct/tinystruct/issues
- Discussion Forum: https://github.com/tinystruct/tinystruct/discussions
Licensed under the Apache License, Version 2.0