-
Enterprise Java
How to create a Web Application Project with Java, Maven, Jetty
In this article, we create a simple web application with the Maven Archetype plugin. We’ll run this web application in…
Read More » -
Software Development
Resolve coreference using Stanford CoreNLP
Coreference resolution is the task of finding all expressions that refer to the same entity in a text. Stanford CoreNLP…
Read More » -
Enterprise Java
Hosting a Maven repository on github (with sources and javadoc)
How to make a small open sourced library available to other developers via maven? One way is to deploy it…
Read More » -
Core Java
Mockito 101
Mockito is a mocking framework that lets you write beatiful tests with clean and simple API. It biases toward minimal…
Read More » -
Core Java
Using regex to hanging indent a paragraph in Java
This post shows how to hanging indent a long paragraph using regular expression. The method will consider word boundaries, which…
Read More » -
Core Java
Java.io in nutshell: 22 case studies
This post attempts to cover a comprehensive set of operations in java.io. Compared with other books and blogs related to…
Read More » -
Core Java
Most efficient way to increment a Map value in Java – Only search the key once
This question may be considered too basic, but is frequently asked in the forums. In this post, I will discuss…
Read More » -
Core Java
How to read CSV files in Java – A case study of Iterator and Decorator
In this post, I will talk about how to read CSV (Comma-separated values) files using Apache Common CSV. From this…
Read More »