Skip to content

Instantly share code, notes, and snippets.

@SriniBlog
Created December 17, 2015 13:04
Show Gist options
  • Save SriniBlog/641769ad9d938434c514 to your computer and use it in GitHub Desktop.
Save SriniBlog/641769ad9d938434c514 to your computer and use it in GitHub Desktop.
This is the configuration file used in SAP PI Adapter Module - EJB Project. This configuration works for EJB 1.4 and PI 7.1 and greater
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="ejb-jar_ID" version="2.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<display-name>{name of your EJB}</display-name>
<enterprise-beans>
<session>
<icon/>
<ejb-name>{name of your EJB}</ejb-name>
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
<local-home>com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
<ejb-class>com.sap.adaptermodule.{name of your EJB Bean}</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment