Java 9 was released in September 2017. Java 8 was released in March 2014, so it's been a major update for about three and a half years. I feel like I was late, but I decided to summarize Java 9 as a study memo. I haven't covered all the changes, so I'm picking up only the parts that I think are important.
From Java9, it is no longer provided for 32-bit OS. Be careful with servers running on 32-bit OS with Windows Server 2012 or earlier. There are still many development sites (especially large-scale business applications) that are developing with Windows 7 32bit, but in reality, are you all migrating to 64bit?
It's easy to understand for those who have used Python, but Java has come to do various things from the command line. REPF is an abbreviation for Read-eval-print-loop. Type jshell on the command line and run it with System.out.println ("Hello World"); to see the results. If it is a simple sample program, you can save the trouble of creating a class and checking the operation.
I don't think there are many opportunities to use pictograms in business applications, but with Unicode-8.0 support this time, it has become possible to use a wide range of new characters. The range of smartphones such as Android apps may expand!
Until now, there were two types: the Java standard Random function (java.util.Random) and the Secure Random function (java.security.Random), which provides a cryptographically enhanced random number generator (RNG). In addition to this, the DRBG added this time is a random number generator defined in NIST-800-90Arl. NIST is also used by US government agencies in what is called the National Institute of Standards and Standards.
This is compatible with the hash algorithm SHA-3 as an enhancement of security support. SHA-3 is also defined by NIST like DRBG above.
Java applets are rarely seen these days, but they have finally been officially deprecated in Java 9.
I think it can be said that it is all about Java 9. The history of Jigsaw, a modular system, began in 2009. Over a long period of time, great and awesome people were finally released on Java 9 with blood, sweat and tears. (I don't know if I shed blood, sweat and tears.)
Modules are English words that mean functional units and interchangeable components. It is a part that has a group of functions that form a part of the system, and the specifications of the joint (interface) to the system and other parts are standardized and standardized so that it can be easily added or replaced. Means that.
Reference: IT Glossary
You can think of it as a unit that summarizes the system in functional units. In Java, functions are grouped in groups called packages. Then, a mechanism is used to create a JAR file by collecting packages and provide it as a library.
Visibility cannot be set for each function
Since visibility cannot be set for each function (Jar unit), it is possible that something that should be used only in the A system is unexpectedly used in the B system and an unexpected exception occurs.
Dependencies between libraries cannot be set If you need a1.jar, a2.jar and multiple jar files to use a certain a.jar, the developer needs to investigate and find out which jar file is missing each time. There is. To solve this problem, jigsaw now defines and sets module dependencies, saving developers the trouble of finding out which library they need.
Jigsaw was created over a long period of time to solve the problem described above. By expanding the range that can be hidden in private, the range that can be published is expanded, and by solving the library dependency problem that is troubled every time in environment construction, the initial development can be accelerated, which is convenient (should).
Since it has just been released, there may be few places to adopt Java 9 in business, but I think that it is a good time for new products to be developed and those who are studying Java from now on, so please use Java 9 by all means. please look! And I'd be happy if you could tell me various things m (_ _) m ← Other power application
I haven't studied enough yet and the content is thin, but thank you for reading to the end. I think there are some mistakes, so I would appreciate it if you could point out.
Recommended Posts