Skip to content

Latest commit

 

History

History

en

tinystruct Framework

"How many are your works, O LORD! In wisdom you made them all; the earth is full of your creatures." Psalms 104:24

Overview

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.

Key Features

  • 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

Quick Start

Maven Integration

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>

Basic Application Example

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;
    }
}

Documentation Contents

Community and Support

License

Licensed under the Apache License, Version 2.0