java½çÃæ¿ª·¢ÖУ¬ÈçºÎ·ÀÖ¹´°¿Ú±»ºÄʱ²Ù×÷¶³½á£¿
ÔÚJava¿ª·¢ÖУ¬¾³£»áÓÐÕâÑùµÄÇé¿ö£¬µã»÷Ò»¸ö°´Å¥button1£¬´¥·¢µÄ²Ù×÷ʱºÜºÄʱµÄ²Ù×÷£¬ÓпÉÄÜÊÇ10·ÖÖÓ£¬ÉõÖÁÐèÒª¸ü³¤µÄʱ¼ä²ÅÄÜÖ´ÐÐÍê±Ï£¬Õâʱºò½çÃæÈçͬ±»¶³½áÒ»Ñù¡£
½â¾ö°ì·¨£ºÊ¹ÓöàÏ̡߳£
Èç¹ûbutton1´¥·¢µÄʼþ´¦Àíº¯ÊýÎÊbutton1Action(),
Ôò¸ÃΪÈçÏ£º
button1Action()
{
Thread t=new Thread(new Runnable(){public void run(){doit();}})
}
private void doit()
{
//ºÄʱ²Ù×÷µÄÖ´ÐдúÂë
...
...
}
Ïà¹ØÎĵµ£º
1.ʹÓÃHttpClient
Óõ½µÄjarÎļþ£ºcommons-httpclient-3.1.jar
·½·¨£º
Ô¤Ïȶ¨ÒåºÃSoapÇëÇóÊý¾Ý£¬¿ÉÒÔ½èÖúÓÚXMLSpy ProfessionalÈí¼þÀ´×öÕâÒ»²½Éú³É¡£
String soapRequestData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instanc ......
1.¼òÊöÂß¼²Ù×÷(&,|,^)ÓëÌõ¼þ²Ù×÷(&&,||)µÄÇø±ð¡£(15·Ö)
a.Ìõ¼þ²Ù×÷Ö»ÄܲÙ×÷²¼¶ûÐ͵Ä,¶øÂß¼²Ù×÷²»½ö¿ÉÒÔ²Ù×÷²¼¶ûÐÍ,¶øÇÒ¿ÉÒÔ²Ù×÷ÊýÖµÐÍ
b.Âß¼²Ù×÷²»»á²úÉú¶Ì·
2.ÏÂÃæ³ÌÐòÔËÐлᷢÉúʲô½á¹û?Èç¹ûÓдíÎó,ÈçºÎ¸ÄÕý? (15·Ö)
interface A{
int x = 0;
......
Àà¼ÓÔØÊÇJava³ÌÐòÔËÐеĵÚÒ»²½£¬Ñо¿ÀàµÄ¼ÓÔØÓÐÖúÓÚÁ˽âJVMÖ´Ðйý³Ì£¬²¢Ö¸µ¼¿ª·¢Õß²ÉÈ¡¸üÓÐЧµÄ´ëÊ©ÅäºÏ³ÌÐòÖ´ÐС£
Ñо¿Àà¼ÓÔØ»úÖÆµÄµÚ¶þ¸öÄ¿µÄÊÇÈóÌÐòÄܶ¯Ì¬µÄ¿ØÖÆÀà¼ÓÔØ£¬±ÈÈçÈȲ¿ÊðµÈ£¬Ìá¸ß³ÌÐòµÄÁé»îÐÔºÍÊÊÓ¦ÐÔ¡£
Ò»¡¢¼òµ¥¹ý³Ì
Java³ÌÐòÔËÐеij¡ËùÊÇÄڴ棬µ±ÔÚÃüÁîÐÐÏÂÖ´ÐУº
java HelloWorld
ÃüÁîµÄʱºò£¬JVM» ......
¶ÔÓÚ¶àÏ̳߳ÌÐòÀ´Ëµ£¬²»¹ÜÈκαà³ÌÓïÑÔ£¬Éú²úÕߺÍÏû·ÑÕßÄ£ÐͶ¼ÊÇ×î¾µäµÄ¡£¾ÍÏñѧϰÿһÃűà³ÌÓïÑÔÒ»Ñù£¬Hello World!¶¼ÊÇ×î¾µäµÄÀý×Ó¡£
¡¡¡¡Êµ¼ÊÉÏ£¬×¼È·ËµÓ¦¸ÃÊÇ“Éú²úÕß-Ïû·ÑÕß-²Ö´¢”Ä£ÐÍ£¬À뿪Á˲ִ¢£¬Éú²úÕßÏû·ÑÕßÄ£Ð;ÍÏÔµÃûÓÐ˵·þÁ¦ÁË¡£
¡¡¡¡¶ÔÓÚ´ËÄ£ÐÍ£¬Ó¦¸ÃÃ÷ȷһϼ¸µã£º
¡¡¡¡1¡¢Éú²úÕß½ö½öÔÚ²Ö´ ......