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

java´¦Àíwebservice

   ¾õµÃÕâƪÎÄÕ±ȽÏÓÐÓþÍתÁË¡£¡£¡£
webservice
    ÔÚÍøÉÏ¿´ÁËһϸ÷ÀàµÄ½Ì³Ì,javaºÍ.netÁ½ÖÖÓïÑÔÉú³ÉµÄwebserviceÖ®¼äµÄ»¥Í¨Ê¼ÖÕÊÇÒ»¸öÎÊÌâ,ÏëÕÒÒ»ÖÖjavaµ÷ÓÃ.netдµÄwebservice´úÀí·½·¨²»ÈÝÒ×,½á¹ûÃþË÷ÖÐjboss-ideÕâ¸öEclipse²å¼þ½â¾öÁËÎÊÌâ.
    µ±È»Ê×ÏÈÊÇ°²×°jboss-ideÕâ¸ö²å¼þÁË(Ôõô°²×°¾Í¶à˵ÁË,ÍøÉ϶àµÄÊÇ),jboss-ide×Ô´øÓÐÉú³Éweb service-test-client,½øÈëн¨-ÆäËû-jboss-ide,ÀïÃæ¿ÉÒÔ¿´ÓÐwebservice-webservice -test-client,²»ÓÃ˵ѡÔñ½øÈë.ÀïÃæ»áÓÐÑ¡ÔñwsdlÎļþµØÖ·µÄÑ¡Ôñ,ÐèҪעÒâµÄÊǵ±µ÷ÓÃ.netдµÄwebserviceʱ,ÍùÍùÊÇhttp://local/ServiceCenter/Service.asmxÕâÖÖµÄÐÎʽ,´Ëʱ±ØÐëÔÚºóÃæ¼ÓÈë?wsdl,ÀýÈçhttp://local/ServiceCenter/Service.asmx?wsdl,²ÅÄÜÕý³£Éú³É´úÀí,±ÊÕß¿ªÊ¼µÄʱºò¾ÍÊÇ¿¨ÔÚÕâÀï....
    Éú³É´úÀíºó,ÍùÍù»á³öÏÖ±àÒë´íÎó,ÀýÈç±ÊÕ߾ͳöÏÖÈçÏ´íÎó:
    oper.setStyle(org.apache.axis.enum.Style.WRAPPED);
    oper.setUse(org.apache.axis.enum.Use.LITERAL);
×¢ÒâÆäÖеÄenumµÄ¹Ø¼ü×ÖÔÚjdk1.5°æ±¾ÒÔºóÒѱ»Ê¹ÓÃ,ÐèÒª¸Ä³É
    oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
    oper.setUse(org.apache.axis.constants.Use.LITERAL);
²ÅÄÜͨ¹ý(ʵÔÚ²»ÐоͿ¸µô°É),ÐèÒªaxis1.2ÒÔÉϵÄÖ§³Ö,Õâ¸öҪעÒâ.
ps:±ÊÕßÒ²Ôø¾­ÓùýxfireÈ¥Éú³É.netµÄ´úÀí,µ«ÊǼæÈÝÐÔ²»ÊÇÌ«ºÃŶ,¾­³£±¨´í!¸÷λµàÁ¿!


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

java»ñÈ¡SQL²éѯ½á¹û¼¯ÖеÄÐÐÊýºÍÁÐÊý

http://cheneyph.javaeye.com/blog/477829
         ÔÚJavaÖУ¬»ñµÃResultSetµÄ×ÜÐÐÊýµÄ·½·¨ÓÐÒÔϼ¸ÖÖ¡£
µÚÒ»ÖÖ£ºÀûÓÃResultSetµÄgetRow·½·¨À´»ñµÃResultSetµÄ×ÜÐÐÊý
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABL ......

Java»æͼ

ÏÂÃæÊÇÎÒÈÏΪÕýÈ·µÄ×ö·¨£¨½áºÏ×Ô¼ºµÄ¾­ÑéдµÄ£¬Èç¹û²»ÕýÈ·£¬Çë´ó¼ÒÖ¸Õý£©£º
ÎҵĻæͼ¿Ø¼þÊÇJPanel£¬
³öÏÖ¹ö¶¯ÌõµÄÇ°Ìᣬ±ØÐëÈûæͼ¿Ø¼þ·ÅÔÚJScrollPaneÉÏ£¬
¶ÔÓÚJScrollPaneµÄLayout£¬Ã»ÓÐÌØÊâÒªÇó£¬ÏÂÃæÕâÑù¼´¿É£º
jScrollPane1.setViewportView(jPanel1);
È»ºó£¬ÁíÍâά³ÖÒ»¸öBufferedImage£¨¼ÙÉè½Ðimage1£©£¬¸÷ÖÖÍ¼Ï ......

FlexÖÐXMLSocketÓëJavaÖÐSocketͨÐÅ

FlexÖÐXMLSocketÓëJavaÖÐSocketͨÐÅ£¬Óöµ½µÄÎÊÌâÊÇ£¬JavaÖеÄsocketÄܹ»½ÓÊܵ½XMLSocket´«ÊäµÄÊý¾Ý£¬µ«ÊÇFlex²¢²»ÄܽÓÊܵ½´ÓJava·þÎñÆ÷´«ÊäµÄÊý¾Ý£¬´ÓÍøÉÏËÑÁ˺öà×ÊÁÏ£¬ÖÕÓÚÕÒµ½ÁËÔ­Òò£¬Ô­À´XMLSocket ½ÓÊÕµ½·þÎñ¶ËÏ·¢µÄÊý¾Ýʱ£¬½«Á¬Ðø·ÅÓÚ½ÓÊÕ»º³åÇø£¬Ö±µ½½ÓÊÕµ½ "\0" ×Ö½Ú£¨×Ö½ÚÄÚÈÝΪ ASCII Öµ 0£©£¬²ÅÈÏΪ½ÓÊÕÍê³É£¬² ......

java £ºÁ½¸ö¶ÔÏóÏàµÈequalsºÍ==µÄÇø±ð

 String s1 = “abc“; 
s1Ö¸ÏòÁË“abc”
String s2 = new String(“abc“);
Éú³ÉÁ˶ÔÏónew String(“abc“);s2Ö¸ÏòÕâ¸ö¶ÔÏó£¬Õâ¸ö¶ÔÏóÒýÓÃÁË“abc”£»
equalsÒâÒåÊÇÅжÏÄÚÈÝÊÇ·ñÒ»Ö±ÒòΪs1ÄÚÈÝΪ“abc&rdq ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ