"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.
Add the dependency to your pom.xml:
<dependency>
<groupId>org.tinystruct</groupId>
<artifactId>tinystruct</artifactId>
<version>1.7.1</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;
}
}
Licensed under the Apache License, Version 2.0