Type-safe dependency injection
Simple configuration system
Testing tools
Project generator
Global dependency-management
Universal one-JAR packaging
Domain-Driven Design
Agnostic persistence
Level-3 REST support
@Path("/hello/{name}")
public class HelloResource {
@Inject
private GreeterService greeterService;
@GET
@Produces(MediaType.TEXT_HTML)
public String hello(@PathParam("name") String name) {
return greeterService.sayHello(name);
}
@Service
interface GreeterService {
String sayHello(String name);
}
static class HtmlGreeterService implements GreeterService {
@Override
public String sayHello(String name) {
return "<h1>Hello " + name + "!</h1>";
}
}
}
In the example above, a REST resource uses an injected service to say hello!
Learn how to do more by creating your first application.
SeedStack is Open-Source Software so you can contribute yourself to make it better. Code contributions are welcome but there is a lot more you can do to help: documentation fixes and improvements, issue reporting, feature suggestions, ...
We would love to hear back from you!
| Component | Version |
|---|