Javaµ÷ÓÃ xx.so¿â
package com.xxx.yyy;
public class kkkEncode
{
public native static boolean encode(double loIn, double laIn, double[] point); //ÉùÃ÷Ò»¸öͬ¿âÒ»ÑùµÄ·½·¨
public native static boolean decode(double loIn, double laIn, double[] point);
static {
System.loadLibrary("DataCal"); //¼ÓÔؿ⣬¿âÎļþÃû:libDataCal ,´úÂë ²»ÐèҪдlib
}
}
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......
JavaÖУ¬Jniµ÷ÓÃDLLÎļþÊÔÑé
ËùÓÐÎļþ¾ùÔÚE:\·¾¶Ï¡£
°²×°jdk1.6.0_07
°²×°ÁËVC++6.0
µÚÒ»²½£¬
HelloWorld.java
µÚ¶þ²½£¬
E:\>javac HelloWorld.java
µÃµ½
HelloWorld.class
µÚÈý²½£¬
E:\>javah HelloWorld
µÃµ½
HelloWorld.h
µÚËIJ½£¬
±àдһ¸öCÎļþ
HelloWorldImp.c
µÚÎå²½£¬
ʹÓÃcl±àÒ ......
//µ¼³ö
String mysql="mysqldump -uroot -proot --opt databasename > d:/test.sql";
java.lang.Runtime.getRuntime().exec("cmd /c "+mysql);
//µ¼Èë
String mysql="mysqladmin -uroot -proot create databasename";
java.lang.Runt ......
¿´ÁËһƪÈëÃÅÎÄÕ£¬ºÃÏó²»´í£¬ÊÕ¼¯Ò»Ï£º
http://blog.csdn.net/njchenyi/archive/2007/09/12/1782252.aspx
ApacheµÄSOAP over CorbaµÄÎÄÕ£¬µ«Ê¹ÓÃÁËApache SOAP£¬Õâ¸ö±È½ÏÀÏÁË£¬ÏÖÔÚÓиüеÄAxis 2£¬ÀÁµÃÕÒSOAP API PackageÁË¡£
http://www.scottnichol.com/apachesoapcorba.htm
Ñо¿Ò»ÏÂCorba to SOAP Bridge£¬Óгɹ ......