Java samples

NameDescription
Java Spark / MySQLA sample Java application and a MySQL database.
React / Spring / MySQLA sample React application with a Spring backend and a MySQL database.
Spring / PostgreSQLA sample Java application with Spring framework and a Postgres database.
SparkA sample Spark application.
example-voting-appA sample Docker Compose app.
atsea-sample-shop-appA sample app that uses a Java Spring Boot backend connected to a database to display a fictitious art shop with a React front-end.
wordsmithA demo app that runs three containers, including PostgreSQL, Java, and Go.
Spring AI Brave Search Example - Model Context Protocol (MCP)This example demonstrates how to create a Spring AI Model Context Protocol (MCP) client that communicates with the Brave Search MCP Server. The application shows how to build an MCP client that enables natural language interactions with Brave Search, allowing you to perform internet searches through a conversational interface. This example uses Spring Boot autoconfiguration to set up the MCP client through configuration files.

Looking for more samples?

Visit the following GitHub repositories for more Docker samples.

  • Awesome Compose: A curated repository containing over 30 Docker Compose samples. These samples offer a starting point for how to integrate different services using a Compose file.

  • Docker Samples: A collection of over 30 repositories that offer sample containerized demo applications, tutorials, and labs.