Java Mapping in SAP XI/PI requires implementing com.sap.aii.mapping.api.StreamTransformation interface, which defines the execute() method for transformation logic and setParameter() for runtime configuration. Options A, B, and C have incorrect package hierarchies - 'aii' (Application Integration Infrastructure) is required.