Blog Archives
1 2 3 4 5 6 49

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.

drools-tut-1

Step 1: Create a …



01: Getting started with AWS – creating accounts & setting up security

Step 1: Create an amazon.com account via Amazon.com.

Step 2: Create an aws.amazon.com account. You need to provide credit/debit card details even if you want to use the free tier for up to 12 months. It is advisable to use a credit/debit card with low limits (E.g. getting a debit …



01: Getting started with Jenkins on Docker tutorial

Jenkins is the most popular CI/CD server. There you create jobs that are triggered by some events (changed in a code repository, manually, etc). Those events invokes the steps like compiling to see if you can generate the executable. Then you run tests (unit tests) to confirm the desired behaviour …



01: Install Kubernetes (i.e. minikube) on Mac

Learn Docker first. Getting started with Docker. Learn the Kubernetes basics at Kubernetes & Docker interview Questions & Answers Pre-requisites: brew is installed: Homebrew

Homebrew Cask



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.



01: Java data types interview Q&A

Q1. How would you go about choosing the right data types for your application? A1. Java is what is known as a strongly typed language. This means Java only accepts specific values within specific variables or parameters. Some languages, such as JavaScript, PHP, and Perl are weakly typed languages. 1…. …



01: JavaScript Vs Java interview Q&As

The client-side JavaScript based MVW (Model View Whatever) frameworks like AngularJS, Backbone, CanJS, Ember, etc have become mainstream and replacing server side Java based frameworks like JSF, Struts, Spring MVC. So, time to get a better handle on JavaScript and market yourself as a full stack …



01: JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall

Step 1: Create a Java Maven project.

Import the “simple-jaxb” folder that has the pom.xml it into eclipse as an …



01: JDBC with MySQL Beginner Tutorial Step by Step

This assumes that MySQL database is setup as per the tutorial Getting started with MySQL database beginner tutorial and ⏯ MySQL database beginner video tutorial.

Step 1: Create a maven based Java project from a command-line.



01: jvisualvm tutorial to sample Java heap memory

Java does not have a sizeof operator like C++ does. Java uses automatic memory management known as the Garbage Collection, hence it is not that important to evaluate size of various objects. But, for the purpose of learning & fixing any potential memory issues, I have used “jvisualvm”, which is …



1 2 3 4 5 6 49

Java developer & architect Q&As

Java developers Q&As

Top