Blog Archives
1 … 4 5 6 7 8 9 10 11 12 … 30

03: Drools with Decision tables (Excel spreadsheet) tutorial

This is an extension to Drools tutorial with Maven. This externalize the rules criteria to an Excel spreadsheet license.xls. This means the age condition is supplied in the xls file under src/main/resources/drools/license.xls. Step 1: Maven pom.xml file dependencies. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: Getting started with Jenkins build triggers on Docker tutorial

This extends the 02: Getting started with Jenkins Multibranch pipeline on Docker tutorial. The focus on this tutorial is the build triggers where the Jenkins pipelines can be executed based on different triggers as opposed to just clicking on the “Build Now” … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: JasperReports pass parameters

The part 1 was a comprehensive beginner style Jasper Reports tutorial. This extends that to demonstrate how to pass parameters via a Map using name/value pairs to the Jasper Reports. Step 1: Add a new custom parameter named “footerText” … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: Java gRPC with flatbuffers on Docker & Maven tutorial step by step

This extends Java gRPC with flatbuffers & Maven tutorial step by step.

The only difference in this tutorial is to use flatc via a Docker image that has flatbuffers.

This tutorial uses the image neomantra/flatbuffers from Docker hub.

…

Read more ›



03: JAXB with StAX Tutorial step by step for marshalling

This tutorial extends JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall When to use JAXB with StAX? When you want to process large XML files, reading the whole file into memory can cause “OutOfMemoryError” as discussed in Java String & … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: JDBC with MySQL and PreparedStatements Tutorial

Step 1: Add an additional method to save data.

Step 2: Implementation making use of a “PreparedStatement”.

Step 3: Finally, the JdbcExample.

…

Read more ›



03: JMS API & File based JNDI Tutorial with Websphere MQ Client – Message Sender

Step 1: You need to have the Webspeher MQ client jar “com.ibm.mq.allclient.jar” in your project at “${basedir}/lib” and the JMS or JEE jar from a maven repository.

Step 2: Use the “JMS API” to send a message to a queue using a file based JNDI.

…

Read more ›



03: Kubernetes (i.e. Minikube) – deploy a spring boot microservice app

This extends Kubernetes (i.e. Minikube) – deploy a node js service.

Docker containers & Kubernetes for deploying Spring Boot microservices. As mentioned earlier in Kubernetes, Docker & Microservices interview Questions & Answers.

Docker gives you application isolation, and solves the dependency hell issues.

…

Read more ›



03: Learn Spark & Parquet Write & Read in Java by example

These Hadoop tutorials assume that you have installed Cloudera QuickStart, which has the Hadoop eco system like HDFS, Spark, Hive, HBase, YARN, etc. AVRO (i.e row oriented) and Parquet (i.e. column oriented) file formats are HDFS (i.e. Hadoop Distributed File System) friendly binary data formats as they store data compressed...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: Pointers – What is wrong with this Golang code?

Go has pointers. A pointer holds the memory address of a value.

Q01. What will be the output of the below Golang code?

A01. The above code outputs:

Q02.

…

Read more ›



03: Shell script interview Q&As for Java developers

Q1 How will you go about reading a CSV file as shown below?

A1

Q2 How will you read and then write to another file?

A2

Q3 How will you read the file and then write to another file with CSV data in different order? …...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: Spark on Zeppelin – DataFrame Operations in Scala

Pre-requisite: Docker is installed on your machine for Mac OS X (E.g. $ brew cask install docker) or Windows 10. Docker interview Q&As.

This tutorial extends Apache Zeppelin on Docker Tutorial – Docker pull from Docker hub and Spark stand-alone to read a file from local file system

1.…

Read more ›



03: Spark tutorial – reading a Sequence File from HDFS

This extends Spark submit – reading a file from HDFS. A SequenceFile is a flat file consisting of binary key/value pairs. It is extensively used in MapReduce as input/output formats. Like CSV, Sequence files do not store meta data, hence only schema evolution is appending new fields to the end...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 4 5 6 7 8 9 10 11 12 … 30

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data