File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB use Native library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB use Native library" Watch "EJB use Native library" New topic

EJB use Native library

jeffre william

Joined: Dec 22, 2003
Posts: 1
I know that EJB don't allow to load Native library and use it but I need to do it badly.
If anyone has any idea please let me know.
Thanks in advance
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
In fact, most container's never check this. Your EJB CANNOT directly be a JNI class, but in most containers nothing will stop your EJB from calling a Java class that is a JNI class.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: EJB use Native library
It's not a secret anymore!