Can I use JNI in my xlet?

Can I use JNI in my xlet? Is there any security issues?

[62 byte] By [ShepherdInOrca] at [2007-11-27 11:09:32]
# 1

The JavaTV specification doesn't prevent you using JNI, but the MHP and OCAP specifications do.

Apart from the security risks (code running outside the Java sandbox and potentially subverting all of the MHP/OCAP security and resource management), the problem is that there are so many different hardware and software platforms. You need to compile the native code for a particular STB, and you simply have no idea which platforms will be deployed. This makes JNI impractical except on *very* tightly controlled networks.

Steve.

stevem_twa at 2007-7-29 13:36:01 > top of Java-index,Java Mobility Forums,Consumer and Commerce...