JAVAÀï apache,tomcat,jboss ·þÎñÆ÷
tomcatΪһ¸öjspºÍservletµÄÈÝÆ÷£¬µ«Ëü³ýÁËÕâ¸öÍ⻹×Ô´øÁËweb·þÎñÆ÷¡£Ò²¾ÍÊÇ˵£¬Ëü¼ÈÊÇservletÈÝÆ÷£¬Ò²ÊÇÒ»¸öweb·þÎñÆ÷¡£
ËüÊÇÓÃjava±àдµÄ£¬ÓÃÀ´Ö´ÐÐservletºÍjspµÄ£¬µ«´¦Àí¾²Ì¬×ÊÔ´ÉÏapacheµÈרҵ·þÎñÆ÷¹¦ÄÜÄÇôǿ¡£ËùÒԺܶàÈËÔ¸Ò⽫Á½Õß½áºÏÆðÀ´Ê¹Óá£tomcat´¦Àí¶¯Ì¬Ò³Ã棬¶øappache´¦Àí¾²Ì¬×ÊÔ´£¬ÕâÑùÁ½Õ߸÷È¡Ëù³¤¡£ÁíÍ⣬Ëæ×ÅtomcatµÄÉý¼¶ºÍavaµÄÉý¼¶£¬tomcatµÄÐÔÄÜÔ½À´Ô½ºÃ£¬Ö±½ÓʹÓÃtomcat¾ÍÄÜÂú×ã´ó¶àÊýÐèÇó£¬Ò²¾Íû±ØÒª¼¯³ÉÁË¡£
jbossÊÇÒ»¸öejbÈÝÆ÷£¬Ã»ÓÐ´í¡£ËüͬʱҲÄÚǶÁËÒ»¸ötomcat£¬ÕâÑùµÄ»°²¿Êð·½±ã¶øÒÑ¡£¸øtomcatÔö¼ÓÁ˲¿·Öj2eeµÄ¹¦ÄܶøÒÑ¡£
×ÜÖ®£¬tomcatÊÇjbossµÄÒ»¸ö×Ó¼¯¡£tomcatÀïµÄjboss¶¼°üº¬£¬jbossÓеÄtomcat¾Í²»Ò»Ð´ÓС£µ±È»£¬Ò²¿Éµ¥¶ÀʹÓÃtomcatÈ¥µ÷ÓÃjbossÀïµÄejb
ÖÁÓÚmvc£¬ºÜ¶à³õѧÕ߶ÔÕâ¸ö¸ÅÄî²»ÊǺÜÇå³þ¡£ÏÖÔÚ£¬´ó¶àÊý¸öÈË»òСµÄ¹«Ë¾½«Õû¸öÍøÕ¾·ÅÔÚһ̨»ú×ÓÉÏ£¬Ê¹Óÿò¼Ü×ömvc»ò×ÔÒÑдmvc¡£
µ«¶ÔÓÚһЩ´óµÄ¹«Ë¾À´ËµÒ»°ãÊǽ«ºǫ́ʹÓÃejb¼¯Èº£¬×öΪģÐÍ¡£Ç°Ì¨Ê¹ÓÃtomcatµÈÇáÁ¿¼¶ÈÝÆ÷¼¯Èº£¬×ö¿ØÖƲãºÍÏÔʾ²ã£¬¾²Ì¬×ÊÔ´ÔòʹÓÃapacheµÈweb·þÎñÆ÷È¥´¦Àí¡£
Ïà¹ØÎĵµ£º
Ò»¡¢Spring»ù´¡ÖªÊ¶¼°IOC_Ñ¡ÔñÌâ
1. ÏÂÃæ¹ØÓÚspringÃèÊö´íÎóµÄÊÇ£º£¨ £©
A SpringÖ§³Ö¿É²åÈëµÄÊÂÎñ¹ÜÀíÆ÷£¬Ê¹ÊÂÎñ»®·Ö¸üÇáËÉ£¬Í¬Ê±ÎÞÐè´¦Àíµ×²ãµÄÎÊÌâ¡£
B SpringÊÂÎñ¹ÜÀíµÄͨÓóéÏó²ã»¹°üÀ¨JTA²ßÂÔºÍÒ»¸öJDBC DataSource¡£
C ÓëJTA»òEJB CMTÒ»Ñù£¬SpringµÄÊÂÎñÖ§³ÖÒÀÀµÓÚJava EE»·¾³¡£
D Spr ......
1¡¢Ò³Ãæ±àÂëÓëºǫ́Àà±àÂë²»Ò»Ö¡£
2¡¢ºǫ́ÀàÓëÊý¾Ý¿â½»»¥±£³ÖÊý¾Ýʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º¿ÉÒÔÔÚÇý¶¯µÄurl²ÎÊýÖÐÖ¸¶¨¡£
3¡¢¶ÁÎļþ/Á÷ʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º½¨ÒéʹÓÃFileReaderºÍFileWriterµÄ¸¸ÀࣺInputStreamReader/OutputStreamWriter£¬ËüÃÇÔÚ¹¹Ô캯ÊýÖпÉÒÔÖ¸¶¨±àÂëÀàÐÍ£ºInputStreamReader(InputStream in, Charset c ......
JavaÀï±ß½âÎöxmlÒ»°ãÓÐÈýÖÖ³£Óõļ¼Êõ£º
1¡¢ Document Object Model (DOM)£¬W3CÀï±ßÒ»ÖÖ³ÉÊìµÄ±ê×¼¡£Ä¿Ç°¹ã·ºÊ¹ÓõĽâÎö¹¤¾ß£ºJDOM DOM4J
2¡¢ Simple API for XML (SAX)£¬µÚÒ»ÖÖ±»¹ã·º½ÓÊܵÄXMLµÄAPI£¬³ÉΪÊÂʵÉϵıê×¼¡£
3¡¢ Streaming API for XML (StAX)£¬ÔÚJSR-173ÖÐÌáµ½µÄÒ»ÖÖºÜÓÐǰ;µÄÐÂÐͽâÎöÄ ......
Properties props=System.getProperties(); //ϵͳÊôÐÔ
System.out.println("JavaµÄÔËÐл·¾³°æ±¾£º"+props.getProperty("java.version"));
System.out.println("JavaµÄÔËÐл·¾³¹©Ó¦ÉÌ£º"+props.getProperty("java.vendor"));
System.out.println("Java¹©Ó¦É̵ÄURL£º"+props.getProperty("java.vendor.url"));
Syste ......