Register   Login   About   Study   Enterprise   Share
Internet / AI Technology University (ITU/AITU)
Fast Login - available after registration







|

Top Links: >> 80. Technology >> Internet Technology Summit Program >> 1. Java Introduction >> 1.2.1. JDK and Eclipse
Current Topic: 1.2.1.2. New features in Java 8
You have a privilege to create a quiz (QnA) related to this subject and obtain creativity score...
What is New in Java 8

Java Platform, Standard Edition 8 is a major feature release. This document summarizes features and enhancements in Java SE 8 and in JDK 8, Oracle's implementation of Java SE 8. Click the component name for a more detailed description of the enhancements for that component.

Java Programming Language

Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method interfaces (referred to as functional interfaces) more compactly.

Method references provide easy-to-read lambda expressions for methods that already have a name.

Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.

More Annotations

Repeating Annotations provide the ability to apply the same annotation type more than once to the same declaration or type use.

Type Annotations provide the ability to apply an annotation anywhere a type is used, not just on a declaration. Used with a pluggable type system, this feature enables improved type checking of your code.

Improved type inference.

Method parameter reflection.

Collections

Classes in the new java.util.stream package provide a Stream API to support functional-style operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.
Was it clear so far?


Performance Improvement for HashMaps with Key Collisions

Compact Profiles contain predefined subsets of the Java SE platform and enable applications that do not require the entire Platform to be deployed and run on small devices.

Security

Client-side TLS 1.2 enabled by default

New variant of AccessController.doPrivileged that enables code to assert a subset of its privileges, without preventing the full traversal of the stack to check for other permissions

Stronger algorithms for password-based encryption

References:
http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html

Assignments:
1. Read: http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
2. Select at least one feature and describe with code samples in your essay.
3. Email to dean@ituniversity.us as an attachment file, 1.2.1.2.Java8.YourFirstName.LastName.doc
4. Email at at least one QnA to dean@ituniversity.us
Reminder on QnA format:
Question: ...question...
Answer: .. correct answer ...
Answer: .. wrong ..
Answer: .. wrong answer ..
| Check Your Progress | Propose QnA | Have a question or comments for open discussion?
Comments
2016-04-11_09:43 by Tony Santillanes
For the project assignment, I added a SQL statement to truncate the UserProfile table every time the program runs. I thought this would be a good solution so that the data could all be managed in the CSV file and will only insert records into the database from the file each time and not duplicate the records each time. But, is there any easier way to do this? Also, if there are duplicates in the csv file should the duplicates be excluded with constraints on the database as opposed to anything in the java program?

Have a suggestion? - shoot an email
Looking for something special? - Talk to me
Read: IT of the future: AI and Semantic Cloud Architecture | Fixing Education
Do you want to move from theory to practice and become a magician? Learn and work with us at Internet Technology University (ITU) - JavaSchool.com.

Technology that we offer and How this works: English | Spanish | Russian | French

Internet Technology University | JavaSchool.com | Copyrights © Since 1997 | All Rights Reserved
Patents: US10956676, US7032006, US7774751, US7966093, US8051026, US8863234
Including conversational semantic decision support systems (CSDS) and bringing us closer to The message from 2040
Privacy Policy