Blog Archives
1 2 3 4 5 6 7

Converting POJOs to Pentaho meta objects and then passing to a Kettle transformation

This extends the tutorials on Pentaho DI 1) Part 1: Pentaho with user defined Java transformer tutorial. 2) Part 2: Invoking a Pentaho DI (i.e. Kettle) transformation from Java. 2) Part 3: Passing Pentaho DI (i.e. … Read more ›...



DOS script to execute a spring batch job

DOS scripts are very handy to automate tasks. This example illustrates a DOS script used to bootstrap a Spring batch job.

1) DOS variables are marked as %VARIABLE_NAME%

2) Remarks or comments are prefixed with REM

3) variables are assigned with “

Read more ›



Dozer bean mapping tutorial

Dozer is a framework that maps fields from source bean to target bean.

Practical scenarios to map source bean to target bean?

1) Applications A and B might be having different contracts and objects need to be converted from A to B. For example, Mapping JAXB Objects to Business/Domain Objects.

Read more ›



Dozer with Spring & Maven Tutorial

This tutorial compliments Basic Dozer Tutorial by adding Spring.

Step 1: Create a simple Maven project from a command-line. Just press enter for all the prompts.

Step 2: Import the above “simple-dozer” folder in the file system into eclipse.

Read more ›



Groovy console for beginner and meta programming

This assumes that you have setup groovy as per Setting up Groovy and groovysh beginner for eval exp, dynamic typing, operator overloading & closure.

Step 1: Start the groovyConsole from a command prompt

Step 2: Run the following Groovy Plain Old Object code

Execute it as a Groovy script.

Read more ›



groovysh beginner for eval exp, dynamic typing, operator overloading & closure

This assumes that you have setup groovy as per Setting up Groovy.

#1: Running groovysh

You can now type your expressions on the “groovy:000>” prompt like

Q1. What is the “====> null” after printing “Hello Groovy”?

Read more ›



Handy DOS commands for Java developers

Q. How will you copy files more robustly in DOS? A. Using the Robocopy (stands for Robust File Copy) or Xcopy command line utilities. Check for its options with “robocopy /?“. Q. … Read more ›...



1 2 3 4 5 6 7

Java Interview FAQs

800+ Java Interview Q&As

Top