Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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»æͼ

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

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

 String s1 = “abc“; 
s1Ö¸ÏòÁË“abc”
String s2 = new String(“abc“);
Éú³ÉÁ˶ÔÏónew String(“abc“);s2Ö¸ÏòÕâ¸ö¶ÔÏó£¬Õâ¸ö¶ÔÏóÒýÓÃÁË“abc”£»
equalsÒâÒåÊÇÅжÏÄÚÈÝÊÇ·ñÒ»Ö±ÒòΪs1ÄÚÈÝΪ“abc&rdq ......

java web¿ª·¢ÖзÀÖ¹ÂÒÂëµÄ·½·¨

1.ÔÚϵͳÖе¼ÈëÒ»ÏÂsource
SetCharacterEncodingFilter.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements.  See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ