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

MavenÖÐÐÞ¸ÄjavaÎļþ²»ÖØÆôÁ¢¼´ÉúЧ

½ñÌì·¢ÏÖÒ»¸öºÜNBµÄÍæÒ⣬ÈÃÎÒÃÇÔÚ¿ª·¢µÄʱºòÐÞ¸ÄJavaÎļþ£¬²»ÓÃÖØÆô·þÎñÆ÷Á¢¿ÌÉúЧ£¡Ö§³ÖJetty tomcat jbossµÈºÜ¶à·þÎñÆ÷£¬Ëü¾ÍÊÇJRebel¡£ http://www.zeroturnaround.com/jrebel/installation/ ÕâÀïÓÐÕë¶Ô²»Í¬·þÎñÆ÷µÄ°²×°·½·¨£¬»ù±¾ÉÏÖ÷Á÷µÄ¶¼º­¸ÇÁË£¬¾ø´ó¶àÊý³ÌÐòÔ±¶¼ÄÜʹÓã¡ÎÒÃǹ«Ë¾ÓÃmaven/jetty¶ÔÏîÄ¿½øÐй¹½¨ºÍ¿ª·¢£¬ÏÂÃæÎÒ¾ÍÀ´ËµÏÂÕë¶ÔmavenµÄʹÓ㬺ܼòµ¥£¡       £¨Ò»£©.ÏÂÔØjavarebel.jar£¬´ËÎļþ¿ÉÒÔ·ÅÔÚÄã±¾»úµÄÈκÎĿ¼Ï£¬²»ÐèÒª·ÅÔÚÏîÄ¿ÖС£       £¨¶þ£©.ÔÚpom.xmlÖÐÔö¼ÓÒ»¸öÒÀÀµ¿â²éѯºÍÒ»¸ö²å¼þµÄÒÀÀµ¿â²éѯ Xml´úÂë zt-repo http://repos.zeroturnaround.com/maven2                                     .......................   zt-repo Zero turnaround repo http://repos.zeroturnaround.com/maven2                                     .........................  

zt-repo
http://repos.zeroturnaround.com/maven2

.......................

zt-repo
Zero turnaround repo
http://repos.zeroturnaround.com/maven2

.........................
      £¨Èý£©.Ìí¼Ójavarebel-maven-plugin
Xml´úÂë

org.zeroturnaround
javarebel-maven-plugin
1.0.5


generate-rebel-xml
process-resources

generate





org.zeroturnaround
javarebel-maven-plugin
1.0.5


generate-rebel-xml
process-resources

generate



   £¨ËÄ£©.ÐÞ¸ÄJettyÊôÐÔ£¬¼ÓÉÏ0 £¬µ½ÕâÀï


Ïà¹ØÎĵµ£º

Java NIO APIÏê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

javaÓësql server 2005µÄÏà¹Ø²Ù×÷

//±¾³ÌÐòÁ¬½ÓµÄÊÇsql server 2005£¬ÓëÁ¬½Ósql server 2000Óе㲻ͬ£ºdriverNameºÍURL¶¼²»Í¬
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class create{
   public void getConnection() th ......

JAVAÀàÎļþ°æ±¾(class version)ÓëJDK¶ÔÓ¦¹Øϵ

Ò»¸öjavaµÄclassÎļþÊÇÒ»¸ö¶þ½øÖÆÎļþ£¬ÆäÖÐÇ°Ëĸö×Ö½ÚÊÇmagic룬µÚÎåµ½µÚÁù¸ö×Ö½Ú¶ÔÓ¦ÓÚminorºÍmajor£¬ÏÂÃæÊÇÕâ¸öÀàÎļþ°æ±¾ÓëJDKµÄ¶ÔÓ¦¹Øϵ¡£classÎļþµÄminorºÍmajor¿ÉÒÔͨ¹ýultraeditÀ´²é¿´£¬»ò×Ô¼º±à³ÌµÈ¡£
major minor Java platform version
45 3 1.0
45 3 1.1
46 0 ......

С±àdz̸Java³ÌÐò±àд¹æ·¶

½ñÌìС±àºÍ´ó¼Ò·ÖÏíµÄÊÇJava³ÌÐò±àд¹æ·¶£¬Ï£ÍûÄܶԴó¼ÒÓÐËù°ïÖú¡£
exit()
exit ³ýÁËÔÚ main ÖпÉÒÔ±»µ÷ÓÃÍ⣬ÆäËûµÄµØ·½²»Ó¦¸Ãµ÷Óá£ÒòΪÕâÑù×ö²»¸øÈκδúÂë´úÂë»ú»áÀ´½Ø»ñÍ˳ö¡£Ò»¸öÀàËƺǫ́·þÎñµØ³ÌÐò²»Ó¦¸ÃÒòΪijһ¸ö¿âÄ£¿é¾ö¶¨ÁËÒªÍ˳ö¾ÍÍ˳ö¡£
Òì³£
ÉêÃ÷µÄ´íÎóÓ¦¸ÃÅ׳öÒ»¸öRuntimeException»òÕßÅÉÉúµÄÒì³£¡£ ......

java»Øµ÷»úÖÆ

 »Øµ÷¸ÅÄî:
Èí¼þÄ£¿éÖ®¼ä×ÜÊÇ´æÔÚ×ÅÒ»¶¨µÄ½Ó¿Ú£¬´Óµ÷Ó÷½Ê½ÉÏ£¬¿ÉÒÔ°ÑËûÃÇ·ÖΪÈýÀࣺͬ²½µ÷Óᢻص÷ºÍÒì²½µ÷Óá£Í¬²½µ÷ÓÃÊÇÒ»ÖÖ×èÈûʽµ÷Ó㬵÷Ó÷½ÒªµÈ´ý¶Ô·½Ö´ÐÐÍê±Ï²Å·µ»Ø£¬ËüÊÇÒ»ÖÖµ¥Ïòµ÷Ó㻻ص÷ÊÇÒ»ÖÖË«Ïòµ÷ÓÃģʽ£¬Ò²¾ÍÊÇ˵£¬±»µ÷Ó÷½ÔÚ½Ó¿Ú±»µ÷ÓÃʱҲ»áµ÷ÓöԷ½µÄ½Ó¿Ú£»Òì²½µ÷ÓÃÊÇÒ»ÖÖÀàËÆÏûÏ¢»òʼþµÄ»úÖÆ£¬² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ