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

future trends and focus areas of java
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

t

Future Trends and Focus Areas of Java

HUAWEI TECHNOLOGIES CO., LTD. www.huawei.com

slide-2
SLIDE 2

Contents

  • Focus areas
  • Java 8 Features
  • Debug enhancements
slide-3
SLIDE 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

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

  • Simplified development

Page 3

slide-4
SLIDE 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

  • mission of modifiers, return type, and in some cases parameter types as

well.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 4

slide-5
SLIDE 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

  • ptional 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.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 5

slide-6
SLIDE 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

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 6

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.

slide-7
SLIDE 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

  • n small devices.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 7

slide-8
SLIDE 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”.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

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

slide-9
SLIDE 9

JDK - 8 - Security Enhancements

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 9

slide-10
SLIDE 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.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 10

logic.

  • Chronon Systems provides a system which can record and replay java

execution offline. Smarter hot class swapping

slide-11
SLIDE 11

Thank you

www.huawei.com