#java

learninjava
Jan 11, 2015 - Java 8

Java 8 - Stream

Java 8 has introduced a new concept called Stream. These are a group of computations specified as a sequence of steps. Although, the name sounds similar to Java IO API classes like InputStream/OutputStream, this has nothing to do with them...


learninjava
Apr 15, 2016 - Java 8

Java 8 Functional Interfaces explained

A functional interface is any interface with only one method in it. Java 8 has introduced a new annotation called @FunctionalInterface. This annotation is used to check for compile time type safety on functional interfaces...


learninjava
March 18, 2015 - Java 8

Java 8 Lambda Expressions explained

Java 8 Lambda Expressions treats functionality as method arguments or code as data. Very difficult definition to understand ? For Me too!! Simply said, lambda expressions simplifies the syntax when we have only one method in an interface which needs ...


learninjava
Feb 23, 2021 - Java

Convert PKCS#12 to JKS and PEM to JKS format

A simple and easy guide to convert PKCS#12(Public Key Cryptography Standards) to JKS(Java Key Store) and PEM(Privacy Enhanced Mail) to JKS(Java Key Store) format....


learninjava
Aug 22, 2020 - Webservices

3 ways to convert SOAPMessage to Java Object with namespace and XML to SOAPMessage

This article provides one stop guide to convert SOAPMessage to Java Object with namespaces, SOAPMessage as XML to SOAPMessage Object using Jaxb2Marshaller, XMLStreamReader, JAXBContext and Document APIs...