I've noticed that the newer jdk's are referencing c++ libs when I build nsjava, so I think it is possible to include c++ shared libs in aolserver. I think all you have to do is declare the wrapper functions using "extern C" when building the shared libs in c++.