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

java ÐòÁл¯Óë³Ö¾Ã»¯

Ê×ÏÈҪ˵µÄÊÇ,HibernateÖÐORMÀï¶ÔÓ¦µÄÓ³ÉäÎļþBEAN,±ØÐëʵÏÖÐòÁл¯.ÒòΪBEANÀïµÄÊý¾ÝÐèÒª´æÈëÊý¾Ý¿â(Ҫת»¯Îª¶þ½øÖƱ£´æ),½øÐдæÈ¡¹¤×÷.
        JAVAÀàµÄÊý¾Ý ,Èç¹ûÒª½øÐÐÏà¹ØµÄ´æ´¢¹¤×÷(ÈçдÎļþ,ÍøÂç´«Êä,дÊý¾Ý¿âµÈ),ÄÇôÕâ¸öÊý¾ÝµÄÀà ¾Í±ØÐëʵÏÖÐòÁл¯½Ó¿Ú (java.io.Serializable).
        ÐòÁл¯ :  °Ñ¶ÔÏóת»» Ϊ¶þ½øÖÆÊý¾Ý(ÈçÍøÂç´«Êä,´æ´¢Êý¾Ý¿âµÈ),±ØÐëʵÏÖÐòÁл¯½Ó¿Ú (java.io.Serializable).
        ³Ö¾Ã»¯ :  °Ñ¶ÔÏó±£´æ ÔÚ½éÖÊÉÏ(ÈçдÎļþ,¶ÁÎļþ²»ÊÇ), ûÓнӿÚʵÏÖ,Ò»°ãÖ¸·½·¨µ÷ÓÃ. 
Èç¹û°´ÕÕ´æ´¢½éÖʺÍÉúÃüÖÜÆÚµÄ³¤¶Ì»®·Ö£¬ËùÓеÄÊý¾Ý¶¼ÒÔÁ½ÖÖÐÎʽ´æÔÚ£¬ÆäÖÐÒ»ÖÖÊDZ£´æÓÚÄÚ´æÖеÄÔËÐÐʱ¶ÔÏó£¬ÁíÒ»ÖÖÔòÊÇ´æ´¢Óڳ־û¯ÎïÀí½éÖÊÖеÄÎļþ£¬±ÈÈçÊý¾Ý¿âÎļþµÈ¡£Êý¾ÝµÄ³Ö¾Ã»¯¹Ø×¢ÓÚÏàͬµÄÊý¾ÝÔÚ²»Í¬ÐÎ̬Êý¾ÝÖ®¼äµÄת»¯£¬½â¾öµÄÊÇÈçºÎ½«ÄÚ´æ¶ÔÏó³Ö¾Ã»¯´æ´¢£¬ÒÔ¼°´ÓÎïÀí½éÖÊÖмÓÔØÊý¾Ý²¢´´½¨ÄÚ´æ¶ÔÏó¡£
Êý¾ÝµÄ³Ö¾Ã»¯ÊÇÐòÁл¯µÄÓÖÒ»¸öµäÐ͵ÄÓ¦Ó㬶ÔÏóÖ»ÓÐÔÚÐòÁл¯Ö®ºó²ÅÄܽøÐг־û¯´æ´¢£¬´Ó³Ö¾Ã»¯´æ´¢½éÖʼÓÔØµÄÊý¾Ýͨ¹ý·´ÐòÁл¯×ª±ä³ÉÔËÐÐʱ¶ÔÏó¡£


Ïà¹ØÎĵµ£º

JavaʵÏÖÊý×éÐÎʽµÄ¶àÏîʽ¼Ó·¨¡¢¼õ·¨¡¢³Ë·¨¡¢Ïà³ýÔËËã

javaʵÏֵĶàÏîʽ¼Ó·¨£¬¼õ·¨£¬³Ë·¨£¬³ý·¨ÔËË㣬ÆäÖжàÏîʽµÄ±íʾÐÎʽΪ°´Ãݴӵ͵½¸ßµÄϵÊýÊý×飬Êý×éµÄ³¤¶È¼´ÊǶàÏîʽµÄÃÝ
¼´ Êý×é{1,2,3,4}  ±íʾ¶àÏîʽ4x3+3x2+2x+1
ÔËËãÔÚ¹¤¾ßÀàPolynÖнøÐÐ ³õʼ»¯Polyn±ØÐëÒª´«Á½¸ö²ÎÊý ¼´±»³ýÊýºÍ³ýÊý
ÆäÖмӷ¨£¬¼õ·¨ºÍ³Ë·¨ÊǾ²Ì¬·½·¨ ²»ÐèʵÀý¼´¿ÉʹÓÃ
³ý·¨ÐèÒª²úÉúÉ̺ÍÓàÊ ......

Java¼¯ÈºÖ®session¹²Ïí½â¾ö·½°¸

      Ëæ×Å»¥ÁªÍøµÄÈÕÒæ×³´ó,ÍøÕ¾µÄpvºÍuv³ÉÏßÐÔ»òÕßÖ¸Êý±¶µÄÔö¼Ó.µ¥·þÎñÆ÷µ¥Êý¾Ý¿âÔçÒѾ­²»ÄÜÂú×ãʵ¼ÊÐèÇó.±ÈÈçÏñÊ¢´ó,ÌÔ±¦ÕâÑùµÄ´óÐÍÍøÂ繫˾,¸üÊÇÈç´Ë.
    ¼¯Èº,Ò²¾ÍÊÇÈÃÒ»×鼯Ëã»ú·þÎñÆ÷Эͬ¹¤×÷,´ï½â¾ö´ó²¢·¢,´óÊý¾ÝÁ¿Æ¿¾±ÎÊÌâ.µ«ÊÇÔÚȺ¼¯ÖÐ,sessionÍùÍùÊÇÒ»¸ö±È½ÈÍ·ÌÛµÄÎ ......

JavaÖÐsplitҪעÒâµÄÎÊÌâ

ÔÚJAVAÖУ¬ ÔÚʹÓÃString.split·½·¨·Ö¸ô×Ö·û´®Ê±£¬µ«Òª×¢ÒâÓÐЩ×Ö·û²»ÄÜÖ±½ÓÓõÄ,·Ö¸ô·ûÈç¹ûÓõ½Ò»Ð©ÌØÊâ×Ö·û,±ÈÈç "| "
,"*",µÈ·ñÔò»á³öÏÖÎÊÌ⣬ÒÔǰ¸ÕÓÃʱ¾ÍÒòΪÕâ¸öÎÊÌâ¶ø¿´Á˰ëÌìµÄ´úÂë¡£
public String[] split(String regex)
Splits this string around matches of the given regular expression. 
&nbs ......

JavaÖе÷Ó÷þÎñ¶Ë½Å±¾

   
   Runtime runtime = Runtime.getRuntime();// ¿ªÊ¼µ÷Ó÷þÎñ¶Ë½Å±¾
   Process process = runtime.exec("encode.sh /home/tomcat6/kgedata/note_not_encode/ /home/tomcat6/kgedata/note_encode/");
 int exitVal = process.waitFor();
 System.out.prin ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ