Skip to Content
author's profile photo Former Member
Former Member

Calling java classes from bsp

Hi,

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

Best regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2004 at 02:41 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 27, 2004 at 08:10 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 03:02 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.