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

java»º´æ´¦Àí

java»º´æ¼¼ÊõÒ»£¨×ª£©
¿´Ò»Á£É³ÖеÄÊÀ½ç£¬ Ò»¶äÒ°»¨ÖеÄÌìÌᣠ°ÑÎÞÏÞÎÕÓÚÕÆÖУ¬ °ÑÓÀºãÎÕÓÚ˲¼ä¡£——ÍþÁ®• ²¼À³¿Ë
¿ªÊ¼ÌÖÂÛ»º´æ֮ǰ,ÈÃÎÒÃÇÏÈÀ´ÌÖÂÛÌÖÂÛÁíÍâÒ»¸öÎÊÌâ:ÀíÂÛºÍʵ¼ù.´Óahuaxuan½Ó´¥µÄ³ÌÐòÔ±À´¿´,ÓеijÌÐòԱƫʵ¼ù,ÓеijÌÐòԱƫÀíÂÛ,µ«ÊÇÕⶼÊDz»ºÃµÄÐÐΪ,ÀíÂÛºÍʵ¼ùͬÑùÖØÒª,ÎÒÃÇÔÚ×öºÜ¶àºËÐĵÄËã·¨µÄʱºò,ûÓÐÀíÂÛ¸ù±¾ÎÞ´ÓÏÂÊÖ,¶øÔÚÎÒÃǶàÄêµÄʵ¼ùÖÐ,²»×ܽáÀíÂ۾Ͳ»ÄܼÓÉî×Ô¼ºµÄÀí½â.ËùÒÔÀíÂÛºÍʵ¼ùͬµÈÖØÒª.
»º´æÊǵ±½ñ¸÷ÖÖÈí¼þ»òÕßÓ²¼þϵͳÖв»¿ÉȱÉٵļ¼ÊõÖ®Ò»,ËùÒÔ¶Ôÿ¸ö³ÌÐòÔ±À´Ëµ¶¼ÏÔµÃÒì³£ÖØÒª,¶ÔahuaxuanÀ´ËµÒàÊÇÈç´Ë.Èç¹û˵ÓÃdfaʵÏÖÎÄ×Ö¹ýÂËÊÇ´ÓÀíÂÛµ½Êµ¼ù,ÄÇô±¾ÎıãÊÇ´Óʵ¼ùÖÐ×ܽá³öµÃÀíÂÛ.
ÔÚÌÖÂÛ»º´æ¹¦ÄÜ֮ǰ,ÎÒÃÇÊ×ÏÈÀ´Á˽âһϻº´æÕâ¸ö¶«Î÷±¾Éí.ahuaxuan¸ù¾Ý×Ô¼ºµÄ¾­Ñé°Ñ»º´æÎÊÌâϸ·ÖΪ4ÀàСÎÊÌâ.
1»º´æΪʲôҪ´æÔÚ?
2»º´æ¿ÉÒÔ´æÔÚÓÚʲôµØ·½?
3»º´æÓÐÄÄЩÊôÐÔ?
4»º´æ½éÖÊ?
¸ãÇå³þÕâ4¸öÎÊÌâ,ÄÇôÎÒÃǾͿÉÒÔËæÒâµÄͨ¹ýÓ¦Óõij¡¾°À´ÅжÏʹÓúÎÖÖ»º´æÁË.
ÏÂÃæahuaxuanºÍ´ó¼ÒÒ»Ò»·ÖÎöÕâ4¸öÎÊÌâ.
1. »º´æΪʲôҪ´æÔÚ?
Ò»°ãÇé¿öÏÂ,Ò»¸öÍøÕ¾,»òÕßÒ»¸öÓ¦ÓÃ,ËüµÄÒ»°ãÐÎʽÊÇ,ä¯ÀÀÆ÷ÇëÇóÓ¦Ó÷þÎñÆ÷,Ó¦Ó÷þÎñÆ÷×öÒ»¶Ñ¼ÆËãºóÔÙÇëÇóÊý¾Ý¿â,Êý¾Ý¿âÊÕµ½ÇëÇóºóÔÙ×÷Ò»¶Ñ¼ÆËãºó°ÑÊý¾Ý·µ»Ø¸øÓ¦Ó÷þÎñÆ÷,Ó¦Ó÷þÎñÆ÷ÔÙ×÷Ò»¶Ñ¼ÆËãºó°ÑÊý¾Ý·µ»Ø¸øä¯ÀÀÆ÷.Õâ¸öÊÇÒ»¸ö±ê×¼Á÷³Ì.µ«ÊÇËæ×Å»¥Á¬ÍøµÄÆÕ¼°,ÉÏÍøµÄÈËÔ½À´Ô½¶à,ÍøÉϵÄÐÅÏ¢Á¿Ò²Ô½À´Ô½¶à,ÔÚÕâÁ½¸öÔ½À´Ô½¶àµÄÇé¿öÏÂ,ÎÒÃǵÄÓ¦ÓÃÐèÒªÖ§³ÅµÄ²¢·¢Á¿¾ÍÔ½À´Ô½¶à.È»ºóÎÒÃǵÄÓ¦Ó÷þÎñÆ÷ºÍÊý¾Ý¿â·þÎñÆ÷Ëù×öµÄ¼ÆËãÒ²Ô½À´Ô½¶à,µ«ÊÇÍùÍùÎÒÃǵÄÓ¦Ó÷þÎñÆ÷×ÊÔ´ÊÇÓÐÏÞµÄ,Êý¾Ý¿âÿÃëÖнÓÊÜÇëÇóµÄ´ÎÊýÒ²ÊÇÓÐÏÞµÄ(Ë­½Ð°³ÃǵÄÓ²ÅÌתËÙÓÐÏÞÄØ).Èç¹ûÀûÓÃÓÐÏÞµÄ×ÊÔ´À´Ìṩ¾¡¿ÉÄÜ´óµÄÍÌÍÂÁ¿ÄØ,Ò»¸ö°ì·¨:¼õÉÙ¼ÆËãÁ¿,Ëõ¶ÌÇëÇóÁ÷³Ì(¼õÉÙÍøÂçio»òÕßÓ²ÅÌio),Õâʱºò»º´æ¾Í¿ÉÒÔ´óÕ¹ÊÖ½ÅÁË.»º´æµÄ»ù±¾Ô­Àí¾ÍÊÇ´òÆÆÉÏͼÖÐËùÃè»æµÄ±ê×¼Á÷³Ì,ÔÚÕâ¸ö±ê×¼Á÷³ÌÖÐ,ÈκÎÒ»¸ö»·½Ú¶¼¿ÉÒÔ±»ÇжÏ.ÇëÇó¿ÉÒÔ´Ó»º´æÀïÈ¡µ½Êý¾ÝÖ±½Ó·µ»Ø.ÕâÑù²»µ«½ÚÊ¡ÁËʱ¼ä,Ìá¸ßÁËÏìÓ¦ËÙ¶È,¶øÇÒÒ²½ÚÊ¡ÁËÓ²¼þ×ÊÔ´.¿ÉÒÔÈÃÎÒÃÇÓÐÏÞµÄÓ²¼þ×ÊÔ´À´·þÎñ¸ü¶àµÄÓû§.
2 »º´æ¿ÉÒÔ´æÔÚÓÚʲôµØ·½?
Java´úÂë
ä¯ÀÀÆ÷---ä¯ÀÀÆ÷ºÍappÖ®¼ä---·Ö¹ý²ãµÄapp-Êý¾Ý¿â  
ä¯ÀÀÆ÷---ä¯ÀÀÆ÷ºÍappÖ®¼ä---·Ö¹ý²ãµÄapp-Êý¾Ý¿â

ÔÚÉÏͼÖÐ,ÎÒÃÇ¿ÉÒÔ¿´µ½Ò»´ÎÇëÇóµÄÒ»°ãÁ÷³Ì,ÏÂÃ


Ïà¹ØÎĵµ£º

java ·ÃÎÊ¡£net webservice

java·ÃÎÊ¡£netµÄwebservice ¶øÇÒ ·µ»ØÖµÊÇÒ»¸öÀ࣬ÕâÍæÒâÕÛÄ¥ÎÒÒ»Ì죬³öÏÖ¹ýһϵÁеÄÎÊÌ⣬
°üÀ¨ ûÓж¨ÒåSoapAction ²»ÄÜÐòÁл¯ÀàµÈµÈ¡£ ×îºó»¹ÊÇ·þÎñÌṩÉ̸øÁ˸ödemo£¬½â¾öÁË £¬Ô­ÒòÊÇÎÒ·µ»Ø×Ô¶¨ÒåÀàµÄÒ»¸ö±äÁ¿Ã»ÓÐgetº¯Êý£¬¿É³Ü°¡¡£¶øÇÒdemoÀïµÄ´úÂë ÎÒÏëÒ²ÊÇÓÃwsdd2javaÉú³ÉµÄ£¬ÎÒÒÔÇ°Ò²¿´µ½¹ýÕâÖÖģʽµÄʵÏÖ£¬¿´×Å·Ñ ......

java mail Ïà¹Ø

¡¾ÉùÃ÷¡¿×ªÌûµØÖ· £º http://tech.ddvip.com/2009-04/1239788309115180.html
MailSenderInfo .java :
package com.util.mail;
import java.util.Properties;
/**
* @author AllanKing
* @date 2009-11-12
*/
public class MailSenderInfo {
// ·¢ËÍÓʼþµÄ·þÎñÆ÷µÄIPºÍ¶Ë¿Ú
private String mailServerHost; ......

´ø×Åjavaѧpython

 pythonÕýÎÄ£º     ºÍÆäËüÓïÑÔÒ»Ñù£¬ÎÒÃÇ¿ÉÒÔÒÔÃüÁîÐеÄÐÎʽ¸øÄãµÄpython³ÌÐò´«µÝ²ÎÊý£¬pyhtonÄܹ»×Ô¶¯°ÑÃüÁîÐвÎÊýÒÔ×Ö·û´®ÁбíµÄÐÎʽ´æ´¢ÔÚsysÄ£¿éµÄarv±äÁ¿¡£ok£¬ÎÒÃÇÏÈÀ´¿´¸öÀý³Ì£º
 
#  ÎļþÃû: printargs.py
#ÓÃ;£ºÑÝʾpythonµÄ´«²Î
import sys
print sys.argv
ÔÚÃü ......

ÕûÀíÓÃJavaʵÏÖÊý×Öת»¯³É×Ö·û´®×ó±ß×Ô¶¯²¹Áã·½·¨

Java ÖиøÊý×Ö×ó±ß²¹0 £¨1£©·½·¨Ò»
import java.text.NumberFormat; public class NumberFormatTest {     public static void main(String[] args) {
        //´ý²âÊÔÊý¾Ý
        int i = 1;
  ......

javaÖÐÊäÈëÊä³öµÄ×ÜÀ¨(³õѧ±Ø¿´)

µÚÒ»½Ú Êý¾ÝÁ÷µÄ»ù±¾¸ÅÄî
     Àí½âÊý¾ÝÁ÷
Á÷Ò»°ã·ÖΪÊäÈëÁ÷£¨Input Stream£©ºÍÊä³öÁ÷£¨Output Stream£©Á½À࣬µ«ÕâÖÖ»®·Ö²¢²»ÊǾø¶ÔµÄ¡£±ÈÈçÒ»¸öÎļþ£¬µ±ÏòÆäÖÐдÊý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊä³öÁ÷£»µ±´ÓÆäÖжÁÈ¡Êý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊäÈëÁ÷¡£µ±È»£¬¼üÅÌÖ»ÊÇÒ»¸öÊýÈËÁ÷£¬¶øÆÁÄ»ÔòÖ»ÊÇÒ»¸öÊä³öÁ÷¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ