JDK1.1 topic

  Abstract: JDK1.1 topic 

  <table Width="100%" height="92%" border="0" cellpadding="6" cellspacing="0"> <tr> <td height = "623" align = "left" valign = "top" class = "content"> JDK 1.1 already available 
  JDK1.1 has been published.    We have a certain amount of time to explore and test it (although it can not be more than enough ways to fully understand all the new things), there is now released and the exchange of the things we learned when. 
  In Java Beta 1 beta in a week, the Beta 2 version is also released.    Beta 2 includes visual error correction (perhaps Lew Jucker noted that the safety of error) and the Java source code.    When you read these articles, you will find Java Beta version 3 have emerged.    It is unfortunate that Javasoft only provide Windows and SPARC-Solaris users the Beta version.    Other users need to wait for a certain period of time.    Javasoft remind us that application program interface APIs will be released in the last few minutes before the change, and needless to mind not make changes to the current APIs. 

  As you look forward, as in this version made a lot of changes.    Internal category (Inner classes) increase results in many grammatical changes; the addition and amendment of many types, libraries has also undergone a great change (JDK 1.1 class library is about twice the JDK 1.0.2) .    Now a new version of the Java Virtual Machine replaced the old JVM in Windows machines on the re-AWT libraries also, providing faster and more smooth operation of the window.    In JDK 1.1, and many other properties have also greatly enhanced.    Let us look at each of these changes. 

  Internal category (Inner classes) 
  To put it simply, is in another category within the internal definition of a class.    This may be a high-level class or even in an internal code.    As you suppose, on the definition of this category is limited to visit within the scope of the internal category.    This makes a definition only in a restricted range of categories that very easily (and not a statement of private package Package).    In addition to this function, it also can create a special category of running examples.    For example: a special method doStuff () Stuffdoer () example of the new type can be created as follows: 

  New stuffDoer () (public doStuff () ()) /*…*/; 

  The use of such technology, the guidelines provide a method (Method Pointers) possible.    ─ ─ This is the first time the main reason for the introduction of internal categories.    In essence, the programmer is associated with a well-known method of creating a special-purpose objects.    This object to as a "method guide" Substitutes (very clever, but the introduction of a code of confusion opportunities). 

  New category (New classes) 
  Many new class from the new package (Package).    And access the database through JDBC through RWI visit remote site by adding new package features examples.    In addition, the procedure can be JDK 1.1 running through Reflection in the category of checks and methods.    That the most convenient new features from Java Archives ─ ─ a related category will be repackaged into package (or something else), and thus the information could rapidly approach.    Package (Sub-Packages) has been increased to AWT in the case in support of the new model.    Also increased in all platforms on the cutting board (Clipboard) unanimously visit.    Safety package (Security Package) on the security of real strengthening.    Finally, one of the most important package, but unfortunately the programmers finally enjoy, that is, text-processing il8n results. 

  As JDBC, RMI, reflection and some new AWT event model in the summer and autumn of 1996 had been released.    Other packages some of the procedures may be relatively less familiar. 

  Java Archives for the large number of users and programmers, is transparent.    Programmers simply tools to create them, they use parameters params transmitted to the application of small applet.    If you need them, can also be used directly in util.zip definition included in the compression / decompression method. 

  To enhance the safety of users or other type may provide information on the maintenance of information entities (especially the key) database as possible, and to enable identification of the category, allowing the remote site from a trusted loading category, as system treated the same category. 

  This used to support international (il8n) is the adaptation of a wide range of adaptability.    Many basic bottom of the system must be changed (because it is not 100% Unicode support), an increase of many new capabilities.    Most programmers can ignore these changes.    However, I suggest that they look at these changes properly.    ─ ─ il8n is the future trend.    Many deal with the different aspects of the text is made up of different linguistic and cultural habits caused, including the basic character encoding, the alphabet, the sorting.    One change for the different languages have different text output.    Other changes is to provide time and money to show different ways. 

  Performance Improvement (Performance Enhancements) 
  People have already done a lot of efforts to improve the performance of the virtual machine has spent part of rewriting assembly language, no use of it is GC'd, AWT, in the realization of Windows has rewritten Java Archives has been achieved, APPLE on the MAC machine also better memory management (MAC version in between did not get nothing.) 

  Binary compatibility (Binary compatibility) 
  "You can be the explanation for JDK 1.0.2 running on JDK 1.1 version of the document, or vice versa, that APIs itself and there is no change." You can not amend JDK 1.1 running most of the JDK 1.0.2 small applications (applets), and some of the small JDK 1.1 applications can also 1.0.2 running on the interpreter.    1.1 generated by the small applications in the end what will happen results do not know.    JavaSoft that they just do not work, but they are obviously very cautious.    This is probably a safe bet on any 1.0.2 compiler, and in the process still running JDK 1.1 can be compiled and run on JDK 1.0.2.    Of course, if you have your small applications used in many JDK 1.1 and new offerings, can be sure that they are completely in the JDK 1.0.2 can not run.    For example, the new clock demonstration of the use of the procedure only in JDK 1.1 only in the category, of course, will not run on JDK 1.0.2.    However, the realization of the internal virtual machine did not change, they can continue to run.    So when you want to make your application in the small JDK 1.0.2 and JDK 1.1 will run, in these two test environment. 

  Conversion (Converting) 
  Eventually, programmers inevitable switch to JDK1.1, although this would be helpful, but many programmers still must be manually.    The most basic, they must be recommended by a new form of all those old replacement in the form of (in this document marked "disagree") quoted.    Sometimes, replacement is simple (such as char array, instead of byte array).    But some time, the programmer must be completely re-thinking method (such as the new event model).    In addition to research papers, a measure of last resort.    Now the compiler can help: If you do not agree to the code encountered in the way, it will issue a warning.    You can still use these methods, but you do not expect them in the next version still enough available. 

  Error (Bugs) 
  There a lot of mistakes, that's not surprising.    Fortunately, all of these errors have been found and recorded. 

  Fall Internet World 
  In the Fall Internet World, Javasoft issued many statements: JDK1.1 the release of the industrial sector of JDK1.1 response, "100% Pure Java initial", the new APIs and server products.    From Apple, IBW, Netscape, and many other companies have produced a strong reaction.    Apple QuickTime Java busy with the development, integration and JavaBeans Opendoc.    IDE integrated development environment of Borland Developer 1.1 and Symantec will be integrated into their own products will have great competitiveness.    Some companies (such as Corel and HP) stressed that the support of 1.1 pairs il8n for their efforts is very important.    Finally, Netscape, the company has the support of the 1.1 included in the next version of the browser component of 4.0.    Early copies of its already available.    They said that, although there was no immediate complete with Version 1.1, but they will il8n (in8n want to depend on many other parts), the gradual realization of full support. 

  100% Pure Java 
  Last, we reported the Mircosoft caused some commotion, Mircosoft announced that it would support the development may not be all JDK 1.1 VM virtual machine, Java makes the process of access to their proprietary system expansion easier.    People feel sad, because they feel that Mircosoft tried to leave with Java.    Similarly those people Javasoft the "100% Pure Java Action (100% Pure Java Initiative)," is pleased, 100% Pure Java to Java developers who use only the development of a computer program to provide support.    (Slogn like "write once, in any place can be run," then the next decade will replace the "network is the computer" of this phrase).    This action plan to promote the use of pure Java, providing education, testing and marketing services.    Some, including IBM, Apple, Oracle and Netscape, and more than 100 companies support such action.    Corel's Office Suite, the Dimension X Liquid Motion Pro, Netscape Windowing Internet Foundation Class has been considered to be "100% Pure Java." 

  The choice of projects co-operation Fund has been set, details will be in April announced the JavaOne.    Java Developer Connection name of a software application has already begun, the other, Java Select Program for later in the year beginning to emerge, two years after the preparations for the software is being prepared. 

  A new application program interface (New APIs) 
  Two new API has been released: Corporate Affairs Service Program (Transaction Services) to support online transaction processing.    Voice Media API (Speech API) support for speech recognition and synthesis.    The third new API Media Framework to support playback and capture has been released. 

  Server products (Server Products) 
  Can be run on any Java platform, Java Web server, early versions can be free of cost; its support for the introduction of the Javaone Servlets.    Even earlier this year, is expected to appear in the final version, they will be free of charge.    Another product, the server toolkit (Server Toolkit) also released, it can be used for the needs of high-volume sites to establish special server. 

  Successful product (Succesful Projects) 
  People like Java Show cyclical trends ─ ─ great number of projects were completed, we are now heard of CSX, a large shipping companies, cargo tracking with Java, and the United States Postal Service issued a large number of the Java license mail Card, of course, Corel's Office Suite widely used Java application (in fact, a 100% Pure Java). 

  Many people talk about the efficiency of the use of Java developers in the end how much?    An interesting story twists and turns from glen@NoSpam.com.    He claimed that in his projects through the use of Java, he improved the efficiency of so many In total Java is a moving target, he hoped that when he reaches a certain stage of the project, Java has reached a certain level of maturity, His project can do so without hindrance of now, he has made plans in advance only, and so quickly caught up with the Java (really an enviable work!). 

  Another story from jimf@world.std.com he found in the Java exception handling tools, which makes dealing with a major problem very easily, and will not lead to serious consequences. 

  Heavy methods (Overriding methods) 
  Less than a month ago, no one has proposed changes to grammar, this month Heavy (overriding) has become a keyword, was added to the method statement and mean a heavy load method in a base class in the definition of the method, which will allows you to ensure that you only need to override the method, if you use the keyword method does not exist or wrong will have the use of the warning. 

  Of course, these changes are useful, not on the Java syntax infinite change. 

  From China Computer World Journal </ td> </ tr> </ table> </ td> </ tr> </ table> 
  ↑ Back 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • DZone
  • Netvouz
  • Propeller

Recommend Articles

Comments

Leave a Reply