Mkyong - mkyong.com
General Information:
Latest News:
Jackson : was expecting double-quote to start field name 17 Aug 2013 | 12:37 pm
A simple example to use Jackson to convert a JSON string to a Map. Problem When the program is executed, it hits following error message Solution In JSON specification, it requires the use of doub...
Windows 8 keeps dropping wifi connection 15 Aug 2013 | 09:32 pm
A desktop computer, Windows 8 is installed, connect to a nearby router via a wireless USB adapter. D-Link DWA-132 – Wireless N USB Adapter D-Link Wireless N300 Router DIR-615 Fiber optic internet ...
Can’t create file in the C drive root directory – Windows 8 10 Aug 2013 | 08:17 pm
Developing a simple Java program to write a file in the C drive root directory (where Windows is installed), but the program prompts an “access is denied” error. Try to create an empty file in the C d...
Spring Batch Tutorial 31 Jul 2013 | 09:14 am
Photo credit: Spring Source Spring Batch, is an open source framework for batch processing – execution of a series of jobs. Spring Batch provides read/write resources classes, transaction management,...
Spring Batch + Quartz Scheduler example 31 Jul 2013 | 07:38 am
In this tutorial, we will show you how to use the Quartz scheduler framework to schedule a Spring batch job to run every 10 seconds. Tools and libraries used Maven 3 Eclipse 4.2 JDK 1.6 Spring Co...
Spring Batch Hello World Example 31 Jul 2013 | 05:45 am
Spring Batch is a framework for batch processing – execution of a series of jobs automatically. In Spring Batch, A job consists of many steps and each step consists of a “READ-PROCESS-WRITE” task or s...
Spring Batch + Spring TaskScheduler example 30 Jul 2013 | 08:50 am
In this tutorial, we will show you how to use Spring TaskScheduler to schedule a batch job to run every 5 seconds. Tools and libraries used Maven 3 Eclipse 4.2 JDK 1.6 Spring Core 3.2.2.RELEASE ...
Spring Batch Partitioning example 29 Jul 2013 | 07:05 am
Photo Credit : Spring Source In Spring Batch, “Partitioning” is “multiple threads to process a range of data each”. For example, assume you have 100 records in a table, which has “primary id” assigne...
Spring Batch Example – MySql Database To XML 28 Jul 2013 | 12:37 pm
In this tutorial, we will show you how to read data from a MySQL database, with JdbcCursorItemReader and JdbcPagingItemReader, and write it into an XML file. Tools and libraries used Maven 3 Eclips...
Spring Batch listeners example 27 Jul 2013 | 12:20 am
In Spring batch, there are six “listeners” to intercept the step execution, I believe the class name should be self-explanatory. StepExecutionListener ItemReadListener ItemProcessListener ItemWrit...