Basics of Java Interface Usage

java

In this article we will see how to use Java interfaces correctly with with some examples. Using Java as Interfaces is often not used or wrongly used. This article demonstrates the practical uses of Interfaces in Java. First of all it is important to understand what is an interface? Let us create a “contract” where the […]

Working With dojo/dom-construct – DOM construction API in DOJO

dojo-thumbnail

In my previous article I have explained about searching through dom tree using dojo.query. That is very helpful for searching any node in the tree by passing the ID or CLASS names in method parameters. But, I have not explained about how to manipulate the DOM structure. This article focuses more on manipulating the dom […]

Setup Groovy enVironment Manager (GVM)

groovy

Groovy enVironment Manager (GVM) is a tool used for managing the multiple version of the software development kits in the Unix based systems. In the current version, it supports the groovy related development kits. Groovy software kits can be installed and configured using this tool. There is no setup available for the windows based systems. […]

Search DOM Tree using dojo.query

dojo-thumbnail

When working with DOM, it is always good for the developers to get access to the elements in the DOM tree by using the ID or any other handler. Using ID is the most common way of getting access to the specific element in the DOM structure. We have dom.byId method to get the element […]

WebSocket Support in Java EE 7

java

I am going to divide this post into following topics for ease of understanding to the readers: What is a WebSocket? JavaEE 7 Support for creating WebSocket end points Javascript support to create WebSocket client end point What is a WebSocket? It is a feature being introduced as part of the HTML5 specification. It introduces […]

Working with DOM in Javascript

javascript-thumbnail

In this article we will study about DOM, what are its characteristics and properties and in addition, we will see practical examples of how to use the DOM in JavaScript. The Document Object Model or simply DOM is used by web browser to represent your Web page . When this pattern is altered by the use of Javascript it also […]

Asynchronous Servlet – A new feature in Servlet 3.0 and Java EE 6

java-jee

When Java EE 6 was announced with a new servlet specification i.e Servlet 3.0 – Asynchronous servlet was a very important feature added to the new specification. Suppose your servlet does a long running task like making a JDBC call or invoking a web service, such operations generally take up a lot of CPU time […]

Spring Boot

SpringBoot Logo

This tutorial explains the basic concepts of Spring Boot and how to run a simple application using the Spring Boot framework. Also end of this tutorial, popular tutorials on Spring Boot has been collated and given for the readers reference. Spring is the most popular and innovative community for the Java developers. They have changed […]

Garbage Collection in Java

java

In this article we will cover the proper use of Garbage Collection. Let us learn how it works, and understand how to induce the Garbage Collection. The Garbage Collection is a tool coupled to the JVM, that performs cleanup of objects in memory (Read: static utility for objects) which are of no further use. Our application will constantly suffer […]

Best Practices to Override toString Method in Java?

java

In this article to we will see how to override the toString method and what are the best practices in Java. Java provides a default implementation for the method toString through a class java.lang.Object which is inherited by all Java classes . However, what it returns is not very informative. Your returned value is composed […]