Structure of Java Stream Operations Any Java Stream operation has to have three components to make it work: a source one or more intermediate operations terminal operation Source –> Intermediate Operation 1 –> Intermediate Operation 2 –> … –> Terminal Operation Source – the source…

The Concept of a Collection A collection represents a group of objects, known as its elements.   The Collection Interface JDK 9 defines this interface as follows:

  The Concept of a Stream From JDK 9: A sequence of elements supporting sequential and parallel…

Environment Wildfly 10.0.0.Final kie-server-7.4.1 nexus KJAR Process   KJAR project structure pom.xml

Deploy on Nexus mvn deploy (mvn clean deploy) Maven repository settings (settings.xml)

  WildFly Create user (if it’s required): ./add-user.sh -a -u kieserver -p kieserver1 -g admin,kie-server Start server: ./standalone.sh -c…

A workbench is structured with Organization Units, VFS repositories and Projects:   Organizational Unit On the main screen, click the “Administration” link or the menu Authoring/Administration: You will see: Select Organization Unit, and +Add button: and after OK:   Create Repository You must set the…

Environment Fedora 25+ You can use some other SO. Wildfly 10.0.0.Final Install Wildfly 10.0.0.Final Download and unpack Add user (I used martin): ./add-user.sh -a -u martin -p **** -ro admin,developer ./add-user.sh -a -u kieserver -p **** -ro admin,kie-server,rest-all,kiemgmt Install KIE Workbench For details see http://drools.org/download/download.html…

https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html public final class Optional extends Object Optional is a container object used to contain not-null objects. Optional object is used to represent null with absent value. This class has various utility methods to facilitate code to handle values as ‘available’ or ‘not available’ instead…