Java 11 Features | What's new in Java 11? | Is Java 11 paid? | Java Online Training | Edureka

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] Java is one the most dominating programming language in the IT domain since its debut Java has been changing the face of the world of computers to make it more accessible Oracle has provided an easy-to-use Gy from there you can easily download Java and use it without worrying or even any licensing but what if one day Oracle comes knocking to your doorstep asking for thousands of dollars for using Java scary right sorry to break it to you guys but with the release of Java 11 this scenario has actually turned into a very scary reality so do not worry guys to avoid any such kind of situation and clarify all your doubts I aria on behalf of at Eureka bring you the session on Java 11 where we will find out what's new in Java 11 and why it has swooped the Java developers off their feet so without any further ado let's get started first and foremost I will tackle the question of the are that is Java 11 pin once you are clear about it I will talk about the various features introduced in the new release of Java 11 followed by the list of features that has been disposed off furthermore I will also discuss a list of features which have been deprecated preceding Java 11 and finally I will conclude the session by drawing a clear line between the open JDK and the Oracle JDK so as Java 11 really paid well the answer will be a yes and a new let's start with the yes well Java is paid if you're using it for commercial use when you go to Oracle site to download Java 11 as always it asks you to accept the License Agreement what we generally do is blindly accept the agreement and download and start using Java but if you look carefully here they have mentioned in a highlighted box that are the important changes in Oracle JDK 11 license now if you click on this link it will take you to the license and agreement page of Oracle where if you scroll down to the license rights and restriction section you will see that they have mentioned it quite clearly that you may not use the program for any data processing or any commercial production or in business purposes other than developing testing prototyping and demonstrating your application well this point pretty much concludes the entire License Agreement but if you want to know more about the do's and don'ts of this license change you can go ahead and read it from the official oracle site and oracle being known for its aggressive nature regarding lawsuits and copyright issues it's better to keep your cards clear but as a matter of fact the commercial license was always there earlier it used to be Yoli or one-time payment but now Oracle has changed it to a monthly subscription which should be helpful for much smaller organizations moving on let me now tell you how Java is free well the answer is simple if you are using Java for postal or any non-commercial use you don't have to pay anything I hope now it's clear how Java 11 is paid and how you can also use it for free okay now let's move further to see what all the new features that have been included in Java 11 to start with the first thing I would like to mention that we will get a new Java version released in every six month well this has been followed since Java eight resulting in three Java versions released within a year and a half so now let me start off with the features that have been added in this version first of all we get lazy allocation of compiler threads a new command line flag has been added to dynamically control compiler threads which start only one compiler thread of each type during startup and to handle the start and shut down offer the threads dynamically next is updated local data the unicode cldr version three three now the local data based on the unicode consortium cldr which stands for common local data registry has been updated for jdk 11 the next update is the HTTP client the HTTP client has been standardized in Java 11 by removing the previously incubating API located in the JDK dot incubator the HTTP package now any HTTP type imports are to be done from the standard package name that is java.net Dutch HTTP next is the addition of rain pool ec support the Sun EC provider has been enhanced to support for additional brain pool curves and the parameters can be now created by use ECCN parameter spec objects next upgrade is the epsilon garbage collector this is the new experimental no operation garbage collector it will handle memory allocation without implementing any actual memory reclamation mechanisms epsilon use cases include testing for performance memory pressure and the virtual machine interface it could also be used for short-lived jobs next up on a list is nest based access control now nest based access control introduces nests in which an access control context that aligns with the notion of nested types in Java language nests allow classes that are logically part of the same code entity but are compiled to distinct class files to access each other's private members without needing compilers to insert accessibility broadening bridge methods the next addition to Java 11 is the key agreement with the curve 255 1/9 and the curve 4 for 8 this agreement in cryptography is more efficient and secure than existing elliptic curve diffie-hellman scheme the two elliptic curves that is curved to 5 5 1 0 and curve 4 4 8 lend themselves to a constant time implementation and an exception free scalar multiplication that is more resistant to a range of side channel attacks then we have a transport layer security which is the TLS 1.3 it is an overhaul of the TLS protocol that offers a significant security and performance benefits there is no goal however to support every feature of TLS 1.3 to minimize risks of incompatibility TLS 1.3 will implement backward compatibility mode by default applications can turn this mode on and off as decide the next addition we have is a collection dot to array method it is a new default method that has been added to the collection interface this method allows the collections element to be transferred to a newly created array of a desired runtime type next is a local variable syntax for lambda parameters according to this a local variable syntax for lambda parameters should align the syntax of a formal parameter declaration and an implicitly typed expression with the syntax of a local variable declaration this could allow variables to be used when declaring formal / meters of implicitly typed lambda expressions the next addition to Java 11 is the flight recorder now it provides a low overhead data collection framework for troubleshooting both Java applications and hotspot JVM now flight recorder has been a feature of Arrakis commercial jdk but what have its source code moved to an open repository to make the features generally available from now on now the next edition is the upgradation of platform api is for Unicode support in Java 11 the platform's API is are now upgraded to support Unicode version 10 point oh the port is expected in character and string classes in the language package then the numeric shape a class in the aw t dot font package and the bidi break iterator and normalize the classes in the text package next is the Z garbage collector which is an experimental addition to Java 11 it is a low latency garbage collector that can handle heaps ranging from relatively small to very large heaps that are many terabytes in size the list of new features doesn't end here but the points which have been mentioned till now concludes the list of manager additions so now let's move on forward to check what our features have been removed from Java 11 the first on our list is the AWT utilities class yes the AWT utilities class has been completely removed from Java 11 as it was already deprecated since Java 8 next is the applet viewer launcher the applet viewer tool was deprecated in chili canine and thus removed in this motion next is the defined class now the Sun misc dot unsafe dot defined class has been removed and a public replacement of this class has been already introduced in Java 9 next is the thread destroy and the thread dot stop methods these threads have been finally removed from Java as they have been deprecated for several Java SE releases next is Java FX the Java FX modules have been removed from the Oracle JDK in Java 11 and these modules were included in earlier releases of the Oracle JDK but not in the open JDK releases next is the Java EE and the core bar motives these modules are finally removed from the Java SE platform the JDK as they were deprecated in Java se9 and with the declared intent to remove them in the future releases next is the Java deployment technologies the Java plugin and the Java Web Start technologies that were deprecated in gdk9 and marked as candidates for removal in JDK 10 have now been removed along with the Java control panel which was used for configuring the deployment technologies next is the removal of GMC from the Oracle JDK now the Java Mission Control is no longer included in the JDK bundles but is available as a separate download next is SNMP agent well the JDK dot SNMP module has been completely removed from Java 11 onwards next is format as default property now the system property of sang dot local dot format as default that was introduced in JDK 7 for backwards compatibility now has been removed finally we have JVM management MIB the specification for JVM monitoring and management through SNMP and JVM management MIB dot MIB has been removed now the customers can use GMX to monitor and manage a running JVM and to access a standard set of metrics and operations this concludes our list of features that has been removed from Java 11 now let's move ahead and see what all features have been deprecated from this version and are expected to be completely wiped out of the future Java releases let's start with the thread pool executors now in previous versions of the thread pool executors it had a finalized method that was used to shut down the thread pool but in this version the finalize method does nothing this has no visible effects unless a subclass explicitly invokes the finalize method and relies on the executor being shut down next is the Nass horn JavaScript engine the Nassau and JavaScript engine API is and the ggs tool has been deprecated in this version with the intent to remove them in a future release next is the aggressive ops the vm option of aggressive ops has been deprecated in jdk 11 and will be removed in the future releases the option was originally supposed to enable experimental optimizations of the c2 compiler to improve performance of the specific benchmarks next is the support for commercial features the unlock commercial features and lock commercial features command-line arguments have been obsoleted and will generate a warning message if used from this release onwards next is the stream based GS SC context methods the stream based messes in GS SC context have been deprecated in this release since GSS api's work on opaque tokens and do not have a defined wire protocol finally last but not least is a deprecation of pack 200 tools and api the pack 200 API and tools associated with it like pack 200 and unpack 200 have been deprecated and will be removed in the future release though they are still included in JDK 11 but will no longer be updated to support the latest class file format class files with unknown attributes will be passed through without compression I hope now you have a pretty good idea of how Java 11 is going to change this programming goal now let me now talk about the fundamental differences between open JDK and Oracle JDK based on Java 11 well I hope you already know about the open JDK and Oracle JDK if you don't know don't worry open JDK is an open source implementation of Java standard edition platform with the contribution from Oracle and open Java community whereas Oracle JDK is JDK under the license by Oracle binary code License Agreement although the goal to have open JDK and Oracle JDK binaries to be as close to each other as possible there remains but still there are a few hairline differences so let's dig in deeper into this and see what all features these two provides and how they differ now the open JDK offers Alpine Linux whereas Oracle offer Solaris JDK open JDK is offered only as a compressed archive like dot tar.gz or a dot zip whereas the Oracle JDK offers installers such as msi RPM DP etc which not only place the JDK binaries in our system but also contain the updated rules in some cases and handles some common configurations like set common environmental variables and establish file associations now open JDK offers only JDK whereas Oracle JDK offers JDK and JRE both usage logging is only available Oracle JDK while it's not available on the open JDK open JDK also supports the unlock commercial features flag and will throw an exception whereas Oracle JDK no longer requires the flag and will print a warning but continued execution if used now open JDK allows the use of unsigned third-party crypto providers whereas Oracle JDK requires that third-party cryptography providers be signed with an Oracle provided certificate open JDK does not include any additional Java standard edition specifications such as serialization jar or my whereas Oracle JDK does allow that now this brings us to the end of this video for Java Elevens new features if you found this video informative then do not forget to like this video and subscribe to our channel to reach out to us for any doubts or queries regarding this video and happy learning I hope you have enjoyed listening to this video please be kind enough to like it and you can comment any of your doubts and queries and we will reply them at the earliest do look out for more videos in our playlist and subscribe to any Rekha channel to learn more happy learning
Info
Channel: edureka!
Views: 81,326
Rating: undefined out of 5
Keywords: yt:cc=on, java 11, java 11 features, java 11 paid, java 11 new features, java 11 changes, java 11 improvements, java 11 tutorial, java 11 install, java 11 download, java 11 roadmap, java 11 news, java 11 license, java 11 openjdk, java 11 on windows, java 11 paid version, java 11 shell, java 11 eclipse, java 11 gui, java 11 http client, java 11 bytecode, lamda function in java, java 11 paid trap, java 11 programming for beginners, java training edureka, edureka
Id: 7eSlEUQwvEg
Channel Id: undefined
Length: 14min 31sec (871 seconds)
Published: Mon Oct 29 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.