I am a Java, this is my 2019 summary, please check!

Hello everyone! I am your love Java, 2019 years later, as usual, I want to look at year-end summary, talk about the great things that happened to me a year of. 

 

First of all I am pleased to announce that I continue to occupy the first position in the rankings language  ! For several years, really mad ah.

 

 

You said the other Python is ranking first? Sorry, I just look at Tiobe rankings, standings Do not take anything else bother me, I do not see I do not see. 

 

The second thing, I was released in 2019 in two versions, JDK12 13 and the JDK

 

They increase the variety of exciting new features, I believe you will like, such as enhanced switch expression, such as re-implement the Socket API, multi-line strings, and so on. 

 

int numLetters = switch (day) {
    case MONDAY, FRIDAY, SUNDAY -> 6;
    case TUESDAY                -> 7;
    case THURSDAY, SATURDAY     -> 8;
    case WEDNESDAY              -> 9;
};

 

String html = """
       <html>
         <body>
           <p>Hello, %s</p>
         </body>
       </html>""";

Is not it cool? Both in 2020, and consider upgrading JDK8 you that old-fashioned, ah!  

 

what? These characteristics futile? JDK 12, 13 are short-term support version? Then you can consider long-term support for JDK 11, 2021 or on the other of the JDK 17. 

 

The third thing, the US Supreme Court finally agreed to hear Oracle and Google's lawsuit century in 2020 , my API should or should not receive protection? Are you for Google or Oracle, or support me? 

 

 

This pulled a 10-year legal battle finally have a settled. They both how reconciliation not it? In any case, the majority of Java programmers should not receive much impact, rumbling wheels continue development of the IT industry who can not be stopped. 

 

Fourth, in the Microsoft Linux Love, Love the Java Micorsoft  . Ever wanted to strangle the Microsoft Java actually joined the OpenJDK community! 

 

 

Although unexpected, but also reasonable. Because in recent years, Microsoft's cloud computing transition, embrace open source, cloud servers to run Linux, but also to run Java applications on Linux, as an infrastructure provider, have to have a better understanding and control of Linux and Java can . 

 

微软的云服务Azure 发展势头极好,2019年击败亚马逊,赢得了一份五角大楼价值100亿美元合同,在这种大背景下,将来一定会基于OpenJDK为自己的Azure定制一个JDK, 就像亚马逊的Corretto, Azul Zulu那样,让我们拭目以待。 

 

与此形成鲜明对比的是,蓝色巨人IBM似乎和Java渐行渐远,这个企业级Java的最大玩家,Eclipse IDE的发明者,几乎所有产品线都基于Java技术的公司,要向云和AI做转型了。 

 

第五,Java EE正式宣告死亡,注意我说的是仅仅是名字,因为被Oracle抛弃以后,Java EE投入到Eclipse的怀抱,摇身一变,成为了Jakarta EE。 

 

 

可是让人遗憾的是:“邪恶”的Oracle后爹居然不让Jakarta EE使用javax这样的包名!因为Java是他们的注册商标。但是,为了保持我们Java一直以来的好名声:向后兼容性。 

 

Oracle后爹同意: 

1. 现在的javax相关的包还可以使用,但是不能做任何扩展和修改 

2. 但是,新的功能需要放在新的包(例如jakarta)下面。 

 

不过,对于程序员来讲,影响似乎不大,因为Java EE那一套规范用得越来越少了,大家做个吃瓜群众就好。 

 

第六,JCP二十岁了! 实际上JCP成立于1998年的12月, 2018年12就年满20岁了,整个2019年都有一系列的庆祝活动。 

 

 

我对这个掌管着Java特性开发的组织是又爱又恨,一方面,所有的Java特性必须通过JSR的方式提交到JCP,讨论,投票以后才能成为真正的规范。 

 

另一方面,这个组织基本上被大公司所掌控,来自开源和个人的声音很小,行动迟缓,JSR经过缓慢的流程以后,往往会和市场需求脱节,这和开源软件的开发形成了极为鲜明的对比。 

 

不过现在也算是有所改变,你看我每年都能发两个JDK版本了! 

 

2019年过去了,我一点儿都不怀念它! 

 

祝大家2020一切顺利!

发布了155 篇原创文章 · 获赞 62 · 访问量 23万+

Guess you like

Origin blog.csdn.net/aa120515692/article/details/104265882