BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

How to build reusable plugin components for CAP Java applications

A companion to Daniel Schlachter's Reusable components for CAP with cds-plugin, showing the same mechanism on CAP Java: a plugin ships as its own Maven artifact with an event handler and a CdsRuntimeConfiguration implementation, registered through the JDK's ServiceLoader rather than any CAP-specific wiring. The walkthrough builds a cds-emoji-plugin-java jar that decorates @emoji-annotated fields on read, installs it to the local Maven repository, and adds it as a runtime dependency to a cds init --add java bookshop application. It argues the plugin mechanism was not new to CAP Java, just previously undocumented.

Where it sits

Explains
Plugin authoringCAPPlugin authoringcapabilityWriting a package that extends a framework or runtime rather than an application that uses it — a reusable extension loaded by its host, and the question you arrive at once solving a problem twice makes you want to solve it once for everyone.
Source
reachable

Who is behind it

robinjayasingheauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
4,053

More on this7

Group by
Piece, what it offersStill applies
Also explainingPlugin authoring7
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
DRY CAP – Making Sustainable Solutions Through Plugins
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Create your first CAP plugin
SAP Community, Wouter Lemaire
nothing recorded
SAP AI Services - DOX - Gen AI with SAP CAP Plugin - Part 3
SAP Community, sabarna17, part 3 of 3
nothing recorded
BTP CAP : Custom plugin to separate generic change log capture logic
SAP Community, sreehari_vpillai
nothing recorded
Reusable components for CAP with cds-plugin
SAP Community, Daniel SchlachterThe reasoningRunnable code
nothing recorded
AI needs a foundation: A map of the plug-in ecosystem for CAP
SAP TechEd — session catalogue, Mike ZaschkaThe reasoning
nothing recorded

Details

Graph3 edges
POINTS OUT →
explainsPlugin authoringcapability, core only
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:how-to-build-reusable-plugin-components-for-cap-java-applications
JSON
/content/how-to-build-reusable-plugin-components-for-cap-java-applications.json
MCP
Connecting an agent