cancel
Showing results for 
Search instead for 
Did you mean: 

Threads Usage in the Java Mapping

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

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