JCA ECI sample programs are provided in the samples directory of your CICS® Transaction Gateway installation or as a deployable EAR in the <install_path>/deployable directory.
These are documented in Resource adapter samples.