cancel
Showing results for 
Search instead for 
Did you mean: 

Developing adapter modules for PI 7.0 using NWDS 7.3

marcos_souza
Explorer
0 Kudos

Hello all,

Did someone have already developed adapter modules for PI 7.0 using NWDS 7.3? I can´t find the EJB libraries for Java 1.4.

I'm able to develop mapping programs, but I'm not sure if it is possible to create EJB projects.

Thanks,

Marcos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marcos,

I haven't tried developing adapter modules in NWDS 7.3 for PI 7.0 myself, but according to the documentation from SAP it is possible to develop J2EE 1.4 compliant applications i.e. EJB 2.1 components, which is used by SAP PI 7.0.

[http://help.sap.com/saphelp_nw73/helpdata/en/48/fc1e73a0ad2637e10000000a42189d/frameset.htm]

Because of this backwards-compatibility I would expect that the EJB libraries for J2EE 1.4 should be available directly in NWDS 7.3 somewhere.

Best regards,

Jacob

Answers (3)

Answers (3)

marcos_souza
Explorer
0 Kudos

Thank you all for the answers,

        I was able to develop the module and deployed succesfully. There was just a small trick. When you set the Java version to 1.4, the compiler remains set to 1.6 (I believe it is a NWDS bug). You have to go to properties (<Alt+Enter>), Project Facets and then set "Java" to 1.4 instead of 1.6

Regards,
Marcos

0 Kudos

Hi Marcos.

Could you give us more details of how you did that?

Did you use the libs from Module for PI 7.1 tutorial?

com.sap.aii.af.lib.mod.jar: /ext/com.sap.aii.af.lib/lib sap.com~tc~logging~java~impl.jar: /system com.sap.aii.af.svc_api.jar: /services/com.sap.aii.af.svc/lib com.sap.aii.af.cpa.svc_api.jar: /services/com.sap.aii.af.cpa.svc/lib com.sap.aii.af.ms.ifc_api.jar: /interfaces/com.sap.aii.af.ms.ifc/lib

or did you use the ones from Module for PI 7.0/3.0 tutorial?

aii_af_cci.jar • aii_af_mp.jar • aii_af_ms_api.jar • aii_af_ms_spi.jar • aii_af_trace.jar

SDM on PI 7.02 keeps giving me errors about DOCTYPE in ejb-jar.xml file

Thank you

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Theoretically it should be possible. Since you need to run Java 1.4 due to 32 bit support of 7.0, I don't see any problem using 7.3. Because java supports fully backward compatibility. At the same time some dependent libraries if any in EJB might have impacts in running in the lower versions of java

santhosh_kumarv
Active Contributor
0 Kudos

You can create EJB Project with 1.4 complaint.

When you create the EJB Project, Select the Target Runtime as SAP Libraries, EJB Module Version as 2.1 and Configuration as SAP EJB J2EE 1.4 Project, and choose Modify button and make sure you select the Java as 1.4.

Let know if you are looking for a different information.

~SaNv...