可能吗?还能这样! 啊,。
为什么不用c/c++做成web service ,现在很流行呀!然后再用java 调用。
如果 没有web service 接口,我也不知道怎么办  (:~~~~~~

解决方案 »

  1.   

    http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=24852
      

  2.   

    首先用System类中的load(String filename)  Loads a code file with the specified filename from the local file system as a dynamic library.
    或者loadLibrary(String libname)
              Loads the system library specified by the libname argument.
      

  3.   

    首先用System类中的
    load(String filename)
      Loads a code file with the specified   filename from the local file system as a dynamic library.
    或者loadLibrary(String libname)
              Loads the system library specified by the libname argument.
    方法导入Dll文件
    然后利用native来定义本地的方法。
    在java核心技术II中有详细的说明
      

  4.   

    就是要使用jni进行重新包装的,你写java类调用需要的函数,使用javah生成.h文件,使用该.h文件写对应的c/c++的dll,在该dll中调用你已经写好的dll的method