You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lightweight java framework designed for building efficient and scalable applications. Supports both command-line tools and APIs, enabling developers to create robust solutions with ease.
Highlights
It's lightweight on keep things simple and easy to be built. and support both CLI, API and Web applications with one code.
Example Code
package tinystruct.examples;
import org.tinystruct.AbstractApplication;
import org.tinystruct.ApplicationException;
import org.tinystruct.system.annotation.Action;
public class example extends AbstractApplication {
@Overridepublic void init() { // TODO Auto-generated method stub}@Overridepublic String version() { return "1.0";}@Action("praise")public String praise() { return "Praise the Lord!";}@Action("say")public String say() throws ApplicationException { if (null != getContext().getAttribute("--words")) return getContext().getAttribute("--words").toString(); throw new ApplicationException("Could not find the parameter <i>words</i>.");}@Action("say")public String say(String words) { return words;}
}
Screenshots or Demo Videos
The text was updated successfully, but these errors were encountered:
Project URL
https://github.com/tinystruct/tinystruct
Category
Java
Project Title
A lightweight java development framework
Project Description
A lightweight java framework designed for building efficient and scalable applications. Supports both command-line tools and APIs, enabling developers to create robust solutions with ease.
Highlights
It's lightweight on keep things simple and easy to be built. and support both CLI, API and Web applications with one code.
Example Code
Screenshots or Demo Videos
The text was updated successfully, but these errors were encountered: