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

Java JDK °æ±¾µÄÇø±ð

jdk6ºÍjdk5Ïà±ÈµÄÐÂÌØÐÔÓУº
1¡¢instrumentation
ÔÚ Java SE 6 ÀïÃ棬instrumentation °ü±»¸³ÓèÁ˸üÇ¿´óµÄ¹¦ÄÜ£ºÆô¶¯ºóµÄ instrument¡¢±¾µØ´úÂë instrument£¬ÒÔ¼°¶¯Ì¬¸Ä±ä classpath µÈµÈ¡£
2¡¢HttpÓÐËùÔöÇ¿
3¡¢ Java ¹ÜÀíÀ©Õ¹£¨JMX£© ¼Ü¹¹¼°Æä¿ò¼Ü£¬ÒÔ¼°ÔÚ Java SE 5 ÖÐÐÂÒýÈëµÄ JMX API -- java.lang.management °ü
4¡¢JDK 6 ÖÐÐÂÔö¼Ó±àÒëÆ÷ API£¨JSR 199£©¡£ÀûÓÃ´Ë API£¬Äú¿ÉÒÔÔÚÔËÐÐʱµ÷Óà Java ±àÒëÆ÷£¬¿ÉÒÔ±àÒ벻ͬÐÎʽµÄÔ´´úÂëÎļþ£¬»¹¿ÉÒԲɼ¯±àÒëÆ÷µÄÕï¶ÏÐÅÏ¢¡£
5¡¢Java DB ºÍ JDBC 4.0
6¡¢¶Ô½Å±¾ÓïÑÔµÄÖ§³Ö
Java SE 6 ÐÂÒýÈëµÄ¶Ô JSR 223 µÄÖ§³Ö£¬ËüÖ¼ÔÚ¶¨ÒåÒ»¸öͳһµÄ¹æ·¶£¬Ê¹µÃ Java Ó¦ÓóÌÐò¿ÉÒÔͨ¹ýÒ»Ì׹̶¨µÄ½Ó¿ÚÓë¸÷Öֽű¾ÒýÇæ½»»¥£¬´Ó¶ø´ïµ½ÔÚ Java ƽ̨Éϵ÷Óø÷Öֽű¾ÓïÑÔµÄÄ¿µÄ¡£
7¡¢XML API Óë Web ·þÎñ
Java SE 6 ÖÐÌṩµÄ XML ´¦Àí¿ò¼Ü£¬ÒÔ¼°ÔÚ´Ë¿ò¼ÜÖ®ÉϽáºÏ×¢ÊÍ£¨Annotation£© ¼¼Êõ£¬ËùÌṩµÄÇ¿´óµÄÕë¶Ô Web ·þÎñµÄÖ§³Ö
ÒªÏêϸµÄ¿ÉÒԲο´£º
http://www.ibm.com/developerworks/cn/java/j-lo-jse6/ ¶àÁ˲»ÉÙÐÂÌØÐÔ
Ò».Instrumentation
ÀûÓà Java ´úÂ룬¼´ java.lang.instrument ×ö¶¯Ì¬ Instrumentation ÊÇ Java SE 5 µÄÐÂÌØÐÔ£¬Ëü°Ñ Java µÄ instrument ¹¦ÄÜ´Ó±¾µØ´úÂëÖнâ·Å³öÀ´£¬Ê¹Ö®¿ÉÒÔÓà Java ´úÂëµÄ·½Ê½½â¾öÎÊÌâ¡£ÔÚ Java SE 6 ÀïÃ棬instrumentation °ü±»¸³ÓèÁ˸üÇ¿´óµÄ¹¦ÄÜ£ºÆô¶¯ºóµÄ instrument¡¢±¾µØ´úÂ루native code£©instrument£¬ÒÔ¼°¶¯Ì¬¸Ä±ä classpath µÈµÈ¡£ÔÚ Java SE 5 µ±ÖУ¬¿ª·¢ÕßÖ»ÄÜÔÚ premain µ±ÖÐÊ©Õ¹ÏëÏóÁ¦£¬Ëù×÷µÄ Instrumentation Ò²½öÏÞÓë main º¯ÊýÖ´ÐÐÇ°£¬ÕâÑùµÄ·½Ê½´æÔÚÒ»¶¨µÄ¾ÖÏÞÐÔ¡£ÔÚ Java SE 6 µÄ Instrumentation µ±ÖУ¬ÓÐÒ»¸ö¸ú premain¡°²¢¼ÝÆëÇý¡±µÄ¡°agentmain¡±·½·¨£¬¿ÉÒÔÔÚ main º¯Êý¿ªÊ¼ÔËÐÐÖ®ºóÔÙÔËÐС£
¶þ¡¢Http
ÔÚ Java SE 6 µ±ÖУ¬Î§ÈÆ×Å HTTP ЭÒé³öÏÖÁ˺ܶàʵÓõÄÐÂÌØÐÔ£ºNTLM ÈÏÖ¤ÌṩÁËÒ»ÖÖ Window ƽ̨ϽÏΪ°²È«µÄÈÏÖ¤»úÖÆ£»JDK µ±ÖÐÌṩÁËÒ»¸öÇáÁ¿¼¶µÄ HTTP ·þÎñÆ÷£»ÌṩÁ˽ÏΪÍêÉÆµÄ HTTP Cookie ¹ÜÀí¹¦ÄÜ£»¸üΪʵÓÃµÄ NetworkInterface£»DNS ÓòÃûµÄ¹ú¼Ê»¯Ö§³ÖµÈµÈ¡£
HTTP Cookie¹ÜÀí¿ÉÒÔÓ¦Óÿͻ§²Ù×÷ÁÙʱ±äÁ¿µÄ±£´æ£¬Èç²éѯÌõ¼þ£¬µ±Ç°×´Ì¬µÈ
Èý¡¢JMXÓëϵͳ¹ÜÀí
¹ÜÀíϵͳµÄ¹¹¼Ü
ͼ 1. ¹ÜÀíϵͳ¹¹¼Ü
ÉÏͼ·ÖÎöÁ˹ÜÀíϵͳµÄ»ù±¾¹¹¼Üģʽ


Ïà¹ØÎĵµ£º

javaÓïÑÔÔÚ»¥ÁªÍøʱ´ú»ñµÃ¾Þ´ó³É¹¦

1995Ä꣬ÃÀ¹úSun Microsystems¹«Ë¾ÕýʽÏòITÒµ½çÍƳöÁËjavaÓïÑÔ£¬¸ÃÓïÑÔ¾ßÓа²È«¡¢¿çƽ̨¡¢ÃæÏò¶ÔÏó¡¢¼òµ¥¡¢ÊÊÓÃÓÚÍøÂçµÈÏÔÖøÌص㣬µ±Ê±ÒÔwebΪÖ÷ÒªÐÎʽµÄ»¥ÁªÍøÕýÔÚѸÃÍ·¢Õ¹£¬javaÓïÑԵijöÏÖѸËÙÒýÆðËùÓгÌÐòÔ±ºÍÈí¼þ¹«Ë¾µÄ¼«´ó¹Ø×¢£¬³ÌÐòÔ±ÃǷ׷׳¢ÊÔÓÃjavaÓïÑÔ±àдÍøÂçÓ¦ÓóÌÐò£¬²¢ÀûÓÃÍøÂç°Ñ³ÌÐò·¢²¼µ½ÊÀ½ç¸÷µØ½øÐÐÔËÐС ......

javaµÄ¹¤×÷Ô­Àí

1.2.1 javaÐéÄâ»ú(1)
¡¡javaÐéÄâ»úÊÇÈí¼þÄ£ÄâµÄ¼ÆËã»ú£¬¿ÉÒÔÔÚÈκδ¦ÀíÆ÷ÉÏ£¨ÎÞÂÛÊÇÔÚ¼ÆËã»úÖл¹ÊÇÔÚÆäËüµç×ÓÉ豸ÖУ©°²È«²¢ÇÒ¼æÈݵÄÖ´Ðб£´æÔÚ.classÎļþÖеÄ×Ö½ÚÂë¡£javaÐéÄâ»úµÄ"»úÆ÷Âë"±£´æÔÚ.classÎļþÖУ¬ÓÐʱҲ¿ÉÒÔ³Æ֮Ϊ×Ö½ÚÂëÎļþ¡£java³ÌÐòµÄ¿çƽ̨Ö÷ÒªÊÇÖ¸×Ö½ÚÂëÎļþ¿ÉÒÔÔÚÈκξßÓÐjavaÐéÄâ»úµÄ¼ÆËã»ú»òÕßµç×ÓÉ ......

JAVaÃæÊÔÌâ1

Java»ù´¡·½Ãæ: 
1¡¢×÷ÓÃÓòpublic,private,protected,ÒÔ¼°²»Ð´Ê±µÄÇø±ð
´ð£ºÇø±ðÈçÏ£º
×÷ÓÃÓò           µ±Ç°Àà       Í¬Ò»package  ×ÓËïÀà       ÆäËûpackage
public& ......

ת javaÉú³ÉexeÎļþ

ת javaÉú³ÉexeÎļþ
ÎÄÕ·ÖÀà:Java±à³Ì
¶ÔÓÚ×÷Java×ÀÃæÓ¦ÓÃÀ´Ëµ£¬±È½Ï·³È˵ľÍÊÇ°²×°²¿ÊðÎÊÌ⣬¿Í»§¶ËÊÇ·ñ°²×°ÓÐjre¡¢jre°æ±¾ÎÊÌâ¡¢jreÈ¥ÄÄÏÂÔØ¡¢ÈçºÎÓÃjreÆô¶¯ÄãµÄJavaÓ¦Ó㿲»ÒªËµ¸Õ½Ó´¥µçÄÔµÄÈË£¬¾ÍËãÊDZȽÏÊìϤµçÄÔ£¬Èç¹ûûÓнӴ¥¹ýJava,Ãæ¶ÔÒ»¸öJavaÓ¦Óã¬ÈçºÎÔÚWindowsÏÂÆô¶¯Ëü£¬¹À¼Æ¶¼»áÕÛÌÚ°ëÌì¡£Èç¹û²»ÊÇÒòΪÕ⸠......

¼òÒ×JAVA»ñÈ¡ÍøÒ³ÓÐЧÓÊÏäµØÖ·

//  ¼òÒ×JAVA»ñÈ¡ÍøÒ³ÓÐЧÓÊÏäµØÖ· ---by 77
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class solo7 {
 public static void main(String args[]){
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ