Provide a different adapter name and type, package name, JNDI name, trace and log file locations, and the metadata describing the configuration parameters for the sample_ra adapter's Java program.
More information: Accessing JavaDoc and Source Text of the Example Adapter/Module
Change package name from com.sap.aii.af.sample.adapter.ra to com.test.YourAdapter.adapter.ra
Change package path for log and trace file locations from com/sap/aii/af/sample/adapter/ra to com/test/YourAdapter/adapter/ra
Change adapter guid from http://sap.com/xi/XI/sample/JCA to http://sap.com/xi/XI/YourAdapter/JCA
Change adapter namespace from http://sap.com/xi/XI/sample to http://sap.com/xi/XI/YourAdapter
Copy all file (except YourAdapterRA.xml) into project directory com/test/YourAdapter/adapter/ra
Copy YourAdapterRA.xml into root of project directory
YourAdapterRa.xml contains the metadata for the adapter, for example configuration parameters such as file name and directory name.