Skip to Content

Accessing J2EE Services from a Portal Component

Hi,

I am developing a small iview to send feedback via email from an EP5.0 portal running on SAP J2EE Engine 6.20. I can see that the J2EE engine has the Javamail service already installed, so I would like to use this service in my iview, rather then to have to include the mail.jar and activation.jar files in my project PAR file.

I am unsure how to go about referencing the JavaMail service from within my iView. Can anyone help me? Somehow I need to tell my iView to use the classes found in the J2EE engine service JAR's but how?

Thanks in advance.

Simon

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 18, 2004 at 04:34 AM

    add the following in "SharingReference" tag of portalapp.xml

    SAPJ2EE::service:<servicename>

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      portalapp.xml does not exist in EP5

      you should do that in the default.properties file of your iView.

      But i'm not sure that the javamail service exist in EP5 in fact ...