cancel
Showing results for 
Search instead for 
Did you mean: 

Calling java classes from bsp

Former Member
0 Kudos
89

Hi,

Is it possible to call java classes running on sap j2ee form a bsp?

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As the JCO acts as client or server it should be possible to call classes from a bsp as from any other abap program. Calls to the J2EE stack are always made via the JCO connector.

Greetings,

Vincent

Answers (2)

Answers (2)

Former Member
0 Kudos

Can someone explain the details on how to call Java API from BSP is done?

I found class CL_EJB_JAVA_OBJECT_METHODS to call a method in EJB but can't find function or SAP class to call Java API.

Actually is there any BSP extention which can used to call Java API.

Thanks,

Hendri

former_member181879
Active Contributor
0 Kudos

BSP pages are just plain ABAP code. And from ABAP you can call into the Java stack using JCO. The alternative is to look at HTTP connections from ABAP to Java. Especially when you like hitwords such as webservices, etc.