The simplest useful integration: expose a REST endpoint, validate what arrives, and persist it. Useful as a webhook receiver, and as the smallest example of what an export actually looks like.
An HTTP listener defines the path and method, and becomes a Spring @RestController in the generated code. A validation step rejects malformed payloads with a 400 before anything touches the database. The database connector inserts the record through a parameterised statement using JdbcTemplate over a HikariCP pool.
@RestController
JdbcTemplate
A standalone Spring Boot service: the controller, a service class holding the step logic, datasource configuration read from the environment's properties file, and generated tests. Run it with java -jar anywhere a JVM runs.
java -jar
Returning a meaningful status code rather than a 500 for bad input, keeping credentials in properties rather than source, and deciding whether the endpoint should acknowledge immediately and process asynchronously — which matters as soon as the caller has a timeout you do not control.