Operating System - Linux
1828047 Members
2023 Online
109973 Solutions
New Discussion

Native method call from server performance

 
Vishal Biyani
Advisor

Native method call from server performance

I have a .sl library, i call methods in this library through a Native java class. When i call this through a stabnd alone java class by running java class on command line it works very fast (Operation finished in 20s). But when i call the same library throuh a java class which is in a server(Tested on Jetty, WebSphere) it takes tremendous time (Around 450s)! What might eb the problem?
Learning should never stop!