Skip to Content

Developing adapter modules for PI 7.0 using NWDS 7.3

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 09, 2012 at 06:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09, 2012 at 06:53 PM

    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...

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09, 2012 at 08:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13, 2012 at 07:47 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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