cancel
Showing results for 
Search instead for 
Did you mean: 

Possible for Java Native Interface(JNI) with SAP J2EE 6.40?

Former Member
0 Kudos

Is it possible to use JNI in SAP J2EE 6.4? We're looking at using JNI in the EJB or a regular javabean. If it's possible, are there any issues that need to be paid attention?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jeff,

it is possible to use JNI in WebAS 6.40, but it is not possible to use it in EJB.

The standard absolutely forbids the use of native routines from a EJB, as a couple of other things, like writing to System.out etc. I don't know if the Studio will catch such stuff (it usually does in a lot of cases). Anyway, by doing such things be very careful and think about the consequences for clusters also.

Regards,

Benny