Core Java
-
Java Exception Handling Tutorial with Examples and Best Practices
Exception is an error event that can happen during the execution of a program and disrupts its normal flow. Java…
Read More » -
Java Generics Tutorial – Example Class, Interface, Methods, Wildcards and much more
Generics is one of the core feature of Java programming and it was introduced in Java 5. If you have…
Read More » -
How to create Thread Pools using Java 5 Executor Framework
Java 5 introduced Thread pool in Java in form of Executor framework, which allows Java programmer to decouple submission of…
Read More » -
EclipseLink MOXy and the Java API for JSON Processing – Object Model APIs
The Java API for JSON Processing (JSR-353) is the Java standard for producing and consuming JSON which was introduced as…
Read More » -
Java FutureTask Example Program
Sometime back I wrote a post about Java Callable Future interfaces that we can use to get the concurrent processing…
Read More » -
Java Priority Queue (PriorityQueue) Example
We know that Queue follows First-In-First-Out model but sometimes we need to process the objects in the queue based on…
Read More » -
DSL based approach to input Graph data in graph theory based java programs
Most of us have coded some programs which deal with graph theory algorithms like finding the shortest path between two…
Read More » -
ArrayList Using Memory Mapped File
Introduction In-Memory computing is picking up due to affordable hardware, most of the data is kept in RAM to meet…
Read More » -
5 Coding Hacks to Reduce GC Overhead
In this post we’ll look at five ways in which we can use efficient coding to help our garbage collector…
Read More »