Skip to content

JavaFX Logging Application with using Spring Data with MongoDB (using Spring Boot)

Notifications You must be signed in to change notification settings

mvpjava/JavaFX-logging-Spring-MongoDB-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaFX-logging-Spring-MongoDB-tutorial

JavaFX Logging Application with using Spring Data with MongoDB (using Spring Boot)

Improve your applications Java Logging capabilities by adding a powerful combination to your stack; MongoDB and Spring. The tutorial showcases MongoDB's Asynchronous & Synchronous API as well as Spring Data's MongoTemplate.

Take advantage of advanced log filtering queries via Spring Data's Query and Criteria API for mongodb which will actually yield meaningful results when performing investigations. No more grep'ing hell on the command line or developing custom shell scripts to extract time ranges to get the info your after in rolling log files.

I'll show you how to mimic a rolling file appended in mongoDB via the use of capped collections and explain how to easily get Spring's MongoTemplate dependency injected into your JavaFX controller in order to run and find all you log records.

Although the GUI is written in JavaFX, you can take this concept over to any other type of Java application. This is not your regular boring java logging tutorial! Time to put a different spin on logging.

*** You will need to have a locally running mongoDB instance running on port 27107 before running the application ***

Follow along with My YouTube Video Tutorial "Advanced Java Logging with Spring Data and MongoDB" https://youtu.be/miqtbm7x60A

About

JavaFX Logging Application with using Spring Data with MongoDB (using Spring Boot)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published