1.4 KiB
1.4 KiB
Getting Started
Targets Java 21, Maven 3.8 or later, and QQQ 4.0.0. Maven resolves the framework dependencies from Maven Central.
- Choose Use this template on GitHub, then clone the repository you created.
- In
pom.xml, set your owngroupId,artifactId, name, description, and version. - Use your IDE's package refactoring to rename
com.kingsrook.qbits.examplethroughoutsrc/. Rename theExample*classes and update their imports and references with the IDE's rename refactoring. - Update the QBit producer's
GROUP_ID,ARTIFACT_ID, andVERSIONconstants to match your project. Give the metadata names their own stable names before combining the QBit with other examples. - Build the generated project:
mvn clean verify
The repository provides example Java sources; customization uses normal package/class refactoring. Keep example coordinates unpublished. After customizing, add tests for your QBit's behavior before setting up its publishing workflow.
Register with a host application
The following uses the original example names; substitute the names chosen above:
new ExampleExtensionQBitProducer()
.withConfig(new ExampleExtensionQBitConfig()
.withTargetTableName("order"))
.produce(qInstance, "my-extension");
Register the target table before producing the extension, then implement its customizer. See Extension Patterns.