java httpclient£¨1£©
HTTP(Hyper-Text Transfer Protocol)Êǵ±Ç°ÒòÌØÍøÉÏʹÓÃ×î¶àµÄÐÒé¡£ÍøÂç·þÎñ£¬ÍøÂçÉ豸ÒÔ¼°ÍøÂç¼ÆËãµÄÔö³¤²»½öÔö¼ÓÁËÐèÒªHTTPÖ§³ÖµÄµÄÓ¦ÓóÌÐò£¬»¹À©Õ¹ÁËHTTPµÄ½ÇÉ«£¬Ê¹Æä²»½ö½öÓ¦ÓÃÓÚÓû§Çý¶¯µÄwebä¯ÀÀÆ÷¡£ java.net°üÌṩͨ¹ýHTTP·ÃÎÊ×ÊÔ´µÄ»ù±¾¹¦ÄÜ¡£HttpClientÉ跨ͨ¹ýʵÏÖÒ»¸ö¸ßЧµÄ£¬×îеģ¬¹¦ÄܷḻµÄHttp¿Í»§¶ËÀ´Ìî²¹ÕâÒ»¿Õ°×¡£ÕâÖÖʵÏÖÊÇ»ùÓÚ×îеÄHTTP±ê×¼ºÍ½¨ÒéµÄ¡£ HttpClient¿ÉÒÔ°ïÖúÄ㿪·¢webä¯ÀÀÆ÷£¬web·þÎñ¿Í»§¶ËµÈ¡£Ëü¸²¸ÇÒ»ÏÂÈý¸ö·½Ã棺 »ùÓÚHttpCoreµÄHTTP´«Êä¿Í»§¶Ë¿â »ùÓÚ¾µäµÄ(×èÈûʽ)I/O Content agnostic HttpClient²»ÊÇʲô HttpClient²»ÊÇä¯ÀÀÆ÷¡£ËüµÄÄ¿µÄÊÇ·¢ËͲ¢½ÓÊÜHTTPÏûÏ¢¡£HttpClient²»»áÆóͼ´¢´æÄÚÈÝ£¬Ö´ÐÐHTMLÒ³ÃæÖеÄJavaScript£¬²Â²âÄÚÈݵÄÀàÐÍ»òÕßÖض¨ÇëÇó¸ñʽ/Öض¨ÏòURIs£¬»òÕßÆäËûÓëHTTP´«ÊäÎ޹صŦÄÜ¡£ Á¬½Ó£ºHttpClient¹Ù·½½Ì³Ì¡£
Ïà¹ØÎĵµ£º
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......
JAVA¿ª·¢°ü¹¦Äܼò½é
TerrySMS for Java ÊÇÓÃJAVA¿ØÖÆGSM ModemʵÏÖ¶ÌÐÅÊÕ·¢¹¦ÄܵĿª·¢°ü¡£ÀûÓÃTerrySMS¿ÉÒÔʵÏÖ¿çƽ̨µÄ¶ÌÐÅ·¢ËÍ£¬Ä¿Ç°Ö§³ÖwindowsXP¡¢2000¡¢2003¡¢LinuxµÈ²Ù×÷ϵͳ¡£ÊÇʵÏÖÒµÎñϵͳºÍ¶ÌÐÅϵͳ¼Þ½ÓµÄÀíÏ빤¾ß¡£
JAVA¿ª·¢°ü¹¦ÄܽéÉÜ
1¡¢Ä¿Ç°Ö ......
¾õµÃÕâƪÎÄÕ±ȽÏÓÐÓþÍתÁË¡£¡£¡£
webservice
ÔÚÍøÉÏ¿´ÁËһϸ÷ÀàµÄ½Ì³Ì,javaºÍ.netÁ½ÖÖÓïÑÔÉú³ÉµÄwebserviceÖ®¼äµÄ»¥Í¨Ê¼ÖÕÊÇÒ»¸öÎÊÌâ,ÏëÕÒÒ»ÖÖjavaµ÷ÓÃ.netдµÄwebservice´úÀí·½·¨²»ÈÝÒ×,½á¹ûÃþË÷ÖÐjboss-ideÕâ¸öEclipse²å¼þ½â¾öÁËÎÊÌâ.
µ±È»Ê×ÏÈÊÇ°²×°jboss-ide ......
ÔÎÄ´«ËÍÃÅ£ºhttp://solodu.javaeye.com/blog/454546
JDK1.5ÖУ¬StringÀàÐÂÔöÁËÒ»¸öºÜÓÐÓõľ²Ì¬·½·¨String.format():ÏÖÓÐÒ»¸öʱ¼ä'20090903'Ҫת»¯³ÉÖ¸¶¨Ê±¼äµÄjava.util.Date¸ñʽ
private Date getStartGregorianTime(String date) {
Date d_date = DateUtil.parseDate(date);
int year = new ......
±ØÐëµÄ³ÐÈÏjava»¥ÁªÍøÏîÄ¿Ç¿ÊƲ»ÔÚÕâÀï,ÊÇÐèÒª´óÁ¿¸¨Öú¹¤×÷²ÅÄÜÌá¸ßËÙ¶È
1 Ç°ÌáÓиöºÃÓ²¼þ
2 È«Õ¾html¾²Ì¬»¯ (·Çα¾²Ì¬)
3 ÕûºÏapache+tomcat »òÕßiis+tomcat Ö®ÀàµÄ µ±È»ÆäËûjava webÈÝÆ÷Ò²ÄÜÕûºÏ
4 squid ¼ÓËÙ
5 ¸ºÔؾùºâ apache
´óÌå¿ò¼ÜʵÏÖ¼´ÊÇÈç´Ë
Èç¹û»¹³Á½þÔÚ db connect µÈ¶ÔÏóûÓÐclos ......