JDK.1.4 New Features and Enhanced Content Overview Cherami Translation
The new features of the Java 2 SDK 1.4 Standard Edition are listed below. A complete list of features that contain features that previous SDK versions can be obtained from the property guide. Java 2 platform XML process new I / O API security Java 2DTM technology graphics I / O structure Java print service AWT swing drag and drop fault record API JavaTM Web Start Product Long-term continuous JavaBeansTM component JDBCTM 3.0 API assert tool parameter selection API Java virtual machine performance Including IPv6 Network Support RMI Serialized Java Names and Directory Interface TM (JNDI) CORBA, Java IDL, and RMI-IIOP JavaTM Debugger Structure Product International Javatm Plug-In Product Collection Structure Ease of Use Rule Expression MATH Reflection Java This machine interface tool tool and utility ------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------- Java 2 platform XML handling the Javatm API for XML processing Added to the Java 2 platform. It provides support for the basic processing of XML through a set of standard Java platform APIs. New I / O APIS new I / O (NIO) APIs provide new features and improved performance in buffering processing, character set support, rule expressions, file I / O, and upgraded network I / O fields. Safety now JavaTM Cryptographic System Extension (JAVATM Security Socket Extension (JSSE), and Javat Identification and Certification Service (JAAS) security features have been integrated into Javatm 2 SDK, standard version (J2SDK), 1.4, and Not as an optional package. There are two new security features here: JavaTM GSS-API can be used to use the Communication application for the Kerberos V5 mechanism for secure exchange information. JavaTM Certification Path API in the java.security.cert package contains new classes and methods that allow you to create and verify the certificate path (that is, the "Certificate Chain"). Due to import control restrictions, J2SDK, 1.4 The introduced JCE permission policy file allows the use of "strong" but limited cryptographic systems. These files can be obtained in the "unrestricted" version of the encryption intensity. Due to import control restrictions, this released JSSE implementation provides a powerful password kit, but the default SSLSocketFactory and SSLServersocketFactory are not allowed to be replaced. To learn more, please see the JSSE Reference Guide. As JaaS is integrated into J2SDK, Java.Security.Policy API handles the principal-based challenge, and the default policy implementation supports the certification record based on the entrustment. Therefore, access control now is not only based on what code is running, but also based on who is running it. Support for dynamic policies has also been added. J2SDK 1.4, the class is static and licensed by querying security policies during loading. This binding survival period is controlled by the survival of the class loader. In version 1.4, this binding is different until the security check is executed. Binding life is controlled by the survival of security policies. Java 2DTM Technology Java 2D contains many new features: performance improvement, hardware acceleration support for buffer graphics, plug-in graphics I / O structure, new print service API, and several new fonts. Graphics I / O Structure The Java Graphics I / O structure provides a pluggable structure that works in the file and through the network access. It sufficiently provides greater adaptability and powerful support than current APIs in graphics.
Java Print Services API Javatm Printing Services is a new Java printing API that allows clients and server-side applications: discovery and selection of print services based on their capabilities. Specify data printing format. Submit print jobs for support document types. AWT AWT Changes in the package are concentrated on improving the robustness, behavior and performance of the GUI program. The new focus structure replaces the original implementation and solves many errors due to the incompatibility between the platform and the incompatibility between the AWT and SWING components. The new full-screen exclusive mode API provides high-performance graphics through the suspend window system, which is beneficial to applications like games or other drawing intensive programs. By new graphics environment, it is pointed out that ignorance support is supported in a graphical environment, and the keyboard is supported (Headless Support). For programs that need to be fully controlled to the application's appearance, the processed frame modification is now available. Activate this feature prevents the framework bar, system menu, border, or other graphics component dependent on the local operating system. The built-in support of the pulley mouse with a roller wheel in the middle can also be used. Similarly, the new mouse pulley listener class allows the user to customize the behavior of the mouse pulley. The AWT package has been modified to all 64-bit adaptation and can run on the Solaris machine with 64-bit and 32-bit addresses. Swing a lot of new features have been added to swing. The new Spinner component is a single-line input domain that allows users to select a number or value by using a pair of small up / down arrow buttons. The new formatted text domain component allows formatted dates, numbers, and strings, just like only the text domain of the decade price. Windows Look and Feel implements support for 2000/98 versions. Seamless Drag and drop between the new drag-and-drop structure provides a seamless drag and drop support at the same time to deliver your own Swing Components - Write a detail describing your own data model is all what you need. Swing's progress bar components have been enhanced to support fuzzy states; fuzzy progress bars showing a continuous animation to display a time-consuming operation instead of display completion degree. Due to huge customer requirements, tab components have been enhanced to support scrollable tabs. Due to this feature, if all options cannot be displayed in a row, the tab component will display a scrollable option strip instead of putting the options multiple lines. The Popup and Popup Factory classes that have been packaged in prior to private methods are now public, so the programmer can customize or create their own pop-up components. The new focus structure is completely integrated into swing. Drag and drop Swing has added data transfer support between applications. A drag and drop operation is a data transfer request that has been specified by the graphical pointing device. In the case of copy / paste, data transmission often starts with a keyboard. There are two forms of data transfer: drag and drop (DND) support and transmissions through clipping / copy / paste. See Swing Data Transport. Fault Record API Java Fault Record API promotes the service and maintenance of software in customer parties by providing fault records for end users, system administrators, domain service engineers and software development group analysis. Fault Record API captures errors such as security failure, configuration errors, performance bottlenecks, and / or applications or platforms. JavaTM Web Start Product Java Web Start Product is a new application development technology binding J2SE 1.4.0. With Java Web Start, you start the application to see the link to the web page. If the application is not on your computer, the Java Web Start automatically downloads all files you need. It then caches those files on your computer, so those applications can start from your computer when you want it to start - either from an icon on your desk or a link on your browser . No matter what method you use, start the application, the latest version of the application is always present. A new continuous model of JavaBeans component is designed to process the graphic JavaBean and the transfer process of the fixed outer shape.
The new API is suitable for graphic JavaBean creates files like their feature described in text. JDBC 3.0 API JDBC 3.0 API is composed of a java.sql package and a javax.sql package that provides generic data access for Java languages. With JDBC 3.0 API, you can actually access any data sources, from the relational database to the electronic data table, and normal files. JDBC technology also provides a general basis for the tools and optional interfaces that can be established. The new feature includes the ability to set the save point in the transaction, maintaining a result set of submitted transactions, reuse the previous declaration, get metadata in the declared parameter, get the automatically generated keyword, and open multiple result sets at a time. There are two new JDBC data types, Boolean and Datalink, which can be operated outside the data source using the Datalink data type. This release also established a relationship between JDBC service provider interfaces and connector structures. As a result, the assertion tool has been added to the Java 2 platform. As a programmer, the status of the computer program is the true boolean expression. For example, after sorting a list, the programmer can assert the column ascending order. The rule of assessment is one of the most powerful tools to determine the correctness of the code because it is quickly disclosed by the programmer 's behavior of the program. Parameter Selection API This new feature is a simple API for manipulating user parameters and configuration data. The application requires parameters and configuration data to accommodate different users, environment and needs. Applications require a way to store, get, and modify these data. This demand is satisfied by the parameter selection API. Parameter Selection API is intended to replace the commonly used java.util.properties class, correcting it, while maintaining it. The Java virtual machine published by Java Virtual Machines contains several enhancements. Support for 64-bit SolaristM-SparctM platforms. Error handling mechanism. Concurrent garbage seter. Record a new tool for the garbage collection event. The Classic virtual machine is no longer part of Java 2 SDK. Performance This release contains a lot of performance enhancements in many aspects of the platform. See performance enhancement to obtain a detailed description. Network supports new features including IPv6 include TCP and UDP applications, unconnected / non-binding socket support, more flexible socket creation, binding, and connection. A mechanism called Java safety socket extension provides encrypted data transmission through a socket; the new class URI allows URI constructors and parsing without the protocol handler. The FTP protocol handler is modified to comply with the current standard. The default character set is now UTF8 and the API that can be used with other character sets has been added. A new class, network interface, enumeration of the interface, and address, JNDI DNS SP support in inetaddress enables the application to be a pure Java naming service provider. The TCP extracted data is supported for previous applications; a UDP connection method registers the address of the destination address to the operating system, allowing an asynchronous error in the UDP socket; SOCKS V5 and V4 TCP all support include and the agent on the version. Consult. In addition, there is also improved in the flow availability, response header processing and error processing. Some static methods in RMI Java.rmi.Server.rmiclassLoader are now representing the new service provider interface, java.rmi.server.rmiclassloaderspi. For a given application, this service provider object can be Set to increase the RMI dynamic class loading behavior. By default, the service provider realizes the standard behavior of all static methods of RMiclassLoader. See Class Document RMiclassLoader and RMiclassLoadersPi get more information. Serialization This release has several changes and enhancements on the serialization API, including supporting known non-train objects that are not serial data streams. Support type method readObjectNodata. Important error correction.
Java Naming and Directory Interface TM (JNDI) Internet Domain Name Service System (DNS) Server is now part of V1.4. This component allows applications to read data stored on DNS. JNDI Lightweight Directory Access Protocol Services has increased security, which makes applications to establish security conferences based on existing LDAP connections and can use different authentication protocols. JNDI CORBA Object Services (COS) Name Server Supports Interoperable Naming Service (INS) specification (99-12-03). See JNDI Enhancement Get more information. CORBA, Java IDL, and RMI-IIOP Java 2 now contains a portable object adapter (POA) object request agent (ORB). ORB enables communication between the CORBA objects through the object requestor (client) and object requesting the server to arrive at each other. The POA ORB allows programmers to create objects to implement portability between different ORB products and provide support for fixed identity objects. Learn more about the changes in Idl between J2SE V.1.3 and J2SE V.1.4, please connect to the Java (TM) IDL: J2SE 1.3 and 1.4 variations. JavaTM debugger structure Product heat exchange this feature has been added to allow The class can be updated under the control of the debugger. Example Filters EventRequests can now specify an instance filter that can limit the generation of events that can only be generated by those specified objects. VMDeathRequests now a request to control the termination notification of the target virtual machine, allowing synchronous clearance to close. Internationalization of Unicode 3.0 supports Character processing in J2SE 1.4 is based on Unicode 3.0 standard. This affects the Character class and String classes in the java.lang package, while affecting the text finishing and two-way text analysis capabilities in the java.text package. Thai and Hindi support Thai and Hindi support in all functions. See the local support documentation to get the full information of the local support and output system. JavaTM Plug-in Product Java Plug-in 1.4 provides the following new features: Multi-version support, so multi-version JRE can develop in the same environment and Java Plug-in can choose the version it needs; through Java security socket Extension (JSSE) instead of browser HTTPS support; enhances Applet hidden, so other files such as GIF, JPEG, XML can be hidden with class files to be hidden into jar; Applets continue, so Applets can still talk through browser. 1.4 version also provides access to DOM; assertion and fault record support by standard, W3C definitions; including availability of Applet loading progress bar; improved JAR compression to speed download speed. Collective structures J2SDK1.4 have several enhancements, including a marking interface of an advertisement, based on identity (rather than equivalent) MAP, INSERTION-ORDER-PRESERVING MAP, and SET implementation, and used in the list A new algorithm for manipulating and returning values. See the collection structure enhancement to obtain details. Easy to use new features support: Memorant Navigation on JTabbedpane's Navigation By editing the ease of use of HTML components through help technology, the ease of use of the HTML component, the list of the list of the first letters of the list of the first letters of the list navigation rule expressions java.util. Regex contains classes that match the character sequences of the rule expressions that rely on the specified mode. Math A new high-efficiency method for generating the number of entries has been added to the class java.math.biginteger, which does not require the caller to specify what.