Skip to content

alaugks/spring-messagesource-db-example

Repository files navigation

Example: Database MessageSource for Spring

This example shows how to use the spring-messagesource-catalog to implement a MessageSource from a database.

The database used in this example is SQLite.

Build and Run Docker Image

docker compose up -d

After a successful build, open the example in your web browser: http://localhost:8080

Custom Changes

If you want to make changes for testing, you have to restart the Docker image.

docker compose restart

Note

When you restart, the JAR file is rebuilt and the Tomcat is started. This can take a few seconds.

Related MessageSources and Examples

About

Example: Custom Database Spring MessageSource

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published