Compared with jdk5, jdk6 has the following new features:
1. Instrumentation
In Java SE 6, the instrumentation package provides more powerful functions: the started instruments, localCodeAnd dynamically change classpath.
2. Http enhanced
3. Java Management extension (JMX) architecture and framework, and the newly introduced jmx api in Java SE 5-java. Lang. Management Package
4. added the compiler API (JSR 199) in JDK 6 ). With this API, you can call the Java compiler at runtime and compile different formsSource codeFile, you can also collect compiler diagnostic information.
5. java db and JDBC 4.0.
6. Script Language Support
Java SE 6 introduced new support for JSR 223, which aims to define a unified specification, so that Java applicationsProgramYou can use a set of fixed interfaces to interact with various script engines, so as to call various scripting languages on the Java platform.
7. xml APIs and Web Services
The XML Processing framework provided in Java SE 6, combined with the annotation technology, provides powerful web service-oriented support.
For details, see:
Http://www.ibm.com/developerworks/cn/java/j-lo-jse6/