Home » Tag Archives: Java 8 (page 22)

Tag Archives: Java 8

Java 8 will use Transport Level Security (TLS) 1.2 as default

Transport Level Security (TLS) 1.2 will be set by default to the next version of standard Java, that is coming on March 18. The TLS will provide encrypted internet communications, but will not completely solve Java’s security problems, as Java’s encrypted communications no panacea for security problems explains. TLS version 1.2 will be enabled in Java Development Kit (JDK) 8. ...

Read More »

Java 8 Friday Goodies: The New New I/O APIs

At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled about what Java 8 will bring to our ecosystem. We have blogged a couple of times about some nice Java 8 goodies, and now we feel it’s time to start a new blog series, the… Java 8 Friday Every Friday, ...

Read More »

Java 8 Friday Goodies: Lambdas and XML

At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled about what Java 8 will bring to our ecosystem. We have blogged a couple of times about some nice Java 8 goodies, and now we feel it’s time to start a new blog series, the… Java 8 Friday Every Friday, ...

Read More »

Oracle ships Java 8

Oracle has decided to ship upgrade to JDK (Java Development Kit) 8 on March 18, even though the new release may come with a few bugs, as introduced by Full speed ahead: Oracle to ship Java 8 in March, even with bugs. Oracle JDK 8 release manager, Mathias Axelsson has explained that for the initial JDK 8 release, which will ...

Read More »

java.util.Random in Java 8

One of the neat features of java.util.Random class in Java 8 is that it has been retrofitted to now return a random Stream of numbers. For eg, to generate an infinite stream of random doubles between 0(inclusive) and 1(exclusive):               Random random = new Random(); DoubleStream doubleStream = random.doubles(); or to generate an infinite ...

Read More »

Java 8 parameter name at runtime

Java 8 will be introducing an easier way to discover the parameter names of methods and constructors. Prior to Java 8, the way to find the parameter names is by turning the debug symbols on at the compilation stage which adds meta information about the parameter names in the generated class files then to extract the information which is complicated ...

Read More »

Skinning in Java8 (JavaFX8)

There has been some changes in JavaFX8 regarding skinning, the most relevants of which are the new CSS API that allows you to create new CSS properties and pseudo-classes for your controls and the Skin class which has become public. Using CSS you can change a lot of the appearance of a control, but there is only so much you ...

Read More »

A Lesser-Known Java 8 Feature: Generalized Target-Type Inference

Going through the list of Java 8 features, Generalized Target-Type Inference struck me as a particularly interesting, lesser-known gem. It looks as though the Java language designers will ease some of the pain that we’ve been having with generics in the past (Java 5-7). Let’s have a look at their example:               class List<E> ...

Read More »