future trends and focus areas of java
play

Future Trends and Focus Areas of Java www.huawei.com HUAWEI - PowerPoint PPT Presentation

t Future Trends and Focus Areas of Java www.huawei.com HUAWEI TECHNOLOGIES CO., LTD. Contents Focus areas Java 8 Features Debug enhancements Focus Areas Exploit multi core capabilities with more parallel execution


  1. t Future Trends and Focus Areas of Java www.huawei.com HUAWEI TECHNOLOGIES CO., LTD.

  2. Contents • Focus areas • Java 8 Features • Debug enhancements

  3. Focus Areas • Exploit multi core capabilities with more parallel execution language constructs. • Modular and orchestration based development. • Virtualization support. • Common platform for native and web development • Simplified development Page 3 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  4. JDK – 8 - Lambda Expressions In conventional Java terms lambdas can be understood as a kind of anonymous method with a more compact syntax that also allows the omission of modifiers, return type, and in some cases parameter types as well. Page 4 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  5. JDK – 8 - Project Jigsaw An exploratory effort to design and implement a module system for the Java SE Platform and to apply that system to the Platform itself and to the JDK. Modules A module is a collection of Java types ( i.e. , classes and interfaces) with a name, an optional version number, and a formal description of its relationships to other modules. In addition to Java types a module can include resource files, configuration files, native libraries, and native commands. A module can be cryptographically signed so that its authenticity can be validated. Page 5 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  6. JDK – 8- Nashorn Project This project intends to enable Java developers to embed JavaScript in Java applications via JSR-223 and to develop free standing JavaScript applications using the jrunscript command line tool . This project is designed to take full advantage of newer technologies in a native JVM, made since the original development of JVM based JavaScript started in 1997 by Netscape [3] and maintained by Mozilla [4]. This project will be an entirely new code base, focused on these newer technologies The goal is to provide a lightweight high performance JavaScript on a native JVM. Page 6 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  7. JDK – 8- Java Compact Profiles Define a few subset Profiles of the Java SE Platform Specification so that applications that do not require the entire Platform can be deployed and run on small devices. Page 7 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  8. JDK – 8 - New Libraries • Parallel Array Sorting � Add additional utility methods to java.util.Arrays that use the JSR 166 Fork/Join parallelism common pool to provide sorting of arrays in parallel. • Bulk Data Operations for Collections � Add functionality to the Java Collections Framework for bulk operations upon data. This is commonly referenced as “filter/map/reduce for Java”. The bulk data operations include both serial (on the calling thread) and parallel (using many threads) versions of the operations. Operations upon data are generally expressed as lambda functions. • Date and Time API � Define a new date, time, and calendar API for the Java SE platform. Page 8 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  9. JDK - 8 - Security Enhancements Page 9 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  10. Debug Trends – Beyond Log Files Record and play execution detail for future debug • Log files to be parsed are huge, making it very tough to locate the issue. • Usually finer grained, debug level logging or even additional logging needs to be added, resulting in even larger log files. • The issue still needs to be reproduced many, many times, sometimes spanning the period of days/weeks before the root cause is found. • All the logging statements end up cluttering the code and hiding actual business logic. logic. - Chronon Systems provides a system which can record and replay java execution offline. Smarter hot class swapping Page 10 HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  11. Thank you www.huawei.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend