10 things you should know about Java 6

Source: Internet
Author: User
Tags web services java web access java se

  the article "What ' New in Java SE 6 Beta 2" describes the 10 things you should know about Java 6, which are summarized below

1, Web Services. Priority is given to writing XML Web service client programs. You can use a simple annotaion to publish your API as a. NET interactive Web services. Mustang added new parsing and XML in the Java object-mapping APIs that were previously provided only in Java EE platform implementations or in the Java Web Services pack.

2, Scripting. Now you can mix JavaScript in Java source code, which is useful for developing prototypes, and you can insert your own scripting engine.

3, Database. Mustang will bind Java DB (Apache Derby) together. JDBC 4.0 adds a number of features such as supporting XML as SQL data types, better integration of binary Large OBjects (BLOBs) and Character Large OBjects (clobs).

4, more Desktop APIs. GUI developers can have more skills to use SwingWorker utility to help with multithreading in GUI applications. , JTable sorting and filtering, and adding splash splash screen.

5, monitoring and Management. Mustang adds more diagnostic information and binds the MEMORY-HEAP analysis tool Jhat, which is not well known, to view kernel exports.

6, Compiler Access. The compiler API provides programmatic access to Javac, which enables process compilation and generates Java code dynamically.

7, pluggable Annotation. Java tool and framework providers can define their own annotations, and the kernel supports custom annotation plug-ins and execution processors

8, Desktop deployment. Swing has better look-and-feel, LCD text rendering and overall GUI performance improvement. Java applications can be better integrated with the local platform, such as accessing the platform's system tray and Start menu. Mustang the Java plug-in technology with the Java Web start engine.

9, security. xml-Digital Signature (XML-DSIG) APIs are used to create and manipulate digital signatures); New approach to accessing security services on the local platform, such as the public Key infrastructure of local Microsoft Windows for secure authentication and communicationnative (PKI ) and cryptographic Services, Java Generic Security Services (Java GSS) and Kerberos services for authentication, as well as access to LDAP SE RVers to authenticate users.

10, The-ilities: Quality, compatibility, stability. 80,000 test cases and millions of lines of testing code (just one aspect of the test activity). Mustang's snapshot release has been downloaded for 15 months, and the bugs in each step have been repaired, performing better than J2SE 5.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.