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

java·ÃÎÊ.net ·¢²¼µÄwebservice

ÍæÁËһ϶ÌÐÅ裺
ÓÃ.net·ÃÎʶÌÐÅ裬²¢Ð´ÁË·¢ËͶÌÐÅ¡¢¶Á¶ÌÐÅ£¨ÕâÀïµÄ¶Á¶ÌÐÅÊǶÁÈ¡SIM¿¨ÖнÓÊÕµ½µÄ¶ÌÐÅ£©¡¢Åж϶ÌÐÅèÊÇ·ñ´ò¿ª¡¢´ò¿ªµÈ·½·¨¡£²¢·¢²¼ÁËwebserviceÓÃÓÚjava¹¤³Ìµ÷Óá£
ÕâÀïÖ»ÁгöÁ˵÷ÓõĴúÂ루java£©²»×ãÖ®´¦ÇëÖ¸½Ì£¡

/**
* ³õʼ»¯call
*/
private void inItCall() {
try {
Service service = new Service();
call = (Call) service.createCall();
} catch (ServiceException e) {
e.printStackTrace();
}
}
/**
* Åж϶ÌÐÅèÊÇ·ñ´ò¿ª
*/
public Boolean ModemIsOpen(String password) {
if (call == null) {
inItCall();
}
Boolean flag = false;
try {
String soapActionURI = "http://tempuri.org/ModemIsOpen";
call.setUseSOAPAction(true);
call.setSOAPActionURI(soapActionURI);
call.setOperationName(new QName(endpoint, "ModemIsOpen"));
flag = Boolean.parseBoolean((String)call.invoke(new Object[]{password}));
} catch (RemoteException e) {
e.printStackTrace();
}
return flag;
}
/**
* ´ò¿ª¶ÌÐÅè
*/
public Boolean OpenModem(String password) {
if (call == null) {
inItCall();
}
Boolean flag = false;
try {
String soapActionURI = "http://tempuri.org/OpenModem";
call.setUseSOAPAction(true);
call.setSOAPActionURI(soapActionURI);
call.setOperationName(new QName(endpoint, "OpenModem"));
flag = Boolean.parseBoolean((String)call.invoke(new Object[]{password}));
} catch (RemoteException e) {
e.printStackTrace();
}
return flag;
}
/**
* ¶ÁÈ¡¶ÌÐÅÏ¢
* ·µ»Ø×Ö·û´®¸ñʽ£»strs[i] like that: µç»°|||ÄÚÈÝ
*/
public String[] ReadSMS(String password) {
if (call == null) {
inItCall();
}
String[] flag = null;
try {
String soapActionURI = "http://tempuri.org/ReadSMS";
call.setUseSOAPAction(true);
call.setSOAPActionURI(soapActionURI);
call.setOperationName(new QName(endpoint, "ReadSMS"));
call.setTargetEndpointAddress(new java.net.URL(endpoint));
call.setReturnClass(java.lang.String[].class);
call.addParameter(new QNam


Ïà¹ØÎĵµ£º

Google App engine for Java¿ª·¢µÄÒ»¸ö²©¿ÍÍøÕ¾

»¥ÁªÍø³åÀ˰壬ÊÇGoogle app Engine ÔƼÆËãƽ̨ÉϵÄÒ»¸ö²©¿Í£¬ÊÇ»ùÓÚGoogle App engine for Java¿ª·¢µÄ¡£
ԭʼµÄÒâͼÊÇÒòΪٶù»¹Ð¡£¬ÏÖÔÚ»¹²»»áÔĶÁ£¬¶øÎÒÔÚÉÏÍøʱ¾­³£¿´µ½Ò»Ð©ÓÐÒæÓÐȤÉõÖÁ¿ÉÒÔ°ïÖúѧϰµÄһЩÄÚÈÝ£¬¾ÍÏë°ÑËü¼ÇÏÂÀ´Ð´ÔÚ²©¿ÍÀ¹©Å®¶ù³¤´óÔÙÈ¥¿´¿´¡£
ÁíÍ⣬ÎÒ»¹Ã»Óз¢ÏÖGoogle App engine for Java¿ª·¢µÄ ......

JAVA Öн«×Ö·û´®×ª»»³ÉÀàʵÀý¶ÔÏó

ÔںܶàʱºòÎÒÃÇÐèÒª½«Ò»¸ö¸øÁËÍêÕû·¾¶µÄÀà¶ÔÏó×Ö·û´®×ª»»³ÉÒ»¸öÀàµÄʵÀý¶ÔÏ󣬾ͱÈÈç˵ÓÐÒÔÏÂÕâÑùµÄÒ»¸ö×Ö·û´®
String  menAction= "gef.putin.step.ui.SystemMenuTest(xiajiaji)"ÔÚ¸ÃÀàÖÐÐèÒªÓÐÓÐÒ»¸ö×Ö·û´®¸ñʽµÄ²ÎÊý£¬µ±È»¶à¸ö²ÎÊýÒ²¿ÉÒÔ£¬ÎÒÒѾ­½«¶à¸ö²ÎÊýµÄ¿¼ÂǽøÈ¥£¬¶Ô¸Ä×Ö·û´®½øÐнâÎö¾Í¿ÉÒÔת»»³ÉÀàµÄʵÀý¶Ô ......

java·ºÐÍ ×ªÔØ


Ó¢ÎÄÔ­ÎĵØÖ·:
http://www.onjava.com/pub/a/onjava/2005/07/06/generics.html
ÖÐÎĵØÖ·:
http://www.matrix.org.cn/resource/article/43/43634_java_generics.html
¹Ø¼ü´Ê£º java generics java5
ÕªÒª
       ·ºÐÍÊÇJ2SE 5.0×îÖØÒªµÄÌØÐÔ¡£ËûÃÇÈÃÄãдһ¸ötype(Àà»ò½Ó¿Ú£©ºÍ´´½¨Ò»¸ö ......

matlab java.lang.OutOfMemoryError: Java heap space

À´×Ôhttp://www.ilovematlab.cn/thread-30836-1-1.html
matlab java.lang.OutOfMemoryError
JavaÐéÄâ»úÄÚ´æ²»¹»ÓÃÁË.¿ÉÒÔÔö¼Ó×î´óÄÚ´æÉèÖÃ.
1. ²éÕÒmatlab¸ù·¾¶.ÔÚmatlabÃüÁîÐÐÖÐÇÃÈë:matlabroot
ÏÔʾ¸ù·¾¶,Èç:C:\MATLAB7
2.²é¿´µ±Ç°JavaÐéÄâ»ú×î´ó¶ÑÄÚ´æ, ÇÃÈë:java.lang.Runtime.getRuntime.maxMemory
3.²é¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ