Samples

Try out the samples below to learn what SeedStack is capable of.

Each sample is a Maven project that can be imported and launched in your favorite IDE.

Download

Each sample contains a README.md file describing how to build and launch it.

You can clone the samples git repository by running:

git clone https://github.com/seedstack/samples.git

Basic samples

A lot of small samples, demonstrating basic SeedStack features:

  • Business code,
  • Command-line,
  • Configuration,
  • Logging,
  • Security,
  • Diagnostic,
  • Custom Guice module,
  • Custom plugin,
  • Command-line,
  • JAX-RS resources,
  • Web servlets, filters and listeners,
  • WebSocket,
  • Integration testing.

Full applications

Classic Web application

This sample demonstrates a full end-to-end Web application:

  • Simple domain code,
  • JPA persistence,
  • REST resources,
  • Assemblers,
  • Pagination,
  • Static resources serving,
  • W20 UI.

REST micro-service

This sample demonstrates an hypermedia-capable REST micro-service:

  • Business code
  • JAX-RS resources,
  • SeedStack hypermedia features: HAL and JSON-HOME.
  • Integration testing.

Domain-Driven Design

SeedStack implementation of DDD sample app (https://github.com/citerus/dddsample-core). This sample demonstrates how to write sophisticated business code, using the business framework.

Add-on samples

Web-Services add-on

This sample demonstrates JAX-WS integration:

  • Basic Web-Service,
  • Username token secured Web-Service,
  • Certificate secured Web-Service,
  • Client usage of those Web-Services.

W20 bridge add-on

This sample demonstrates integration of the W20 framework:

  • Usage of W20 JAR packaging,
  • Custom W20 configuration handler,
  • Basic W20 UI.

Spring bridge

This sample demonstrates the integration of Spring framework with SeedStack:

  • Injection of SeedStack-managed instances in Spring beans,
  • Injection of Spring beans in SeedStack-managed instances,
  • Usage of SeedStack configuration values in Spring contexts,
  • Usage of SeedStack datasources in Spring contexts.

Spring Batch job

This sample demonstrates the integration of Spring framework and Spring batch with SeedStack:

  • Running of Spring batch job with SeedStack.
   

On this page


Edit