Blog Archives
1 2 3 4

00: ⏯ MySQL database beginner video tutorial

Step by step MySQL video tutorial to get started with MySQL database. Any decent self-taught projects require a database to store & retrieve data.

Related Links

1. Getting started with MySQL database beginner tutorial.

SQL Interview Q&As

1. 14 FAQ SQL Interview Questions &

…

Read more ›



01: 14 Unix must-know interview questions & answers

Q1 How do you remove the Control-M characters from a file?
A1 Control-M is a carriage return on keyboard. The ^M is the keyboard equivalent to \r. In a file originated from DOS/Windows the \r\n is used for an end of line carriage return, whereas in Unix it is \n for a new line.

…

Read more ›



01: Drools tutorial with Maven and Eclipse

Drools is an open source rules engine that allows you to externalize the business rules.

This tutorial assumes that you have gone through “Setting up Java, Maven, and Eclipse.” Once you have gone through the following steps, you should have a project structure as shown below.

…

Read more ›



01: JasperReports with iReport tutorial

JasperReports is a popular reporting framework/tool to produce reports in PDF, XLS, etc.

Step 1: Define a Person.java POJO class as defined below. This is the Java bean data source that is going to provide the data to the report.

Step 2: Download Jaspersoft iReport 5.0.0,

…

Read more ›



01: Websphere MQ Client API Tutorial – Message Sender

Step 1: You need to have the Webspeher MQ client jar “com.ibm.mq.allclient.jar” in your project at “${basedir}/lib”. You can refer to it via Maven as a local file based repository.

Step 2: Use the “Websphere MQ API” to send a “MQMessage”

…

Read more ›



02: Drools tutorial — A non trivial example with step by step instructions

Drools allow you to externalize business rules to a database, excel spreadsheet, etc. In this tutorial let’s look at an OrderItem scenario where  each OrderItem needs to be put through a couple of rules to determine its discounted price. Step 0: Dependency jars an structure Step 1: OrderItem.java. … Read...

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


02: JasperReports generating an Excel file

This is an extension to the JasperReport step by step tutorial (Part-1) to demonstrate how to generate a Excel file from the Main.java. To generate an Excel file, you  need Apache POI as a dependency. Here are the Maven dependency files required.

Now, … Read more ›...

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


02: Websphere MQ Client API Tutorial – Message Receiver

Step 1: You need to have the Webspeher MQ client jar “com.ibm.mq.allclient.jar” in your project at “${basedir}/lib”. You can refer to it via Maven as a local file based repository.

Step 2: Use the “Websphere MQ API” to receive a “MQMessage”

…

Read more ›



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, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ 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, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


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: 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, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


04: Drools with rules in an excel spreadsheet – Data validation

This tutorial uses Drools as a validation engine to validate an input csv file. The rules are maintained externally in an excel spreadsheet. Step 1: Create a new Maven project

“-B” means interactive mode is false. Import it into eclipse or IDE of your choice as a maven project....

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


1 2 3 4

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data