Java DB is lightweight at 2 megabytes and embeddable within desktop Java technology applications.Desktop applications can now access powerful database storage with triggers, stored procedures, and support for SQL, Java Data Base Connectivity (JDBC) software, and Java Platform, Enterprise Edition (Java EE, formerly referred to as J2EE), all embedded within the same Java virtual machine (JVM).It still is very challenging to ensure that all changes are seen and processed in the same order while minimally impacting the database.
Additionally, since Debezium records the history of data changes in durable, replicated logs, your application can be stopped and restarted at any time, and it will be able to consume all of the events it missed while it was not running, ensuring that all events are processed correctly and completely.
Monitoring databases and being notified when data changes has always been complicated.
As in the previous article, if you want to follow along and code as we go, you can use these tips to get the tests in the Getting Started project to go green.
In the last article, we introduced documents and how to create them from Java and insert them into Mongo DB, so I’m not going to repeat that here.
In the last article, we covered the basics of installing and connecting to Mongo DB via a Java application.