Use existing c++ dll in Web Application
Posted on 2004-09-30
Hi, i have a existing system in c++.
I have Many not thread safe dll´s.
I want to call them from my java web application.
Is there a better way to then use SingleThreadModel and isThreadSafe = "false"?
Is there a better way than copying, renaming and reloading the dll for every user?
I can´t make the dll´s thread safe. this would take me too long. (very much code to check)
the SingleThreadModel would be to slow (yes, i tried it :-( )
creating a new process with Runtime and connect to it with rmi is also too slow (i also tried that :-( )