-
Reporting in Java using DynamicReports and JasperReports
This example shows how to generate a simple report using DynamicReports and JasperReports. DynamicReports is a Java reporting library that allows you to produce report documents that can be exported into many popular formats. It is based on the well-known JasperReports library.
Date: 2019-08-18 View: 1316
-
Java Whois example
In this tutorial, we will show you how to use Java library – “Apache Commons Net” to get WHOIS data of a domain.
Date: 2019-08-18 View: 1330
-
Spring Batch : A job instance already exists and is complete for parameters={}
Working with Spring Batch 2.2.0.RELEASE, and launches the job with Spring Scheduler.
Date: 2019-08-18 View: 3628
-
Spring Batch metadata tables are not created automatically?
If jobRepository is created with MapJobRepositoryFactoryBean (metadata in memory), the Spring batch jobs are running successfully.
Date: 2019-08-18 View: 2482
-
Spring Batch Example – CSV File To MySQL Database
In this tutorial, we will show you how to configure a Spring Batch job to read data from a CSV file into a database.
Date: 2019-08-18 View: 1401
-
Convert String with commas to Long Java
A short guide to show you how to convert a String with commas to a long type.
Date: 2019-08-18 View: 1357
-
How to convert String to Date Java
In this tutorial, we will show you how to convert a String to java.util.Date. Many Java beginners are stuck in the Date conversion, hope this summary guide will helps you in some ways.
Date: 2019-08-18 View: 2219
-
Spring Batch unit test example
In this tutorial, we will show you how to unit test Spring batch jobs with jUnit and TestNG frameworks. To unit test batch job, declares spring-batch-test.jar, @autowired the JobLauncherTestUtils, launch the job or step, and assert the execution status.
Date: 2019-08-18 View: 1561
-
NoSuchBeanDefinitionException : No qualifying bean of type JobLauncherTestUtils
Following the official Spring batch unit testing guide to create a standard unit test case.
Date: 2019-08-18 View: 2000
-
Spring Batch Example – XML File To MongoDB Database
In this tutorial, we will show you how to configure a Spring Batch job to read data from an XML file (XStream library) into a no SQL database (MongoDB). In additional, create a unit test case to launch and test the batch jobs.
Date: 2019-08-18 View: 1267
-
Spring Batch Example – XML File To CSV File
In this tutorial, we will show you how to configure a Spring Batch job to read XML file (JAXB2 library) into a csv file, and filter out the record before writing with ItemProcessor.
Date: 2019-08-18 View: 1327
-
How to find Java class in Eclipse?
In Eclipse IDE, you can type CTRL + SHIFT + T in Windows or *nix or Command + SHIFT + T in Mac OSX to prompt an Open Type dialog box to find details about a specified Java class.
Date: 2019-08-18 View: 1252
-
jobParameters cannot be found on object of type BeanExpressionContext
Create a simple Spring batch job to write data to a csv file. The csv file name depends on the pass in job’s parameters, interprets by Spring EL .
Date: 2019-08-18 View: 3533
-
How to add copyright to Eclipse automatically
A quick guide to show you how to add @Copyright comment to new and existing Java files in Eclipse IDE.
Date: 2019-08-18 View: 1342
-
How to convert Date in BeanWrapperFieldSetMapper
Read following Spring batch job, it reads data from “domain.csv“, and map it to a domain object.
Date: 2019-08-18 View: 1738