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

Threads Usage in the Java Mapping

Hi Guys,

I have developed a Java mapping and i am using threads and i read that threads cannot be used. Is it true ?

This is directed towards the section “Search Path for Classes in Java Mapping Programs (Integration Server)” which I just happened to run across in the SAP Help web page “http://help.sap.com/saphelp_nw04/helpdata/en/bd/c91241c738f423e10000000a155106/content.htm”.

IAre there any issues about calling an external web service from within a jar file deployed within XI. Are there any issues about creating a thread pool within the jar that will spawn processes calling the web service.

Under normal situations, if the J2EE or J5EE web application server is not maintaining direct control over the class, such as servlets that are controlled by the WAS, then thread creation (applying proper thread safety rules) is not directly under the control of the WAS and can be applied. Would this be the same in an XI deployment?

any help would be really appreciated

Thanks,

Raj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 30, 2007 at 10:00 AM

    The mapping is used insided an enterprise bean (EJB), so your Java code is restricted to limitations of the EJB. You cannot use threads.

    Regards

    Stefan

    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.