Java, Software Development, Spring

Spring Dependency Injection Examples Without Spring Boot

The Spring Framework has come a long way. Nowadays, it is way easier to start a Java project with the Spring Framework using Spring Boot. In the past, we used

Read More...

Software Development

Java Compiler Weird Error in Travis CI due to Implicit Exception type

We were trying to build this Maven project in Travis CI and got a weird compilation error. After modifying the codes to explicitly define the exception types.

Read More...

Software Development

Kotlin – How to create Maven project for Kotlin

This post demonstrates how to create a Maven project for Kotlin as as library jar. Instead of a Java codes, we’ll only have Kotlin codes.

Read More...

Software Development

Maven – Create an executable jar

This post demonstrates how to create an executable in Apache Maven using maven-shade-plugin plugin.

Read More...

Software Development

Build/Install Maven Projects in Separate Directors in Travis CI via GitHub

This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com

Read More...

Software Development

Maven – Build Web Service client from WSDL file

Using wsimport on the command prompt allows you to generate a client jar, .java, and or .class files depending on the options you pass to it. To use it in Maven, you need to following stuff in your pom.xml

Read More...

Software Development

Parse CSV file uploaded as MultipartFile using Apache Commons CSV

From MultiPartFile to Reader object [wp_ad_camp_5] The parse method only accepts a single java.io.Reader object and you may need to convert the MultipartFile object to a Reader object. The MultipartFile

Read More...

Software Development

Point to local dependency in Maven using systemPath

[wp_ad_camp_1] Sometimes you may not have access to a repository and may need to go around it. If your colleagues have local copies of jar files needed to compile a

Read More...

Software Development

Group JUnit Test Cases using @Suite.SuiteClasses

Grouping Unit Tests [wp_ad_camp_5] At times there are certain set of unit tests we want to execute automatically. These tests may be critical or have been simply grouped for some

Read More...

Software Development

Parse CSV file using Apache Commons CSV

Why use CSV files? [wp_ad_camp_5] Sometimes we process data in bulk by reading them from files with specific format like CSV. This article demonstrates how to parse a CSV file

Read More...