I understand that J2EE prohibits JNI from EJBs but if I had to do it anyway is there a suggested pattern or approach?
My primary concern is that I want to prevent the native code from crashing the server VM... What options do I have - fork a new JVM (write a custom container which does that) ? JMS? JCA?
If you could throw your ideas at me or point me to relevant resources, I would much appreciate that.
Thanks,
Keyur