Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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
    }
 
}


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 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Ïê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

ʵ¼ùJavaÖУ¬Jniµ÷ÓÃDLLÎļþ±¾µØ·½·¨

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±àÒ ......

java¶ÔmysqlÊý¾Ý¿âµÄµ¼Èëµ¼³ö

//µ¼³ö
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 ......

Java Ö® Corba

¿´ÁËһƪÈëÃÅÎÄÕ£¬ºÃÏó²»´í£¬ÊÕ¼¯Ò»Ï£º
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£¬Óгɹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ