JDK 1.1 topic

zhaozj2021-02-08  449

JDK 1.1 is already facing

JDK1.1 has been in the face. We have a fixed time to test it and test it (although it can't pass enough square to finish the new East West), this is currently the time of public and exchange of us.

In a star period of Java Beta 1 test version, Beta 2 has been released. The Beta 2 edition includes a visual error correction (also a security error pointer) and the Java library source code. When you read these articles, you will start the current Java Beta 3. Unfortunately, JavaSoft is only available to Beta version of Windows and Sparc-Solaris users. Its user needs to wait a certain time. JavaSoft advises us, and the application interface API will change a few minutes a few minutes before the last release, so it doesn't have to change the APIs that have not been changed before.

As you have, I have made a lot of modifications in this version. The increase in Inner Classes has led to many changes in many grammar; because many classes have been added, the class library has also changed (JDK 1.1 library is twice the JDK 1.0.2) . Now in a new version of Java virtual machine JVM takes the old, the AWT library on the Windows machine also recommends the new real-world-saving window operation. In JDK 1.1, its many sex can be greatly increased. Let us look at these changes one by one.

Inner classes, the internal class is a class in the internal definition of another class. This may be in a high-level class or even in an internal part of a code. If you think, the defined class is limited to the range of this internal class. This makes it possible to define a class that is only available in one restricted range to become non-normal (not the sound of the private program package package). In addition to this function, it can also create special examples of running time. For example, a new instance of the stuffdoer () class with special real-time Dostuff () can be created as cated:

NEW stuffdoer () {public dostuff () {/*...*/}};

Use this technique to make it possible to provide a method of Method Pointers to be available. ─ ─ This is the main reason for the first introduction of the internal class. In this paper, the program is created a special object with a relationship between a publicly known. This pair is as a "square native pointer" generation (very smart, but is a machine that introduces mixed chaos).

New class (New classs) Many new classes come from the new program package (package). Acquisition of the DBC and through the RWI Access to the RWI to add the example of the features added by the new program package. In addition, the program of JDK 1.1 can pass the reflection class check class and method during operation. Recognizes the most convenient new features from Java Archives - a method of packeting the envelopment package (or other east west), which can be quickly obtained. Sub-packages are also added to AWT to support new event models. Also adding an interview with CLIPBOARDs on all platforms. Security package has a strong increase in security. The last, a maximum program package, but unfortunate is that the program is the last, that is, the handling IL8N results text package. JDBC, RMI, REFLECTION and some new AWT event models have been published in the summer and autumn in the summer and autumn in 1996. Its program bag can be more familiar with it.

Java Archives is a large amount of user and program. The program only needs to create them with tools, and transfer them to the small application program applet with parameter params. If you need them, you can directly use the compression / decompression method of defining in the Util.zip package.

Security enhancement enables the user to maintain information (especially key) on entities that may provide class or other information, and make the class to identify the class, allowing the class to be loaded from the trusted remote site, as if the system is Treat the class.

This adaptation modification that supports internationalization (IL8N) is wide. The basic system of many bottom layers must be changed (because it is not 100% of UNICODE), adding a lot of new energy. Multiple sequence members can neglect some changes. But I suggested that they will see these changes. ─ ─ IL8N is a trend. Many texts are disclosed by the different language and cultural habits, including the most basic character codes, word master table, sequencing. One of the changes is to produce different textual outputs for different language. Its variation is a way to expire the time and currency different.

Performance Enhancements have made a lot of efforts to improve performance, part of the virtual machine has rewritten in assembly language, and useless classes are now gc'd, and the implementation on Windows has been rewritten. Java Archives has also been achieved, and the memory management on the Apple's MAC machine is also more perfect (there is nothing between the Mac version is not available). Binary compatibility (Binary Compatibility "You can run the JDK 1.1 version of the class files on the JDK 1.0.2 interpreter, and vice versa, indicating that there is no change in the APIS itself." You can do a modification in JDK 1.1 Most JDK 1.0.2's Applets, and some small applications generated by some JDK 1.1 can also run on the 1.0.2 interpreter. If you use 1.1, you will not know how it will come out. Javasoft said they just don't work, but they are proud. This can be a full gambling to compile and run the program in 1.0.2. The program is still the same as JDK 1.0.2. Of course, if you use many JDK 1.1 new specials in your small application, you can confirm that they cannot run all over JDK 1.0.2. For example, the new clock showing the program that is only available in JDK 1.0, which is not running on JDK 1.0.2. But it is the implementation of the internal class, which is not changed to the virtual machine, and can continue to run. Because of this when you want to make your small application program in JDK 1.0.2 and JDK 1.1, please test in these two environmental.

Converting The last, the program will essentials to JDK1.1, although this is helpful, but the program is still needed to have a multi-hand operation. The most basic, they must use the recommended new forms to replace all the old forms (in this document, the specification "disproportionate") is introduced. There are time, replacement is very simple (as a char array, not using a BYTE array). However, there are some time, and the program will have to complete the new context of real-world (for example, new event model). In addition to the investigation of the study, there is no way. Now you can provide help: If you encounter an undisputed method in your code, it will issue a warning. You can still use these justice, but you don't point to them are still available in the next version.

The wrong mistake (BUGS) is now more wrong, this is not surprising. Fortunately, these misunderstandings have been issued and recorded.

Fall Internet World JavaSoft on Fall Internet World, Many Solites: JDK1.1's hair cloth, the industrial industry's response to JDK1.1, "100% pure Java initial", new APIs and server products. From Apple, IBW, Netscape, etc. have produced strong response. Apple is busy issuing QuickTime Java libraries, integrating OpenDoc and JavaBeans. The opening of the open-haired Ide is borland and Symantec will have a lot of competition after 1.1 joining them. Some companies (such as Corel and HP) strong adjustment 1.1 support for IL8N's support for their efforts. The Netscape Division has included the support package of 1.1 in its next browser component version 4.0. Its early quarry has been obtained. They said that although there is no need to completely joined the full 1.1 version, they will start from IL8N (IN8N depending on Mu Muo it wants). 100% pure Java last time, I reported that mircosoft attracted a fixed move. Mircosoft announced that the issuance can be opened may not support all JDK 1.1 virtual machine VMs, so that the interview with the proprietary system expansion is easy to visit in Java. The people feel sad, because of the mircosoft trial with Java. The same is that the people who are "100% pure Java" (100% Pure Java Initiative) "" "100% pure Java Initiative", 100% pure Java provides support for those developers that only use Java development calculations. (Good icon "Write once," in any place can be transported ", the next decade will take the" network is the meter ". This action is planned to promote the use of pure Java, provide education, test and market service. The big approximately more than 100 public officials such as IBM, Apple, Oracle and Netscape are supported. Corel's Office Suite, Dimension X's Liquid Motion Pro, Netscape Windowing Internet Foundation Class is considered "100% pure Java."

The combined funds for the selection items have been determined, and the details will be placed on the Javaone in April. A soft piece called Java Developer Connection has been started. In addition, the Java Select Program Any is starting now in this year, and the software prepared for two years is also prepared.

New Application Interface (New Apis) Two new APIs have been released: Transaction Services is used to support online mathematical processes. Media speech API (Speech API) is used to support speech recognition and synthesis. The third new API Media Framework is used to support the back and capture. Server Products can run the Java web server on any Java platform, and the early version of the version can be free of charge; it is supported in JavaOne to introduce servlets. That is, it is the most final version of the current pre-period this year, it will also be free of charge. Another product, Server Toolkit is also sent, which can be used to build special service for high-capacity sites.

Success products (SUCCESFUL PROJECTS) people like periodic viewing Java's trends - how much a great engineering project is completed, we have always heard that there is CSX, a large freight company, use Java tracking goods, as well as US Postal Service By publish a large number of mail licenses through Java, of course, Corel's Office Suite is widely promoted by Java applications (actually 100% pure Java).

How much is the efficiency of using Java issued by many people talking about the efficiency of Java? An interesting story is coming from Glen@nospam.com. He claims to use Java in his project, his efficiency is so effective, and Java is an activity. He hopes that when his project reaches a certain stage, Java has reached a certain maturity, His project can do without obstruction, now he has already planned a plan in advance, just waiting for Java to catch up quickly (it is an enviable work!).

Another thing comes from Jimf@world.std.com him. He has developed the current constant processing tool in Java, so that the significant problems are non-conventionally easy, and will not lead to severe background.

Overriding method is less than a month ago, no one has suggested challenge, Overriding has become a keyword, which has been added to the method declaration and means that a method is overloaded in the base. The method defined in the class will allow you to ensure that you only overload the method you need, if you use the keyword, the method does not exist or the error will be warned.

When these changes are beneficial, Java can't change the language.

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

New Post(0)