Java SE 6 Beta 2 Releases Mustang Eight Points

xiaoxiao2021-04-03  207

The sixth version of the Java platform, Standard Edition (Java SE), C70 Mustang, released the second beta version. Mustang released the first beta version. Open the mystery of Java SE 6. This time, It is the second beta version after 4 months.

What is the new thing in Java SE 6 Beta 2 (Mustang)? What is worth the developer?

Simplify Web Services

MUSTANG will simplify the development and release of Web Services. XML and Web services have always been the focus of MUSTANG .. MUSTANG introduces JAX-WS (Java Architecture for XML-Web Services) 2.0 and JAXB (Java Architecture for XML Binding) 2.0 .. At the same time, there is a streaming API for XML (Stax), which provides a two-way API, which can read or write to XML through an event stream, including skipping some part, then directly paying attention to the document Another small portion of the ability.

Scripting, integrated scripting language

At present, Java developers must use the Non-Java scripting language independently in Java. The problem of this headache will be eliminated by Mustang, and developers will easily use scripting languages ​​such as Perl, PHP, Python, JavaScript and Ruby. The new framework will allow people to operate any scripting language and use Java objects.

JSR223 is implemented in Java SE6. This is a scripting framework that provides methods for accessing the scripting language to access the Java. You can find the script engine when you run, then call this engine to perform script. This script API allows you to provide Java support for scripting languages. In addition, the Web Scripting Framework allows script code to generate web content in any servlet container (such as Tomcat).

Database, bind Derby

Open Source Embedded Database Derby (Javadb) Binds in JDK 1.6. Specific Band: JDK 1.6 will bind open source database Derby

More rich Desktop APIS

More stronger desktop APIs are provided to developers, developers can develop more powerful desktop applications, such as the support of the boot interface, system tray support, JTABLE Sort, etc.

Monitoring and management

Memory leakage enhances analysis and diagnostic capabilities in Java SE 6. When you encounter Java.lang.OutofMemory, you can get a complete stack information, and when you are already full, you will generate a log file to log this fatal error. In addition, JVM also adds an option that allows you to run scripts when you are full. (This is also provided another way to diagnose errors)

Enhanced JMX Monitoring API When the property value of MBean passes a specific parameter, allowing this application to send an event notification. (The attribute value here can be in a very complex type)

For Solaris 10 users, in the HotSpot JVM provided for Solaris, it provides a way to track activities within the JVM inside the JVM, including garbage collection, and loading, threads, locks, etc. .

Pluggable Annotations

From Java SE 5, new features Annotations will continue to play an important role in MUSTANG..

Compiler API: Access compiler

For developers of Java development tools, or web frameworks, using compiler to compile dynamically generated code, it is a universal demand.

MUSTANG implements JSR 199, providing Java Compile API (Application Interface), allowing you to compile other Java source programs from a Java application - such as some source code that is dynamically generated in your application.

Security: security

The Java SE 6 has an XML-Digital Signature (XML-DSIG) API, integrating the JAAS certification on the API, LDAP. Java SE 6 Beta 2 Download: http://java.sun.com/javase/6/download.jsp? Feed = JSC

转载请注明原文地址:https://www.9cbs.com/read-131688.html

New Post(0)