Discussions

EJB programming & troubleshooting: JNI in EJB

  1. JNI in EJB (3 messages)


    Hi, all

    I am making a native C++ dll call inside my session bean
    and gets a serverside exception about access denied when
    I try to do LoadLibrary, anybody has prior experience with
    that? How to fix it? Where are the related resources?

    Any suggestion will greatly be appreciated.

    Thanks

    Threaded Messages (3)

  2. JNI in EJB[ Go to top ]

    The EJB spec disallows JNI. However, many application server vendors permit it. I would check with your vendor.
  3. JNI in EJB[ Go to top ]

    Try wrapping your native code in CORBA, or using RMI/JNI.

    -Ed
  4. JNI in EJB[ Go to top ]

    Can a stateless session bean invoke a helper class that use JNI to call C or C++ code?
    Can you explain how to use RMI/JNI from stateless sessión bean?

    Thanks a lot!!