Always remain updated about current software development trends

Articles by JOE

Java Timer

When there is a need to trigger a task automatically based on time we should schedule it using a timer api. The requirement can vary from a single execution on a fixed time to high complex recurring event. For example take our regular alarm clock where we fix...

Composite Design Pattern

When we want to represent part-whole hierarchy, use tree structure and compose objects. We know tree structure what a tree structure is and some of us don’t know what a part-whole hierarchy is. A system consists of subsystems or components. Components...

System.out.println

It is love at first type. I fell in deep love with it from the first moment I used it. Didn’t you? How many times have we used it till now? It is one of the most number of times compiled statement in the history of java. We fondly call it SOP. If you...

ThreadLocal

Core concept of ThreadLocal is, “every thread that accesses a ThreadLocal variable via its get or set method has its own, independently initialized copy of the variable”. In other words, we want to have separate instances(private copy) of a class...

Proxy Design Pattern

“Provide a surrogate or placeholder for another object to control access to it” is the intent provided by GoF. Proxy means ‘in place of’. In attendance roll call, we give proxy for our friends in college right? ‘Representing’...

Why Are You?

I had to write this article because of few frequent comments/emails I have received. Many of them are positive, helpful, some are disappointing and few are derogatory. Though I have learnt to live with all those, some of the questions are sincere and so I wish...

Java Iterator

To generate successive elements from a series, we can use java iterator. It is an improvement over Enumeration interface. Iterator takes the place of Enumeration since jdk 1.2 It is a nice utility for collections. Every collection is unique on its own and imagine...

Soap Web Service – Introduction

This article is to help us understand what is a soap web service. Through this tutorial, we will learn to create a simple hello world web service and a web service client to consume it, of course all in java. All my beginner friends, go choose your weapon....

Semaphores Using Java

Semaphore is an interesting topic in operating systems and it can be used in a variety of ways to solve challenging problems. In this article I will explain, what is a semaphore how to implement a semaphore in java an example problem and solution implementation...

Eclipse Shortcuts

Editors are an integral part of a programmer’s life. If you have good proficiency in using an editor thats a great advantage. It comes very handy to debug. Traditional notepad and SOPs (System.out.println) are the way we start learning a language but...