cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing J2EE Services from a Portal Component

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

SAPJ2EE::service:<servicename>

Former Member
0 Kudos

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